Ubuntu Tweak crash on start with KeyError

Bug #505544 reported by Gerardo Vaquerizo
280
This bug affects 44 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Critical
Ding Zhou

Bug Description

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/ubuntutweak/mainwindow.py", line 389, in setup_notebook
    module = MLOADER.get_module(id)
  File "/usr/lib/pymodules/python2.6/ubuntutweak/modules/__init__.py", line 61, in get_module
    return self.id_table[id]
KeyError: 5

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → TualatriX (tualatrix)
milestone: none → 0.5.1
summary: - Ubuntu Tweak crash on start with new 0.5.0 Karmic version
+ Ubuntu Tweak crash on start with KeyError
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Revision history for this message
olorinj (olorinj) wrote :

Just crashed at opening

Taaaioo (taaaioo)
Changed in ubuntu-tweak:
status: Fix Committed → New
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Fix Committed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
Revision history for this message
niedzw (niedzw) wrote :

raceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/ubuntutweak/mainwindow.py", line 393, in setup_notebook
    page = module()
  File "/usr/lib/pymodules/python2.6/ubuntutweak/modules/powermanager.py", line 50, in __init__
    min=0, max=100, digits=0),
  File "/usr/lib/pymodules/python2.6/ubuntutweak/common/factory.py", line 49, in create
    return getattr(cls, 'do_composite_create')(widget, **kwargs)
  File "/usr/lib/pymodules/python2.6/ubuntutweak/common/factory.py", line 60, in do_composite_create
    new_widget = globals().get(widget)(**kwargs)
  File "/usr/lib/pymodules/python2.6/ubuntutweak/widgets/widgets.py", line 143, in __init__
    self.set_value(self.__setting.get_value())
  File "/usr/lib/pymodules/python2.6/ubuntutweak/conf/gconfsetting.py", line 88, in get_value
    return self.__type(None)
TypeError: int() argument must be a string or a number, not 'NoneType'

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.