[Bug 1311396] Re: broken translations results in traceback in new release notification
Jean-Baptiste Lallement
jean-baptiste.lallement at ubuntu.com
Tue Jul 1 08:58:29 UTC 2014
I tried update-manager 1:0.156.14.14 from precise-proposed and
verification failed with Indonesian
# apt-cache policy update-manager
update-manager:
Terpasang: 1:0.156.14.14
Kandidat: 1:0.156.14.14
Tabel versi:
*** 1:0.156.14.14 0
500 http://fr.archive.ubuntu.com/ubuntu/ precise-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1:0.156.14.13 0
500 http://fr.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
1:0.156.14.5 0
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
1:0.156.14 0
500 http://fr.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
root at ubuntu:~# /usr/lib/update-manager/check-new-release-gtk -d
Traceback (most recent call last):
File "/usr/lib/update-manager/check-new-release-gtk", line 90, in new_dist_available
self.window_main.set_title(_("Ubuntu %(version)s Upgrade Available") % {'version': new_dist.version})
ValueError: unsupported format character 'T' (0x54) at index 33
** Tags added: verification-failed-precise
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1311396
Title:
broken translations results in traceback in new release notification
Status in “ubuntu-release-upgrader” package in Ubuntu:
Fix Released
Status in “update-manager” package in Ubuntu:
Invalid
Status in “ubuntu-release-upgrader” source package in Precise:
Invalid
Status in “update-manager” source package in Precise:
Fix Committed
Status in “ubuntu-release-upgrader” source package in Saucy:
Fix Committed
Status in “update-manager” source package in Saucy:
Invalid
Status in “ubuntu-release-upgrader” source package in Trusty:
Fix Committed
Status in “update-manager” source package in Trusty:
Confirmed
Bug description:
[Test Case]
1) Install one of the affected languages
2) Make it the primary language
3) In a terminal run '/usr/lib/ubuntu-release-upgrader/check-new-release-gtk' for saucy
In a terminal run '/usr/lib/update-manager/check-new-release-gtk -d' for precise
4) Observe a Traceback ending in a "ValueError: incomplete format" in precise the traceback says "ValueError: unsupported format character"
With the package from -proposed you should not see a Traceback, but
rather a notification window about the new release of Ubuntu.
The error bucket at
https://errors.ubuntu.com/problem/50c8f7b892dd75b531ac7d68a07ec11541387013
contains the following traceback.
Traceback (most recent call last):
File "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk", line 113, in new_dist_available
self.window_main.set_title(_("Ubuntu %(version)s Upgrade Available") % {'version': new_dist.version})
ValueError: incomplete format
This is due to a bad translation for the Croatian (hr) language.
https://translations.launchpad.net/ubuntu/saucy/+source/ubuntu-
release-upgrader/+pots/ubuntu-release-
upgrader/hr/+translate?batch=10&show=all&search=Upgrade+Available
"Dostupna nadogradnja Ubuntu %(version)"
Notice the missing s after version. This is causing check-new-release-
gtk to fail to notify users of a new release.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1311396/+subscriptions
More information about the foundations-bugs
mailing list