nicotine crashed with IndexError in _parse()

Bug #180363 reported by Nyirfalvi Gyula
8
Affects Status Importance Assigned to Milestone
nicotine (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: nicotine

Traceback (most recent call last):
  File "/usr/bin/nicotine", line 152, in <module>
    result = checkenv()
  File "/usr/bin/nicotine", line 90, in checkenv
    """)
  File "/usr/lib/python2.5/gettext.py", line 581, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 545, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.5/gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.5/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.5/gettext.py", line 314, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range

ProblemType: Crash
Architecture: i386
Date: Fri Jan 4 15:58:12 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nicotine
InterpreterPath: /usr/bin/python2.5
Package: nicotine 1.2.8+dfsg-1ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/nicotine
ProcCwd: /home/kdedog
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=hu_HU.UTF-8
PythonArgs: ['/usr/bin/nicotine']
SourcePackage: nicotine
Title: nicotine crashed with IndexError in _parse()
Uname: Linux tosh 2.6.24-2-generic #1 SMP Thu Dec 20 17:36:12 GMT 2007 i686 GNU/Linux
UserGroups: admin audio cdrom dialout dip fax floppy fuse plugdev scanner tape

Tags: apport-crash
Revision history for this message
Nyirfalvi Gyula (problemdog) wrote :
Revision history for this message
Emmet Hikory (persia) wrote :

This bug appears to be the result of gettext parsing issues with the message:
#~ "Nincs Python-Vorbis telepítve. \n"
#~ "Mások nem fogják látni azoknak az Ogg Vorbis file-oknak a hosszát és "
#~ "bitrátáját,\n"
#~ " amiket megosztasz. Erről az oldalról letöltheted:\n"
#~ "http://www.andrewchatham.com/pyogg/ \n"
#~ "Ha Debiant használsz, telepítsd a python-pyvorbis csomagot.\n"

    The test case for replication is to execute nicotine in a hu_HU.UTF-8 locale on a system without the python-pyvorbis package installed.

James Westby (james-w)
Changed in nicotine:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Nyirfalvi Gyula (problemdog) wrote :

I don't know if it's any of information, but please note that nicotine 1.2.9 does not crash anymore (for me) on ubuntu 8.04 final (updated as of Jun. 27) with hu_HU.UTF-8 locale and python-pyvorbis _still_ not installed (now the warning that "Python-Vorbis is not installed..." appears in english when nicotine started in a terminal)

Revision history for this message
Emmet Hikory (persia) wrote :

Thank you for the retest. Based on that, I'm marking this bug Fix Released with 1.2.9. That there is now a translation miss is a separate issue, and best tracked as a translation concern, rather than a crash bug, If the translation is fixed, and the crash again occurs, it would be useful to open a new bug, with an updated apport trace.

Changed in nicotine:
importance: Medium → Low
status: Triaged → 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.