[apport] update-manager crashed with ValueError in c2py()

Bug #97046 reported by Bogdan BOTEZ
2
Affects Status Importance Assigned to Milestone
language-pack-ro (Ubuntu)
New
Medium
Ubuntu Romanian Quality Assurance

Bug Description

Binary package hint: update-manager

N/A

ProblemType: Crash
Architecture: i386
Date: Tue Mar 27 19:49:33 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/update-manager
InterpreterPath: /usr/bin/python2.5
Package: update-manager 1:0.59.10
PackageArchitecture: all
ProcCmdline: /usr/bin/python2.5 /usr/bin/update-manager
ProcCwd: /home/bogdanb
ProcEnviron:
 LANGUAGE=ro_RO:ro:en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=ro_RO.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Uname: Linux piciu 2.6.20-13-386 #2 Sun Mar 25 00:18:53 UTC 2007 i686 GNU/Linux

Revision history for this message
Bogdan BOTEZ (bmbogdan) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

The crash happens in gettext, it looks like there is something wrong with the translation:

    self.usage = _("%prog [options]")
  File "gettext.py", line 581, in gettext
    return dgettext(_current_domain, message)
  File "gettext.py", line 545, in dgettext
    codeset=_localecodesets.get(domain))
  File "gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "gettext.py", line 180, in __init__
    self._parse(fp)
  File "gettext.py", line 315, in _parse
    self.plural = c2py(plural)
  File "gettext.py", line 90, in c2py
    'plural forms expression error, maybe unbalanced parenthesis'
ValueError: plural forms expression error, maybe unbalanced parenthesis

Changed in language-pack-ro:
importance: Undecided → Medium
Revision history for this message
Michael Vogt (mvo) wrote :

Could someone from the Ubuntu Romanian Translators team please have a look at this problem?

Changed in language-pack-ro:
assignee: nobody → ubuntu-l10n-ro
Revision history for this message
Jani Monoses (jani) wrote :

in update-manager.po lines 18 and 19 need to be joined so the plural templates string does not contain a '\n' in the middle

described at the bottom of this post on the romanian forums

http://forum.ubuntu.ro/viewtopic.php?id=1329

Revision history for this message
Claudiu Cristea (claudiu.cristea) wrote : RE: [Bug 97046] Re: [apport] update-manager crashed with ValueError inc2py()

unsubscribe

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.