broken translations results in traceback in new release notification
| Affects | Status | Importance | Assigned to | Milestone | ||
|---|---|---|---|---|---|---|
| Ubuntu Translations |
High
|
Ubuntu Croatian Translators | ||||
| language-pack-eo (Ubuntu) |
High
|
Unassigned | ||||
| Precise |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| language-pack-hr (Ubuntu) |
High
|
Unassigned | ||||
| Precise |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| language-pack-id (Ubuntu) |
High
|
Unassigned | ||||
| Precise |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| language-pack-ja (Ubuntu) |
High
|
Unassigned | ||||
| Precise |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| language-pack-ja-base (Ubuntu) |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| language-pack-ug (Ubuntu) |
High
|
Unassigned | ||||
| Precise |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| ubuntu-release-upgrader (Ubuntu) |
High
|
Unassigned | ||||
| Trusty |
High
|
Unassigned | ||||
| update-manager (Ubuntu) | ||||||
| Precise |
High
|
Brian Murray | ||||
Bug Description
[Test Case]
1) Install one of the affected languages
2) Make it the primary language
3) In a terminal run '/usr/lib/
In a terminal run '/usr/lib/
4) Observe a Traceback ending in a "ValueError: incomplete format" in precise the traceback says "ValueError: unsupported format character"
With the language pack from -proposed you should not see a Traceback, but rather a notification window about the new release of Ubuntu.
The error bucket at https:/
Traceback (most recent call last):
File "/usr/lib/
self.
ValueError: incomplete format
This is due to a bad translation for the Croatian (hr) language.
"Dostupna nadogradnja Ubuntu %(version)"
Notice the missing s after version. This is causing check-new-
Related branches
- Ubuntu Core Development Team: Pending requested 2014-04-24
-
Diff: 888 lines (+175/-142)14 files modifiedDistUpgrade/DistUpgradeAptCdrom.py (+1/-1)
DistUpgrade/DistUpgradeCache.py (+10/-10)
DistUpgrade/DistUpgradeController.py (+39/-38)
DistUpgrade/DistUpgradeFetcherCore.py (+5/-5)
DistUpgrade/DistUpgradeFetcherKDE.py (+4/-3)
DistUpgrade/DistUpgradeGettext.py (+7/-2)
DistUpgrade/DistUpgradeView.py (+27/-24)
DistUpgrade/DistUpgradeViewGtk3.py (+25/-21)
DistUpgrade/DistUpgradeViewKDE.py (+23/-15)
DistUpgrade/DistUpgradeViewText.py (+10/-5)
DistUpgrade/GtkProgress.py (+8/-8)
check-new-release-gtk (+8/-7)
do-partial-upgrade (+3/-3)
pre-build.sh (+5/-0)
| Brian Murray (brian-murray) wrote : | #2 |
And precise (although it is update-manager) has issues too.
[ 10:31AM ] [ bdmurray@
$ grep -r "%(version) " *
po/ja.po:msgstr "Ubuntu %(version) のアップグレードが利用可能です"
po/id.po:msgstr "Peningkatan ke Ubuntu %(version) Tersedia"
po/eo.po:msgstr "Ĝisdatigoj por Ubuntu %(version) disponeblas"
po/ug.po:msgstr "ئۇبۇنتۇ %(version) نىڭ يۈكسەلدۈرمىسى بار ئىكەن"
| tags: | added: precise |
| Changed in ubuntu-release-upgrader (Ubuntu Precise): | |
| status: | New → Invalid |
| Changed in update-manager (Ubuntu Saucy): | |
| status: | New → Invalid |
| Changed in update-manager (Ubuntu): | |
| status: | New → Invalid |
| Changed in update-manager (Ubuntu Precise): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| description: | updated |
| description: | updated |
| description: | updated |
| description: | updated |
| Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
| assignee: | nobody → Brian Murray (brian-murray) |
| Changed in update-manager (Ubuntu Precise): | |
| assignee: | nobody → Brian Murray (brian-murray) |
| Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
| status: | Triaged → In Progress |
| Changed in update-manager (Ubuntu Precise): | |
| status: | Triaged → In Progress |
| summary: |
- broken croatian translation results in traceback in new release - notification + broken translations results in traceback in new release notification |
Hello Brian, or anyone else affected,
Accepted update-manager into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in update-manager (Ubuntu Precise): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
| status: | In Progress → Fix Committed |
| Adam Conrad (adconrad) wrote : | #4 |
Hello Brian, or anyone else affected,
Accepted ubuntu-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | New → In Progress |
| Ubuntu Foundations Team Bug Bot (crichton) wrote : [ubuntu-release-upgrader/saucy] possible regression found | #5 |
As a part of the Stable Release Updates quality process a search for Launchpad bug reports using the version of ubuntu-
| tags: | added: verification-failed |
| tags: | removed: verification-failed |
Hello Brian, or anyone else affected,
Accepted ubuntu-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in ubuntu-release-upgrader (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #7 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in update-manager (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
* debian/
- add missing pep8 test dependency
* tests/test_
-
-- Michael Vogt <email address hidden> Sat, 03 May 2014 08:37:51 +0200
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | In Progress → Fix Released |
| Mathew Hodson (mathew-hodson) wrote : | #9 |
Is there a way to test the ubuntu-
| Jean-Baptiste Lallement (jibel) wrote : | #10 |
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://
100 /var/lib/
1:0.156.14.13 0
500 http://
1:0.156.14.5 0
500 http://
1:0.156.14 0
500 http://
root@ubuntu:~# /usr/lib/
Traceback (most recent call last):
File "/usr/lib/
self.
ValueError: unsupported format character 'T' (0x54) at index 33
| tags: | added: verification-failed-precise |
| Jean-Baptiste Lallement (jibel) wrote : | #11 |
I verified ubuntu-
# apt-cache policy ubuntu-
ubuntu-
Terpasang: 1:0.220.3
Kandidat: 1:0.220.3
Tabel versi:
*** 1:0.220.3 0
500 http://
100 /var/lib/
1:0.220.2 0
500 http://
root@ubuntu:~# /usr/lib/
Traceback (most recent call last):
File "/usr/lib/
self.
ValueError: unsupported format character 'T' (0x54) at index 33
| tags: | added: verification-failed-trusty |
| Jean-Baptiste Lallement (jibel) wrote : | #12 |
Actually in Trusty it's a translation fix, I tried language-pack-id and language-
| tags: |
added: verification-done-trusty removed: verification-failed-trusty |
| tags: | removed: verification-done-trusty |
| Jean-Baptiste Lallement (jibel) wrote : | #13 |
I cannot do the verification in Precise because the new langpacks for eo, id, ja and ug are not in precise-proposed.
| description: | updated |
| tags: | removed: verification-failed-precise |
| Jean-Baptiste Lallement (jibel) wrote : | #14 |
Closing update-manager tasks, the fix is in the language packs.
| Changed in update-manager (Ubuntu Precise): | |
| status: | Fix Committed → Invalid |
| Changed in language-pack-eo (Ubuntu): | |
| status: | New → Fix Released |
| Changed in language-pack-id (Ubuntu): | |
| status: | New → Fix Released |
| Changed in language-pack-ja (Ubuntu): | |
| status: | New → Fix Released |
| Changed in language-pack-ug (Ubuntu): | |
| status: | New → Fix Released |
| Changed in language-pack-ja (Ubuntu Saucy): | |
| status: | New → Fix Released |
| Changed in language-pack-eo (Ubuntu Precise): | |
| importance: | Undecided → High |
| Changed in language-pack-id (Ubuntu Precise): | |
| importance: | Undecided → High |
| Changed in language-pack-ja (Ubuntu Precise): | |
| importance: | Undecided → High |
| Changed in language-pack-ug (Ubuntu Precise): | |
| importance: | Undecided → High |
| Changed in ubuntu-release-upgrader (Ubuntu Saucy): | |
| status: | Fix Committed → Invalid |
| Changed in language-pack-ja (Ubuntu Trusty): | |
| status: | New → Fix Released |
| Changed in language-pack-id (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Changed in language-pack-eo (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Changed in language-pack-ug (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package update-manager - 1:0.156.14.15
---------------
update-manager (1:0.156.14.15) precise-proposed; urgency=low
* support HardwareEnablement End-of-Life transition
(LP: #1333728)
-- Michael Vogt <email address hidden> Tue, 24 Jun 2014 16:32:25 +0200
| Changed in update-manager (Ubuntu Precise): | |
| status: | Invalid → Fix Released |
| Changed in update-manager (Ubuntu Precise): | |
| status: | Fix Released → Invalid |
| Changed in language-pack-id (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| Changed in language-pack-eo (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| Changed in language-pack-ug (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| Mathew Hodson (mathew-hodson) wrote : | #16 |
New langpack for ja is in precise-proposed.
| Changed in language-pack-ja (Ubuntu Precise): | |
| status: | New → Fix Committed |
| Brian Murray (brian-murray) wrote : | #17 |
Given that the change is in the language packs and not in ubuntu-
| tags: |
added: verification-done removed: verification-needed |
| Steve Langasek (vorlon) wrote : | #18 |
Hello Brian, or anyone else affected,
Accepted ubuntu-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: | removed: verification-done |
| tags: | added: verification-needed |
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #19 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
* DistUpgrade/
- fix crash in free space check for certain locales (LP: #1172740)
- removal of essential packages that are not in the main arch
is ok (LP: #1307904)
- fix str/unicode crash in certain locales when a package is
found in the removal blacklist (LP: #1310053)
* DistUpgrade/
- make details dialog resize when details are expanded/collapsed
(LP: #1072460)
- load webkit only when needed
* DistUpgrade/
- fix py3 crash in text mode
* DistUpgrade/
- log python version
* po/{eo,id,ug}.po:
- fix translations of check-new-
(LP: #1311396)
* data/demoted.cfg:
- autmatic refresh of the demoted packages
* po/*.po:
- automatic refresh from launchpad
-- Michael Vogt <email address hidden> Thu, 24 Apr 2014 14:57:39 +0200
| Changed in ubuntu-release-upgrader (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for ubuntu-
| Mathew Hodson (mathew-hodson) wrote : | #21 |
https:/
| Changed in language-pack-ja (Ubuntu Precise): | |
| status: | Fix Committed → Fix Released |
| Changed in language-pack-eo (Ubuntu Saucy): | |
| status: | New → Invalid |
| Changed in language-pack-id (Ubuntu Saucy): | |
| status: | New → Invalid |
| Changed in language-pack-ug (Ubuntu Saucy): | |
| status: | New → Invalid |
| Mathew Hodson (mathew-hodson) wrote : | #22 |
The four language packs are in trusty-proposed. Does there need to be a new upload for the Trusty update-manager task?
What verification needs to be done to move the language packs to trusty-updates?
| tags: |
added: trusty removed: saucy |
| Changed in update-manager (Ubuntu Trusty): | |
| status: | Confirmed → Invalid |
| Changed in update-manager (Ubuntu Precise): | |
| status: | Invalid → Fix Released |
| no longer affects: | language-pack-eo (Ubuntu Saucy) |
| no longer affects: | language-pack-id (Ubuntu Saucy) |
| no longer affects: | language-pack-ja (Ubuntu Saucy) |
| Changed in language-pack-ja (Ubuntu Trusty): | |
| status: | Fix Released → Fix Committed |
| no longer affects: | language-pack-ug (Ubuntu Saucy) |
| no longer affects: | ubuntu-release-upgrader (Ubuntu Saucy) |
| no longer affects: | update-manager (Ubuntu Saucy) |
| Changed in language-pack-ja (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Changed in language-pack-eo (Ubuntu Precise): | |
| status: | New → Triaged |
| Changed in language-pack-id (Ubuntu Precise): | |
| status: | New → Triaged |
| Changed in language-pack-ug (Ubuntu Precise): | |
| status: | New → Triaged |
| Changed in language-pack-hr (Ubuntu): | |
| status: | New → Fix Released |
| Changed in language-pack-hr (Ubuntu Precise): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in language-pack-hr (Ubuntu Trusty): | |
| importance: | Undecided → High |
| status: | New → Fix Committed |
| Changed in ubuntu-translations: | |
| assignee: | nobody → Ubuntu Japanese Translators (ubuntu-l10n-ja) |
| importance: | Undecided → High |
| Mitsuya Shibata (cosmos-door) wrote : Re: [Bug 1311396] Re: broken translations results in traceback in new release notification | #23 |
Hi Mathew
Sorry for late reply, Anyway, I tried language-pack-ja in
trusty-proposed, but output followings.
---
The following package was automatically installed and is no longer required:
firefox-locale-ja
Use 'apt-get autoremove' to remove it.
---
Do you know any reason why firefox-locale-XX is dropped from
Recommends field of language-
--
Mitsuya Shibata
<email address hidden>
| Gunnar Hjalmarsson (gunnarhj) wrote : | #24 |
On 2015-10-09 16:25, Mitsuya Shibata wrote:
> Do you know any reason why firefox-locale-XX is dropped from
> Recommends field of language-
I don't think it ever was included in depends in language-
/usr/share/
| Mitsuya Shibata (cosmos-door) wrote : | #25 |
Hi Gunnar,
2015-10-10 0:48 GMT+09:00 Gunnar Hjalmarsson <email address hidden>:
> I don't think it ever was included in depends in language-
> /usr/share/
Thank you for your information.
Indeed, I could recover by Language Support.
1. language-pack updated via proposed)
2. $ sudo apt-get autoremove
=> firefox-locale-ja removed
3. launch firefox
=> UI doesn't localized
4. launch Language Support
=> "not complete langpack" message and install firefox-locale-ja
5. launch firefox
=> UI does localized
It seems that normal user doesn't exec "apt-get autoremove".
If it is removed, it is able to recover via language support.
Additionally to this, at least wily already drop it from recommends.
I think this is not so critical.
| Mitsuya Shibata (cosmos-door) wrote : | #26 |
Mathew and Gunnar,
I have tested language pack ja in trusty-proposed,
then not found any problem without #23-25.
And it seems that #23-25 is not real problem.
Could you move the packages from -proposed to -updates?
| Changed in ubuntu-translations: | |
| assignee: | Ubuntu Japanese Translators (ubuntu-l10n-ja) → nobody |
| Gunnar Hjalmarsson (gunnarhj) wrote : | #27 |
On 2015-10-11 21:15, Mitsuya Shibata wrote:
> Additionally to this, at least wily already drop it from recommends.
Hmm.. I see now that it was included as "Recommends" in the
language-
Anyway, that problem should (almost) be history now, and it's not related to the issue in this bug report.
On 2015-10-11 21:26, Mitsuya Shibata wrote:
> I have tested language pack ja in trusty-proposed,
> then not found any problem without #23-25.
> And it seems that #23-25 is not real problem.
>
> Could you move the packages from -proposed to -updates?
Hopefully someone with proper access to the archive will do it.
Thanks, Mitsuya!
| Martin Pitt (pitti) wrote : | #28 |
I released the Japanese langpacks, thanks for testing!
| Changed in language-pack-ja (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Mitsuya Shibata (cosmos-door) wrote : | #29 |
Hi Martin,
Thank you for update. However please update language-
https:/
language-pack-ja depends same version of language-pack-ja.
http://
| Changed in language-pack-ja-base (Ubuntu Precise): | |
| status: | New → Invalid |
| Changed in language-pack-ja-base (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| Changed in language-pack-ja-base (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Launchpad Janitor (janitor) wrote : | #30 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in language-pack-ja-base (Ubuntu): | |
| status: | New → Confirmed |
| Mitsuya Shibata (cosmos-door) wrote : | #31 |
language-
| Changed in language-pack-ja-base (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in language-pack-ja-base (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| no longer affects: | ubuntu-release-upgrader (Ubuntu Precise) |
| no longer affects: | update-manager (Ubuntu) |
| no longer affects: | update-manager (Ubuntu Trusty) |
| no longer affects: | language-pack-ja-base (Ubuntu Precise) |
| Changed in ubuntu-translations: | |
| assignee: | nobody → Ubuntu Croatian Translators (ubuntu-l10n-hr) |
| Changed in language-pack-hr (Ubuntu): | |
| importance: | Undecided → High |
| Changed in ubuntu-translations: | |
| status: | New → Triaged |
| Mathew Hodson (mathew-hodson) wrote : | #32 |
Sill a problem for Croatian.
| Changed in language-pack-id (Ubuntu): | |
| importance: | Undecided → High |
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| importance: | Undecided → High |
| Changed in ubuntu-release-upgrader (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Changed in language-pack-ja (Ubuntu): | |
| importance: | Undecided → High |
| Changed in language-pack-ja-base (Ubuntu): | |
| importance: | Undecided → High |
| Changed in language-pack-ug (Ubuntu): | |
| importance: | Undecided → High |
| Changed in language-pack-eo (Ubuntu): | |
| importance: | Undecided → High |


It looks like hr is not the only language with an issue.
$ grep -r "%(version) " *
po/id.po:msgstr "Peningkatan ke Ubuntu %(version) Tersedia"
po/eo.po:msgstr "Ĝisdatigoj por Ubuntu %(version) disponeblas"
po/ug.po:msgstr "ئۇبۇنتۇ %(version) نىڭ يۈكسەلدۈرمىسى بار ئىكەن"