autostart module is crashing

Bug #449964 reported by philipp beitz
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
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

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

Are you GNOME Desktop?

Revision history for this message
philipp beitz (philippbeitz) wrote :

sure. gnome 2.28 karmic

Revision history for this message
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.

Revision history for this message
philipp beitz (philippbeitz) wrote :

Works like a charm :) thx !

Ubuntu-tweak 0.4.9.2 may come :)

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → TualatriX (tualatrix)
milestone: none → 0.5.0
Ding Zhou (tualatrix)
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.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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