[0.6] AttributeError: 'CleanCacheDailog' object has no attribute 'set_has_separator'

Bug #867872 reported by Carl Ansell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Critical
Ding Zhou

Bug Description

When clicking on the clean button in the janitor, apport reports a crash and the clean fails. The bug report can't be uploaded as it isn't a genuine ubuntu package, but I managed to get this using the debug option in the terminal:

(ubuntu-tweak:1951): Gtk-WARNING **: Attempting to add a widget with type aptcache_plugin+CleanCacheDailog to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkVBox
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 519, in on_clean_button_clicked
    self.do_real_clean_task()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 528, in do_real_clean_task
    plugin.clean_cruft(self.get_toplevel(), cruft_list)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/aptcache_plugin.py", line 82, in clean_cruft
    dialog = CleanCacheDailog(parent, cruft)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/aptcache_plugin.py", line 29, in __init__
    super(CleanCacheDailog, self).__init__(parent=parent)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/gui/dialogs.py", line 135, in __init__
    self.set_has_separator(False)
AttributeError: 'CleanCacheDailog' object has no attribute 'set_has_separator'

This is the last message before the crash occurred.

Ubuntu Oneiric Beta, ubuntu-tweak 0.6.0+20111004, Linux 3.0.0-11-generic

summary: - [0.6] Janitor crashes when the clean option is selected.
+ [0.6] AttributeError: 'CleanCacheDailog' object has no attribute
+ 'set_has_separator'
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Confirmed
milestone: none → 0.6.0
assignee: nobody → Ding Zhou (tualatrix)
importance: Undecided → Critical
status: Confirmed → Fix Committed
Revision history for this message
Carl Ansell (afccarl1994) wrote :

I'm no longer seeing this crash, and there are no duplicates. I'll mark this as fix released, feel free to reopen if the bug is still occurring.

Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
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.