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

Launchpad Bug Tracker 1370243 at bugs.launchpad.net
Fri Apr 17 19:33:49 UTC 2015


This bug was fixed in the package ubuntu-release-upgrader - 1:15.04.14

---------------
ubuntu-release-upgrader (1:15.04.14) vivid; urgency=low

  [ Michael Vogt ]
  * make i18n more robust, thanks to Brian Murray (LP: #1370243)

  [ Brian Murray ]
  * po/*.po:
    - automatic launchpad translation update
 -- Brian Murray <brian at ubuntu.com>   Fri, 17 Apr 2015 10:13:11 -0700

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released
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