Installer crashed during partition analasis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
As soon as I got to the partition stage it analyzed my disks worked for a while then returned a message along the lines of (sorry I didn't write it down) "Partitioning the free space chosen has failed, too many primary partitions". I clicked ok and a little bit later the crash report came up that had this info:
Traceback (most recent call last):
File "/usr/lib/
main()
File "/usr/lib/
install(
File "/usr/lib/
ret = wizard.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
choice = self.get_
File "/usr/lib/
raise AssertionError, "no active autopartitioning choice"
AssertionError: no active autopartitioning choice
Hi,
similar problem with the KDE-ui version.
Yesterday, I downloaded the Kubuntu Desktop AMD-64 Live-CD image as of version 2007-01-11 from http:// cdimages. ubuntu. com/kubuntu/ daily-live/ 20070111/.
I tried to install it on a newly purchased PC with an empty and unpartitioned 400GB-SATA harddisk. After starting the installer from the KDE desktop, I chose manual partitioning and I defined some partitions (/boot, swap, /, /home, /encrypted; first three primary partitions, the two last partitions logical.).
When I klicked "next" after that, I decided to do the partitioning again using slightly different individual partition sizes. I clicked on the "back"-button, and then the installer crashed and I got some error messages ("traceback") after that step. Right now, I can't attach the according error output, because after this first installer crash, the behavior has changed:
When I start the installer again, it crashes right after choosing the regional and user settings (German, Germany w/ deadkeys, timezone Berlin, etc.). This is even the case after a cold reboot of the computer. IMHO, the installer has already changed the boot sector/partition table of the once completely empty harddisk. (I'm attaching the first four 512-byte-chunks of my disk drive, obtained using "sudo dd if=/dev/sda of=/tmp/bootsector bs=512 count=4")
When the installer crashes now, it outputs the following error log:
[quote] ubiquity/ bin/ubiquity" , line 185, in ? ubiquity/ bin/ubiquity" , line 180, in main args[0] ) ubiquity/ bin/ubiquity" , line 56, in install ubiquity/ ubiquity/ frontend/ kde-ui. py", line 328, in run process_ step() ubiquity/ ubiquity/ frontend/ kde-ui. py", line 804, in process_step process_ autopartitionin g() ubiquity/ ubiquity/ frontend/ kde-ui. py", line 858, in process_ autopartitionin g autopartition_ choice( )[0] ubiquity/ ubiquity/ frontend/ kde-ui. py", line 1573, in get_autopartiti on_choice self.autopartit ion_buttongroup _texts[ id])
Traceback (most recent call last):
File "/usr/lib/
main()
File "/usr/lib/
install(
File "/usr/lib/
ret = wizard.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
choice = self.get_
File "/usr/lib/
choice = unicode(
KeyError: -1
[end quote]
HTH, following: /var/log/partman, /var/log/syslog, first two kilobytes of physical harddisk space