Upgrade to raring fails with UnicodeDecodeError ( 'ascii' codec can't decode byte 0xd0) when using russian locale

Bug #1079251 reported by Lockal
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When user with russian locale launches ubuntu-release-upgrader, it calculates changes and prompts user to continue installation. This looks like:

Установка обновления может занять несколько часов (trans: installation could take a few hours). После завершения
загрузки отменить установку будет нельзя (trans: after finishing download installation can't be aborted).

 Продолжить [дН] Подробности [п] (trans: Continue [...], Details [...])

Notice that confirmation keys are translated too. It could be a problem of translation, but in previous versions of ubuntu (9.10 -> 10.04) keys д/Н/п worked without any problem.

Traceback (most recent call last):

File "/tmp/ubuntu-release-upgrader-jt3c4s/raring", line 10, in
<module>
sys.exit(main())

File
"/tmp/ubuntu-release-upgrader-jt3c4s/DistUpgrade/DistUpgradeMain.py",
line 240, in main
if app.run():

File
"/tmp/ubuntu-release-upgrader-jt3c4s/DistUpgrade/DistUpgradeController.py",
line 1765, in run
return self.fullUpgrade()

File
"/tmp/ubuntu-release-upgrader-jt3c4s/DistUpgrade/DistUpgradeController.py",
line 1722, in fullUpgrade
if not self.askDistUpgrade():

File
"/tmp/ubuntu-release-upgrader-jt3c4s/DistUpgrade/DistUpgradeController.py",
line 970, in askDistUpgrade
self.cache.required_download)

File
"/tmp/ubuntu-release-upgrader-jt3c4s/DistUpgrade/DistUpgradeViewText.py",
line 166, in confirmChanges
if res.strip().lower().startswith(_("y")):

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position
0: ordinal not in range(128)

Tags: quantal
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.