computer-janitor crashed with ImportError in /usr/share/computerjanitor/computerjanitord/errors.py: No module named computerjanitor

Bug #1035869 reported by vijayakrishna Rowthu
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

computer-janitor crashed with ImportError in /usr/share/computerjanitor/computerjanitord/errors.py: No module named computerjanitor

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: computer-janitor 2.1.0-0ubuntu8
ProcVersionSignature: Ubuntu 3.5.0-9.9-generic 3.5.0
Uname: Linux 3.5.0-9-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
CrashCounter: 1
Date: Sun Aug 12 18:42:42 2012
ExecutablePath: /usr/share/computerjanitor/computer-janitor
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/computer-janitor
PythonArgs: ['/usr/sbin/computer-janitor']
SourcePackage: computer-janitor
Title: computer-janitor crashed with ImportError in /usr/share/computerjanitor/computerjanitord/errors.py: No module named computerjanitor
UpgradeStatus: Upgraded to quantal on 2012-08-11 (1 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
vijayakrishna Rowthu (2rowthu) wrote :
tags: removed: need-duplicate-check
Changed in computer-janitor (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Barry Warsaw (barry) wrote :

Looks like this was caused by the update-manager refactoring. I'll try to look into this asap.

security vulnerability: yes → no
visibility: private → public
Changed in computer-janitor (Ubuntu):
status: New → Confirmed
importance: Medium → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-12.10-beta-1
Changed in computer-janitor (Ubuntu):
milestone: ubuntu-12.10-beta-1 → ubuntu-12.10-beta-2
status: Confirmed → Triaged
Revision history for this message
Barry Warsaw (barry) wrote :

Computer Janitor is all kinds of messed up (even more than usual ;).

Update Manager got ported to Python 3, which is a good thing, except that it has an incestuous relationship with CJ, and CJ has not been ported. My first thought was that it should be a fairly simple fix to s/computerjanitor/janitor.plugincore/ except that now with UM being Python 3, janitor.plugincore only exists in Python 3, so CJ can't even find that unless it is also ported to Python 3.

Porting CJ to Python 3 is a good idea, but an unknown amount of work atm, and we'll definitely need an FFe for Quantal. The other option is to provide a b/c package to export janitor.plugincore to Python 2 in the UM package and then not port CJ to Python 3. I don't like that as much because if CJ has a continued life (and we've discussed killing it off before), then providing a Python 2 janitor.plugincore package seems like going backward.

I suppose I should take some time and see how hard it is to port CJ to Python 3 in time for Quantal.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Where we not meant to remove computer janitor app a few cycles back, since it's buggy and potentially dangerous? And mostly replaced by the work of e.g. automatically removing old kernels.

I'd rather drop computer janitor UI and leave the python3 module only for update manager.

Revision history for this message
Barry Warsaw (barry) wrote :

I completely agree. We should kill CJ and remove it from the archive. Is that too late for Quantal?

Revision history for this message
Barry Warsaw (barry) wrote :

From IRC:

* xnox ponders if you can make computer-janitor to remove itself as obsolete
  software.... [17:30]

+1!

Barry Warsaw (barry)
Changed in computer-janitor (Ubuntu):
status: Triaged → Won't Fix
assignee: Barry Warsaw (barry) → nobody
milestone: ubuntu-12.10-beta-2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.