autostart module is crashing

Bug #449964 reported by philipp beitz on 2009-10-12
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Medium
Ding Zhou

Bug Description

Traceback (most recent call last):
  File "/usr/share/ubuntu-tweak/mainwindow.py", line 567, in setup_notebook
    page = page()
  File "/usr/share/ubuntu-tweak/autostart.py", line 353, in __init__
    self.treeview = AutoStartItem()
  File "/usr/share/ubuntu-tweak/autostart.py", line 127, in __init__
    self.__create_model()
  File "/usr/share/ubuntu-tweak/autostart.py", line 246, in __create_model
    name = desktopentry.getName()
  File "/usr/lib/pymodules/python2.6/xdg/DesktopEntry.py", line 46, in getName
    return self.get('Name', locale=True)
  File "/usr/lib/pymodules/python2.6/xdg/IniFile.py", line 95, in get
    value = gettext.dgettext(self.gettext_domain, self.content[group][key])
  File "/usr/lib/python2.6/gettext.py", line 545, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.6/gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.6/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.6/gettext.py", line 314, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range

Ding Zhou (tualatrix) wrote :

Are you GNOME Desktop?

philipp beitz (philippbeitz) wrote :

sure. gnome 2.28 karmic

Ding Zhou (tualatrix) wrote :

Can you try the attachment then tell me the result?

download the file as "autostart.py", then copy to "/usr/share/ubuntu-tweak/autostart.py"

sudo cp autostart.py /usr/share/ubuntu-tweak/autostart.py

Thanks.

philipp beitz (philippbeitz) wrote :

Works like a charm :) thx !

Ubuntu-tweak 0.4.9.2 may come :)

Ding Zhou (tualatrix) on 2009-10-15
Changed in ubuntu-tweak:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → TualatriX (tualatrix)
milestone: none → 0.5.0
Ding Zhou (tualatrix) on 2010-01-10
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments