crash creating partman question dialog

Bug #43012 reported by the_tiger
310
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 1084, in watch_debconf_fd_helper
    return callback(source, debconf_condition)
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 143, in process_input
    if not self.process_line():
  File "/usr/lib/python2.4/site-packages/ubiquity/filteredcommand.py", line 81, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/python2.4/site-packages/ubiquity/debconffilter.py", line 215, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/python2.4/site-packages/ubiquity/components/partman_commit.py", line 118, in run
    ('ubiquity/text/go_back', 'ubiquity/text/continue'))
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 1463, in question_dialog
    dialog = gtk.Dialog(title, transient, gtk.DIALOG_MODAL, tuple(buttons))
RuntimeError: first member of each text/response id pair must be a string

Revision history for this message
Andy Price (andy-price) wrote :

Thanks for your bug report. I am reassigning it to the correct package.

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

What version of the live CD were you using? Can you describe what you were doing when this crash occurred? Could you attach /var/log/installer/syslog and /var/log/partman to this bug, using the "Add Attachment" function?

Changed in ubiquity:
status: Unconfirmed → Needs Info
Revision history for this message
the_tiger (ben-pygall) wrote :

I was using the daily build of May 4th. I was beginning on the final install page screen 7 and the process had just started when it crashed. I am sorry but I don't know how to attach the files you mentioned. Will they be available as I was using the live cd, surely no files are installed on the hard disk?

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

If you've rebooted, you'll have to start the live CD up and reproduce the bug, then attach the files from the running live CD.

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

If you can't do that, it would be useful to know a little more about your partitioning setup. It looks like you were doing manual partitioning; what did you do there?

Revision history for this message
the_tiger (ben-pygall) wrote :

Sorry but I scrapped the CD. Tried with and without formatting. Tried a number of different partitions. Set up ext3 for root and linux-swap for swap.

the_tiger (ben-pygall)
Changed in ubiquity:
status: Needs Info → Unconfirmed
Revision history for this message
l1ltw1st (brookmoore) wrote :

I get the same error either using "Manually edit partition table" or by allowing it to use "/dev/sda:"
Reports proper HD

System Info:
ECS 945G-M3 (Intel 945G NB / ICH7-DH SB) using onboard Intel 945 graphics
Patriot 1GB memory (PC2)
Intel Pentium D 805
Samsung sp2004c

Revision history for this message
l1ltw1st (brookmoore) wrote :

Sorry, similar error:

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 unicode(self.autopartition_buttongroup_texts[id])
KeyError: 0

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

l1ltw1st: Please file a new bug unless you know that your bug is identical to the one you're attaching your comment to. In this case, your bug is bug 41865, and has been fixed in Flight CD 7.

Revision history for this message
l1ltw1st (brookmoore) wrote :

Thank you for clarifying, new to the bug reporting thing...

Revision history for this message
Christoph Bier (christoph-bier) wrote : Log file: partman

partman

Revision history for this message
Christoph Bier (christoph-bier) wrote : Re: Dapper live install crashes

I have exactly the same error with Flight 7, downloaded today! I had to partition manually with cfdisk because I did not understand how the graphical partitioner works (BTW: I'm not an unexperienced user, I use Debian for about eight years). On /dev/hda1 I had a FAT32 partition and on /dev/hda2 an ext3 partition with Dapper already installed (from upgrades). But because there was no swap partition installed when I installed Hoary last year and to test the installer I wanted to install a fresh Ubuntu. I deleted /dev/hda2 and created /dev/hda2 (/home), /dev/hda5 (swap), and /dev/hda6 (/) and wrote it to the disk:

/dev/hda1 FAT32
/dev/hda2 ext3
/dev/hda5 swap
/dev/hda6 ext3

I even rebooted with the live CD and the error is reproducible. Is there another way to install Dapper, maybe a textual interface I did not find? Or do I have to use a Breezy CD and then upgrade?

PS: Sorry for submitting the one attachement before this comment.

Revision history for this message
Christoph Bier (christoph-bier) wrote : Log file: syslog

syslog

Revision history for this message
Lee Armstrong (arms10) wrote : Re: Dapper live install crashes

After attempting to manually edit my partition table, I received this report:

Traceback (most recent call last):
  File "/usr/bin/ubiquity", line 112, in ?
    install(sys.argv[1])
  File "/usr/bin/ubiquity", line 52, in install
    ret = wizard.run()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 305, in run
    self.process_step()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 719, in process_step
    self.process_disk_selection()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 771, in process_disk_selection
    if self.manual_choice is None or unicode(choice, "utf-8") == self.manual_choice:
TypeError: decoding Unicode is not supported

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

Lee: that's a different bug, namely bug 43125, and is fixed in current daily builds.

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

OK, this bug is really freaking me out; I've studied all the code paths leading up to it about half a dozen times and can't figure out how it could be happening.

Could somebody who can reproduce this exact problem (crash dump ending with "RuntimeError: first member of each text/response id pair must be a string") please:

  * Open /usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py in a text editor (you'll need to start the text editor as root);
  * Search for "gtk.Dialog" until you find the line reading "dialog = gtk.Dialog(title, transient, gtk.DIALOG_MODAL, tuple(buttons))" (should be the first match, I think);
  * Insert a line *above* that line as follows:
        print >>sys.stderr, title, msg, option_templates, self.locale, buttons
    Make sure you enter this exactly as above on a single line (no word-wrapping), and that the line begins with eight (8) spaces;
  * Run the installer again and reproduce the problem;
  * Attach the resulting /var/log/installer/syslog file to this bug report.

With any luck that should provide me with enough information to track this down. Thanks in advance!

Changed in ubiquity:
status: Unconfirmed → Needs Info
Revision history for this message
Jose Pirlot (jose-pirlot) wrote : Dapper 6.0.6 LTS Flight 7 - Syslog file after installer crash

Reading the syslog file you can see that the installer detects uncorrected errors in partition /dev/sda6.
I use sda6, sda7, sda8 and sda9 to experiment the mandriva distribution "Free 2006".
After the trial which leads to the syslog file joined to this message I have formatted the sda6 partition again with gparted and now after a new attempt to install dapper the new syslog file indicates errors on partition sda7.
I checked sda7 with "e2fsck -f" but nothing wrong was reported.

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

Jose: thanks, that's perfect, and is enough information for me to fix this bug. In the meantime it should be possible to install in English as a workaround (although I realise that isn't ideal).

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

Fix committed to my bzr branch. It'll be in the next upload.

Changed in ubiquity:
status: Needs Info → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

On second thoughts, obviously installing in English isn't a workaround after all. :-(

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

ubiquity (0.99.81) dapper; urgency=low

  [ Colin Watson ]
  * Work around PyGTK bug in gtk.Dialog(): each button text must actually be
    a subtype of str, which unicode isn't (closes: Malone #43012).
  * New, more descriptive icon (thanks, Antônio Cláudio; closes: Malone
    #41472).
  * Add .desktop file translations from Rosetta: German, Spanish, Finnish,
    French, Croatian, Hungarian, Italian, Korean, Kurdish, Polish,
    Portuguese.
  * Update translations from Rosetta: Belarusian, Frisian, Hungarian,
    Kurdish, Latvian, Thai, Turkish, Chinese (Taiwan).

  [ Jonathan Riddell ]
  * KDE frontend:
    - Show % indicator on resize slider
    - Improve size/layout of some widgets
    - Don't call get_translations multiple times (closes: Malone #44515)
    - Format time properly in non-latin locales
    - Make mountpoint comboboxes editable
    - Resize qtparted to fit window (closes: Malone #43122)
    - Quit qtparted cleanly
    - Select values on mountpoints page correctly
    - Remove debugging print lines
    - Fix some i18n strings
    - Enable/disable Cancel button in debconf progress dialogue
    - Add spacers in disk selection
    - Add Map Widget (closes: Malone #43678)
  * Move world_map-960.png from ubiquity-frontend-gtk to ubiquity package

 -- Colin Watson <email address hidden> Mon, 15 May 2006 12:00:04 +0100

Changed in ubiquity:
assignee: nobody → kamion
status: Fix Committed → Fix Released
Revision history for this message
xurde (jorgedf) wrote : Re: [Bug 43012] Re: crash creating partman question dialog

thanks for your attention.

On 5/23/06, Colin Watson <email address hidden> wrote:
>
> ** Bug 46164 has been marked a duplicate of this bug
>
> --
> crash creating partman question dialog
> https://launchpad.net/bugs/43012
>

--
____________________
Jorge Díaz
<email address hidden>
http://xurde.info
____________________

Revision history for this message
Matt Zimmerman (mdz) wrote :

 unsubscribe ubuntu-security

Revision history for this message
Jose Pirlot (jose-pirlot) wrote :

Confirmation : the bug doesn't appear any more while installing dapper 6-06 LTS Flight7 RC.

Thanks

Revision history for this message
Urs Mueller (info-urs-mueller) wrote :

Salut José

It does appear on Flight 7, but not on the RC...
I didn't look well, while downloading and catched by mistake Flight 7 for
PPC... While for i386 I did catch the correct iso-file.

Greetings and bonne nuit
Urs Mueller

Jose Pirlot sagte:
> Confirmation : the bug doesn't appear any more while installing dapper
> 6-06 LTS Flight7 RC.
>
> Thanks
>
> --
> crash creating partman question dialog
> https://launchpad.net/bugs/43012

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

Jose, thanks for the confirmation, but note that "Flight7 RC" is a contradiction in terms; Flight CD 7 and the Ubuntu 6.06 LTS Release Candidate were two distinct releases.

Revision history for this message
Matt Zimmerman (mdz) wrote :

 unsubscribe ubuntu-security

--
 - mdz

Revision history for this message
Jose Pirlot (jose-pirlot) wrote :

The name of the last iso file I tried without any problem is "ubuntu-6.06-rc-desktop-i386.iso".

Revision history for this message
Christophe Narbonne (christophe31) wrote :

me too but with an other error message (I'm on a 64 bit architecture and I use Herd2)

Traceback (most recent call last):
  File "/usr/lib/ubiquity/bin/ubiquity", line 185, in ?
    main()
  File "/usr/lib/ubiquity/bin/ubiquity", line 180, in main
    install(args[0])
  File "/usr/lib/ubiquity/bin/ubiquity", line 56, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 310, in run
    self.process_step()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 867, in process_step
    self.process_autopartitioning()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 922, in process_autopartitioning
    choice = self.get_autopartition_choice()[0]
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 1620, in get_autopartition_choice
    raise AssertionError, "no active autopartitioning choice"
AssertionError: no active autopartitioning choice

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.