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

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


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"


** Also affects: ubuntu-release-upgrader (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-release-upgrader (Ubuntu Utopic)
   Importance: Undecided => High

** Changed in: ubuntu-release-upgrader (Ubuntu Utopic)
     Assignee: (unassigned) => Michael Vogt (mvo)

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