[Bug 1071388] [NEW] UnicodeDecodeError in askYesNoQuestion of DistUpgradeViewText.py

Brian Murray brian at ubuntu.com
Thu Oct 25 16:14:05 UTC 2012


Public bug reported:

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.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: ubuntu-release-upgrader (Ubuntu Quantal)
     Importance: High
         Status: Triaged


** Tags: dist-upgrade quantal

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

Title:
  UnicodeDecodeError in askYesNoQuestion of DistUpgradeViewText.py

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Triaged
Status in “ubuntu-release-upgrader” source package in Quantal:
  Triaged

Bug description:
  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.

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




More information about the foundations-bugs mailing list