ubiquity crashed in run() with: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 15: ordinal not in range(128)

Bug #831419 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Ubuntu Installer Team
Oneiric
Fix Released
High
Ubuntu Installer Team

Bug Description

Oneiric Desktop 20110822

In Advanced partitioning, non-english, ubiquity crashes with the following error when users selects 'New partition':
Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 132, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 281, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/ubiquity/plugins/ubi-partman.py", line 2389, in run
    ('ubiquity/text/go_back', 'ubiquity/text/continue'))
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1549, in question_dialog
    text = str(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 15: ordinal not in range(128)

TEST CASE:
1. Start ubiquity
2. Select 'Français', then proceed to partman ('Continuer')
3. Once on the partitioner step, select 'Autre Chose'
3. Select device '/dev/sda' and click on 'Nouvelle partition'

Result:
this crash.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubiquity 2.7.15
ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
CasperVersion: 1.279
Date: Mon Aug 22 15:33:02 2011
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110822)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in ubiquity (Ubuntu Oneiric):
importance: Undecided → High
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Same problem at the same place if the user select 'Install side by side'

Changed in ubiquity (Ubuntu Oneiric):
assignee: Canonical Foundations Team (canonical-foundations) → Ubuntu Installer Team (ubuntu-installer)
milestone: none → ubuntu-11.10-beta-1
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu Oneiric):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.7.18

---------------
ubiquity (2.7.18) oneiric; urgency=low

  * Properly handle unicode around the hostname (LP: #831309).
  * Properly handle unicode around the timezone entry box (LP: #831533).
  * Properly handle unicode in the question dialog (LP: #831419).
  * Disable the background setting code for beta 1.
  * Wait forever for jockey to shutdown (LP: #653571).
  * Bump indicators to v6 (LP: #819979).
 -- Evan Dandrea <email address hidden> Fri, 26 Aug 2011 17:56:37 +0100

Changed in ubiquity (Ubuntu Oneiric):
status: Fix Committed → Fix Released
tags: added: testcase
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.