[Bug 1370243] [NEW] do-release-upgrade causing tracebacks with no_longer_supported string

Brian Murray brian at ubuntu.com
Tue Sep 16 21:04:16 UTC 2014


Public bug reported:

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_supported is not None:
124     url = "http://www.ubuntu.com/releaseendoflife"
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/do-release-upgrade", line 123, in <module>
    "%(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://errors.ubuntu.com/problem/c7159433982de174092fa1b17efad3eff4a15f63

We can see this is an issue with the ru translation.

#: ../do-release-upgrade:122
msgid ""
"For upgrade information, please visit:\n"
"%(url)s\n"
msgstr ""
"Для получения информации об обновлении посетите:\n"
"%(url)\n"

Notice the missing "s".

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: High
     Assignee: Michael Vogt (mvo)
         Status: New

** Affects: ubuntu-release-upgrader (Ubuntu Utopic)
     Importance: High
     Assignee: Michael Vogt (mvo)
         Status: New

-- 
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/1370243

Title:
  do-release-upgrade causing tracebacks with no_longer_supported string

Status in “ubuntu-release-upgrader” package in Ubuntu:
  New
Status in “ubuntu-release-upgrader” source package in Utopic:
  New

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_supported is not None:
  124     url = "http://www.ubuntu.com/releaseendoflife"
  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/do-release-upgrade", line 123, in <module>
      "%(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://errors.ubuntu.com/problem/c7159433982de174092fa1b17efad3eff4a15f63

  We can see this is an issue with the ru translation.

  #: ../do-release-upgrade:122
  msgid ""
  "For upgrade information, please visit:\n"
  "%(url)s\n"
  msgstr ""
  "Для получения информации об обновлении посетите:\n"
  "%(url)\n"

  Notice the missing "s".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1370243/+subscriptions



More information about the foundations-bugs mailing list