** Description changed:

+ [Impact]
+ People use languages where yes / no characters are unicode will not be able 
to upgrade in their language to Quantal.
+ 
+ [Test Case]
+ 1) On a precise system install Russian language
+ 2) In a terminal run:
+ LANG=ru_RU.UTF-8 do-release-upgrade
+ 3) When prompted with:
+ Продолжить [дН]
+ 4) Respond with either character
+ 
+ With the original version of ubuntu-release-upgrader it will crash.  With the 
version from quantal-proposed it will not crash.  Remember to use the proposed 
version, as in step 2, of ubuntu-release-upgrader you will need to use:
+ do-release-upgrade -p
+ 
+ Original report:
+ 
  In bug 1068389 a user thought they were experiencing the same bug as
  that one but it was in fact different.  Their comment follows:
  
  I jist run "do-release-upgrade" and wait until i see
  
  Чтение временных файлов
  
  Проверка менеджера пакетов
  
  Продолжить работу через SSH?
  
  Этот сеанс запущен через ssh. Не рекомендуется выполнять обновление
  через ssh, так как в случае неудачи восстановление будет очень
  сложным.
  
  Если вы продолжите, дополнительная служба ssh будет запущена на порту
  «1022».
  Хотите ли вы продолжить?
  
  Продолжить [дН]
  
  and after that I enter letter "д" and it give me error:
  
  Произошла критическая ошибка
  
  Пожалуйста, сообщите об этой ошибке и включите файлы
  /var/log/dist-upgrade/main.log и /var/log/dist-upgrade/apt.log в ваш
  отчёт. Обновление было отменено.
  Ваш оригинальный файл sources.list был сохранён в
  /etc/apt/sources.list.distUpgrade.
  
  Traceback (most recent call last):
  
  File "/tmp/update-manager-sw_elb/quantal", line 10, in <module>
  sys.exit(main())
  
  File "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeMain.py",
  line 240, in main
  if app.run():
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 1764, in run
  return self.fullUpgrade()
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 1616, in fullUpgrade
  if not self.prepare():
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 429, in prepare
  self._sshMagic()
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 299, in _sshMagic
  "Do you want to continue?") % port)
  
  File "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeViewText.py",
  line 210, in askYesNoQuestion
  if res.strip().lower().startswith(_("y")):
  
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position
  0: ordinal not in range(128)
  
  The same thing would likely happen if the responded No.

** Description changed:

  [Impact]
  People use languages where yes / no characters are unicode will not be able 
to upgrade in their language to Quantal.
  
  [Test Case]
+ 0) In /etc/update-manager/release-upgrades set Prompt=normal
  1) On a precise system install Russian language
  2) In a terminal run:
  LANG=ru_RU.UTF-8 do-release-upgrade
  3) When prompted with:
  Продолжить [дН]
  4) Respond with either character
  
  With the original version of ubuntu-release-upgrader it will crash.  With the 
version from quantal-proposed it will not crash.  Remember to use the proposed 
version, as in step 2, of ubuntu-release-upgrader you will need to use:
  do-release-upgrade -p
  
  Original report:
  
  In bug 1068389 a user thought they were experiencing the same bug as
  that one but it was in fact different.  Their comment follows:
  
  I jist run "do-release-upgrade" and wait until i see
  
  Чтение временных файлов
  
  Проверка менеджера пакетов
  
  Продолжить работу через SSH?
  
  Этот сеанс запущен через ssh. Не рекомендуется выполнять обновление
  через ssh, так как в случае неудачи восстановление будет очень
  сложным.
  
  Если вы продолжите, дополнительная служба ssh будет запущена на порту
  «1022».
  Хотите ли вы продолжить?
  
  Продолжить [дН]
  
  and after that I enter letter "д" and it give me error:
  
  Произошла критическая ошибка
  
  Пожалуйста, сообщите об этой ошибке и включите файлы
  /var/log/dist-upgrade/main.log и /var/log/dist-upgrade/apt.log в ваш
  отчёт. Обновление было отменено.
  Ваш оригинальный файл sources.list был сохранён в
  /etc/apt/sources.list.distUpgrade.
  
  Traceback (most recent call last):
  
  File "/tmp/update-manager-sw_elb/quantal", line 10, in <module>
  sys.exit(main())
  
  File "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeMain.py",
  line 240, in main
  if app.run():
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 1764, in run
  return self.fullUpgrade()
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 1616, in fullUpgrade
  if not self.prepare():
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 429, in prepare
  self._sshMagic()
  
  File
  "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
  line 299, in _sshMagic
  "Do you want to continue?") % port)
  
  File "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeViewText.py",
  line 210, in askYesNoQuestion
  if res.strip().lower().startswith(_("y")):
  
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position
  0: ordinal not in range(128)
  
  The same thing would likely happen if the responded No.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1071388

Title:
  UnicodeDecodeError in askYesNoQuestion of DistUpgradeViewText.py

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to