[Bug 1071388] Re: UnicodeDecodeError in askYesNoQuestion of DistUpgradeViewText.py

Brian Murray brian at ubuntu.com
Thu Oct 25 16:17:45 UTC 2012


The traceback from their main.log file is a bit easier to read:

Traceback (most recent call last):

  File "/tmp/update-manager-tp0AlE/quantal", line 10, in <module>
    sys.exit(main())

  File "/tmp/update-manager-tp0AlE/DistUpgrade/DistUpgradeMain.py", line 240, in main
    if app.run():

  File "/tmp/update-manager-tp0AlE/DistUpgrade/DistUpgradeController.py", line 1764, in run
    return self.fullUpgrade()

  File "/tmp/update-manager-tp0AlE/DistUpgrade/DistUpgradeController.py", line 1616, in fullUpgrade
    if not self.prepare():

  File "/tmp/update-manager-tp0AlE/DistUpgrade/DistUpgradeController.py", line 429, in prepare
    self._sshMagic()

  File "/tmp/update-manager-tp0AlE/DistUpgrade/DistUpgradeController.py", line 299, in _sshMagic
    "Do you want to continue?") % port)

  File "/tmp/update-manager-tp0AlE/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)


** Tags added: quantal

** Tags added: dist-upgrade

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

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

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

** Changed in: ubuntu-release-upgrader (Ubuntu Quantal)
       Status: New => Triaged

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

** Changed in: ubuntu-release-upgrader (Ubuntu Quantal)
    Milestone: None => quantal-updates

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