Install crashes after choosing locale

Bug #42260 reported by ShamrockUK
8
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Medium
Unassigned

Bug Description

To reproduce, run the installer and proceed to step 3 where the city is chosen. Selecting London and hitting next crashes the installer - using the Beta 2 live cd.

This is an improvement on the Beta 1 live cd where clicking 'next' did nothing apart from show a busy cursor with no disk activity.

Settings displayed are:

Selected city - London.

Selected region - UK

Time zone - BST (GMT+1:00)

The trace follows:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 1061, in watch_debconf_fd_helper
    return callback(source, debconf_condition)
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 150, in process_input
    self.status = self.wait()
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 89, in wait
    self.cleanup()
  File "/usr/lib/python2.4/site-packages/ubiquity/components/timezone.py", line 63, in cleanup
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.4/locale.py", line 381, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting

Revision history for this message
Larry Nguyen (larry-vnlinux) wrote :

I have same bug using Edubuntu beta 2 for PowerPC on G4-533MHz

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 1061, in watch_debconf_fd_helper
    return callback(source, debconf_condition)
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 141, in process_input
    if not self.process_line():
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 80, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/python2.4/site-packages/ubiquity/debconffilter.py", line 208, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/python2.4/site-packages/ubiquity/components/kbd_chooser.py", line 59, in run
    self.frontend.set_keyboard_choices(self.choices_display_map(question))
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 197, in choices_display_map
    choices = self.choices(question)
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 186, in choices
    choices = unicode(self.db.metaget(question, 'choices'), 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-2: invalid data

Revision history for this message
Colin Watson (cjwatson) wrote :

ShamrockUK: thanks for your bug. This is also bug 41846, and has already been fixed in current daily builds.

Larry: you have a completely different bug, not the same one at all. Please file it separately.

Revision history for this message
ShamrockUK (uplift) wrote :

Apologies Colin, can't think how I missed the other one. I don't seem to get on with the Launchpad search!

Many thanks for all the work you and the team are doing, Dapper is looking great!

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.