crash on manual partition when USB disk connected

Bug #41680 reported by Luka Renko
8
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Kubuntu Daily Live CD 20060426.1

I have 300 GB external USB2 drive (/dev/sda) connected to the system. When I get to Ubiquity disk partitioning, it first display strange dialog with two options to select between internal/external disk (see attachment).
I am not sure what would happen if specific disk would be selected, but I suspect this would mean that whole disk is used for Kubuntu. Since I would likt to control how disk /dev/hda is partitioned, I have selected option "Manually edit partition table" but click on Next resulted with the following crash:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 536, in on_next_clicked
    self.dbfilter.ok_handler()
  File "/usr/lib/python2.4/site-packages/ubiquity/components/partman.py", line 211, in ok_handler
    disk_choice = self.frontend.get_disk_choice()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 754, in get_disk_choice
    return self.autopartition_buttongroup_texts[id]
KeyError: 4

Revision history for this message
Luka Renko (lure) wrote : SelectDisk.png

Strange select disk dialog with one "ghost" entry without text...

Revision history for this message
Luka Renko (lure) wrote :

I have disconnected my USB drive and now I do not get Select Disk screen anymore, but I go directly to Prepare disk space dialog.

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

Hmm, OK; the traceback should be enough to nail this down, thanks. I suspect that the disk selector in the KDE frontend is just broken.

Changed in ubiquity:
status: Unconfirmed → Confirmed
Revision history for this message
Luka Renko (lure) wrote :

With today's Kubuntu Live CD, the problem is still the same (same screenshot, still crashes if manul partitioning is selected), but now I get this trace-back (I have used English yesterday and Slovenscina today):

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 536, in on_next_clicked
    self.dbfilter.ok_handler()
  File "/usr/lib/python2.4/site-packages/ubiquity/components/partman.py", line 211, in ok_handler
    disk_choice = self.frontend.get_disk_choice()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 752, in get_disk_choice
    print " get_disk_choice (self): " + str(self.part_disk_buttongroup.selected().text())
UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 3: ordinal not in range(128)

Revision history for this message
Luka Renko (lure) wrote :

With English, I get the same traceback as yesterday.

Revision history for this message
Luka Renko (lure) wrote :

Note:
- initial traceback (when using English) is the same as in bug 41865
- second traceback (when using non-English) is the same ad in bug 41893

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

As Luka observes, there are two distinct bugs here. I'll mark this as a duplicate of the less well-understood one (bug 41865), as bug 41893 should be trivial to fix as soon as Jonathan or I have time to test said fix.

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.