[Bug 63344] Re: update-manager cannot start

2006-10-03 Thread Sebastian Heinlein
** Changed in: update-manager (Ubuntu)
Sourcepackagename: update-manager = language-pack-pl

** Summary changed:

- update-manager cannot start
+ [update-manager] wrong translation crashes application

** Summary changed:

- [update-manager] wrong translation crashes application
+ [python2.4] wrong translation crashes application

** Description changed:

+ The translation of the string %prog [options] is incorrect.
+ 
  Binary package hint: update-manager
  
  after recent update of edgy, the update-manager is unable to start, in 
console after sudo update-manager there is such output:
  Traceback (most recent call last):
File /usr/bin/update-manager, line 50, in ?
  parser = OptionParser()
File /usr/lib/python2.4/optparse.py, line , in __init__
  self.set_usage(usage)
File /usr/lib/python2.4/optparse.py, line 1169, in set_usage
  self.usage = _(%prog [options])
File /usr/lib/python2.4/gettext.py, line 568, in gettext
  return dgettext(_current_domain, message)
File /usr/lib/python2.4/gettext.py, line 532, in dgettext
  codeset=_localecodesets.get(domain))
File /usr/lib/python2.4/gettext.py, line 480, in translation
  t = _translations.setdefault(key, class_(open(mofile, 'rb')))
File /usr/lib/python2.4/gettext.py, line 177, in __init__
  self._parse(fp)
File /usr/lib/python2.4/gettext.py, line 302, in _parse
  self.plural = c2py(plural)
File /usr/lib/python2.4/gettext.py, line 86, in c2py
  raise ValueError, \
  ValueError: plural forms expression error, maybe unbalanced parenthesis

** Summary changed:

- [python2.4] wrong translation crashes application
+ [update-manager] wrong translation crashes application

** Description changed:

- The translation of the string %prog [options] is incorrect.
+ It seems that the translation of one of the command line switches
+ results in an application crash.
  
  Binary package hint: update-manager
  
  after recent update of edgy, the update-manager is unable to start, in 
console after sudo update-manager there is such output:
  Traceback (most recent call last):
File /usr/bin/update-manager, line 50, in ?
  parser = OptionParser()
File /usr/lib/python2.4/optparse.py, line , in __init__
  self.set_usage(usage)
File /usr/lib/python2.4/optparse.py, line 1169, in set_usage
  self.usage = _(%prog [options])
File /usr/lib/python2.4/gettext.py, line 568, in gettext
  return dgettext(_current_domain, message)
File /usr/lib/python2.4/gettext.py, line 532, in dgettext
  codeset=_localecodesets.get(domain))
File /usr/lib/python2.4/gettext.py, line 480, in translation
  t = _translations.setdefault(key, class_(open(mofile, 'rb')))
File /usr/lib/python2.4/gettext.py, line 177, in __init__
  self._parse(fp)
File /usr/lib/python2.4/gettext.py, line 302, in _parse
  self.plural = c2py(plural)
File /usr/lib/python2.4/gettext.py, line 86, in c2py
  raise ValueError, \
  ValueError: plural forms expression error, maybe unbalanced parenthesis

** Description changed:

- It seems that the translation of one of the command line switches
- results in an application crash.
+ It seems that the translation of a plural form is wrong.
+ 
+ Used plural forms in update-manager:
+ 
+ msgid_plural %d packages are going to be removed.
+ msgid_plural %d new packages are going to be installed.
+ msgid_plural %d packages are going to be upgraded.
+ msgid_plural You can install %s updates
  
  Binary package hint: update-manager
  
  after recent update of edgy, the update-manager is unable to start, in 
console after sudo update-manager there is such output:
  Traceback (most recent call last):
File /usr/bin/update-manager, line 50, in ?
  parser = OptionParser()
File /usr/lib/python2.4/optparse.py, line , in __init__
  self.set_usage(usage)
File /usr/lib/python2.4/optparse.py, line 1169, in set_usage
  self.usage = _(%prog [options])
File /usr/lib/python2.4/gettext.py, line 568, in gettext
  return dgettext(_current_domain, message)
File /usr/lib/python2.4/gettext.py, line 532, in dgettext
  codeset=_localecodesets.get(domain))
File /usr/lib/python2.4/gettext.py, line 480, in translation
  t = _translations.setdefault(key, class_(open(mofile, 'rb')))
File /usr/lib/python2.4/gettext.py, line 177, in __init__
  self._parse(fp)
File /usr/lib/python2.4/gettext.py, line 302, in _parse
  self.plural = c2py(plural)
File /usr/lib/python2.4/gettext.py, line 86, in c2py
  raise ValueError, \
  ValueError: plural forms expression error, maybe unbalanced parenthesis

-- 
[update-manager] wrong translation crashes application
https://launchpad.net/bugs/63344

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63344] Re: update-manager cannot start

2006-10-02 Thread Paweł T . Jochym
This (unset LANGUAGE ; export LC_ALL=C) did the trick.
I guess that you are right - this must be connected to the polish translation 
package. Should we refile the bug against some other package? which?

-- 
update-manager cannot start
https://launchpad.net/bugs/63344

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63344] Re: update-manager cannot start

2006-10-01 Thread Sebastian Heinlein
Which language do you use? Please run export LANG=C in the terminal
before you start update-manager.

-- 
update-manager cannot start
https://launchpad.net/bugs/63344

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63344] Re: update-manager cannot start

2006-10-01 Thread malQi
i use polish language. maybe stupid question, but should i change
command export LANG=C in some way, because it's not helping.

-- 
update-manager cannot start
https://launchpad.net/bugs/63344

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 63344] Re: update-manager cannot start

2006-10-01 Thread Paweł T . Jochym
I can confirm this bug. It stopped to work after update from the edgy
beta CD install to the current state. The repositories dialog shows the
same error. The LANG trick does not help. I am also using polish
version.

-- 
update-manager cannot start
https://launchpad.net/bugs/63344

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs