do-release-upgrade causing tracebacks with no_longer_supported string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Utopic |
Won't Fix
|
High
|
Michael Vogt |
Bug Description
The no longer supported error message is causing tracebacks for some translations. Here is the code from do-release-upgrade:
120 # make sure to inform the user if his distro is no longer supported
121 # this will make it appear in motd (that calls do-release-upgrade in
122 # check-new-release mode)
123 if m.no_longer_
124 url = "http://
125 print(_("Your Ubuntu release is not supported anymore."))
126 print(_("For upgrade information, please visit:\n"
127 "%(url)s\n") % { 'url' : url })
Here is the Traceback.
Traceback (most recent call last):
File "/usr/bin/
"%(url)s\n") % { 'url' : url })
ValueError: unsupported format character '?' (0xa) at index 44
One bucket of these can be found in the Error Tracker at:
https:/
We can see this is an issue with the ru translation.
#: ../do-release-
msgid ""
"For upgrade information, please visit:\n"
"%(url)s\n"
msgstr ""
"Для получения информации об обновлении посетите:\n"
"%(url)\n"
Notice the missing "s".
The it translation switches the % to a $.
#: ../do-release- upgrade: 122
msgid ""
"For upgrade information, please visit:\n"
"%(url)s\n"
msgstr ""
"Per informazioni sull'avanzamento consultare:\n"
"$(url)s\n"