Janitor crash when scan finish ends on apt cache

Bug #1016087 reported by Angel Guzman Maeso
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Confirmed
Low
Ding Zhou

Bug Description

0.7.3 on Quantal.

This is the traceback:

[utils.icon][WARNING] get_from_list for application-x-generic failed, try next (icon.py:56)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 194, in get_cruft
    self.get_cruft_by_glob()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 230, in get_cruft_by_glob
    self.emit('scan_finished', True, len(cruft_list), size)
TypeError: could not convert type long to (null) required for parameter 2

The line "[utils.icon][WARNING] get_from_list for application-x-generic failed, try next (icon.py:56)" is showed 4000 times, one per package to clean. And it is very slow (3-4 min) to find all packages.

Revision history for this message
Ding Zhou (tualatrix) wrote :

4000 times?

So that's about 4000 packages to clean, right? Have you already cleaned all the packages?

Changed in ubuntu-tweak:
status: New → Confirmed
milestone: none → 0.7.3
assignee: nobody → Ding Zhou (tualatrix)
importance: Undecided → Low
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Exactly 4344 (one line per package). I have a lot packages to clean (quantal upgrade and precise), I never cleaned the packages.

Updating to 0.7.3-0~bzr1866+20120624~quantal1 still doesn't solve the problem.

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: 0.7.3 → 0.7.4
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: 0.7.4 → 0.8.4
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: 0.8.4 → 0.8.5
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: 0.8.5 → 0.8.6
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: 0.8.6 → 0.8.7
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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