[Bug 1783738] [NEW] _checkStoreConnectivity uses translatable strings for error checking

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Thu Jul 26 09:50:38 UTC 2018


Public bug reported:

In DistUpgradeQuirks.py in _checkStoreConnectivity there is this code:

451         elif 'error: unknown command' in connected[1]:
[...]
461         elif 'error: access denied' in connected[1]:

These tests will fail in a non-english language. For example in French:

u at vm:~$ snap debug xxx
erreur : unknown command "debug", see 'snap help'
u at vm:~$ snap debug connectivity
erreur : access denied (essayez avec sudo)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         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/1783738

Title:
  _checkStoreConnectivity uses translatable strings for error checking

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  In DistUpgradeQuirks.py in _checkStoreConnectivity there is this code:

  451         elif 'error: unknown command' in connected[1]:
  [...]
  461         elif 'error: access denied' in connected[1]:

  These tests will fail in a non-english language. For example in
  French:

  u at vm:~$ snap debug xxx
  erreur : unknown command "debug", see 'snap help'
  u at vm:~$ snap debug connectivity
  erreur : access denied (essayez avec sudo)

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



More information about the foundations-bugs mailing list