strange EINTR in keyboard chooser

Bug #41921 reported by zdenek smetana
280
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

while trying to install Ubuntu Dapper from ubuntu-6.06-beta2-live-i386.iso it shows the error:

We're sorry; the installer crashed. Please file a bug report at https://launchpad.net/distros/ubuntu/+source/ubiquity/+filebug and a developer will attend to the problem as soon as possible. To help the developers understand what went wrong, include the following detail in your bug report:

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 61, in run
    self.debug("Display map: %s", 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')
  File "/usr/lib/python2.4/site-packages/debconf.py", line 58, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.4/site-packages/debconf.py", line 64, in command
    resp = self.read.readline().strip()
IOError: [Errno 4] Interrupted system call

Revision history for this message
Thomas Hofer (th) wrote :

The installer is crashing on my system, too, when I try to select the target disk on the paritioning screen.

My system has got 2 ide drives and on the first ide drive, there is a LVM partition with 3 logical volumes already existing. So on the screen "select a disk" there are several choices:

1. /dev/hda
2. /dev/hdb
3. /dev/mapper/vg0-lv1
4. /dev/mapper/vg0-lv2
5. /dev/mapper/vg0-lv3
6. (empty space) [i guess this is a bug, too]
7. Manually edit partition table

This trace occurs when I select the radio-button without text and hit next:

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: 5

This trace occurs when I select the last radio-button "Manually edit partition table" and hit next:

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: 6

This trace occurs when I select the radio-button "/dev/mapper/vg0-lv2" and hit next:

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: 3

I did not try any other choices, because I don't want to lose my current partition table

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

Thomas, your crash is bug 41865. Please don't assume that all crashes are the same bug; it makes it very hard for me to deal with these bug reports. I much prefer having to mark several bugs as duplicates than trying to deal with a single bug that reports several different crashes.

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

Zygfryd: could you tell me what language and timezone you selected, so that I can try to reproduce this? Thanks.

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

Thomas: your problem is different (different functions in traceback) and is actually duplicate of bug 41865.

Revision history for this message
Thomas Hofer (th) wrote :

Colin, Luka: sorry for the confusion - I aware of what you mean and I'll look better next time.

(Note to myself: don't file bugs when a fever makes you too lazy to do it properly.)

Revision history for this message
zdenek smetana (zyghom) wrote :

Colin, I've chosen: English language, Polish keyboard and timezone Ukraine/Kiev

Revision history for this message
zdenek smetana (zyghom) wrote : Re: [Bug 41921] Re: installator from beta 2 dapper does not work

Colin, I've chosen: English language, Polish keyboard and timezone
Ukraine/Kiev

Colin Watson said the following on 04/29/2006 03:55 PM:
> Zygfryd: could you tell me what language and timezone you selected, so
> that I can try to reproduce this? Thanks.
>
> ** Changed in: ubiquity (Ubuntu)
> Status: Unconfirmed => Needs Info
>

___________________________________________________________
24 FIFA World Cup tickets to be won with Yahoo! Mail http://uk.mail.yahoo.com

Revision history for this message
zdenek smetana (zyghom) wrote :

Colin, I've chosen: English language, Polish keyboard and timezone Ukraine/Kiev

Revision history for this message
James (jemusu) wrote :

Luka, I didn't quite make it to choosing a keyboard. I chose Los Angeles in the time zone choser thingie and I chose to update the time since it was off due to the UTC/GMT thing. The error message came up after I clicked to continue after getting the right time from the time server. When I looked under the error screen it did have the keyboard selection window up, but I didn't actually get to chose a keyboard layout.

I did have the calendar displayed while I was doing this. The calendar you get by clicking on the time on the top right hand corner clock.

I didn't get this error on my subsequent try. I didn't have time calendar up and I didn't update the time.

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

Believe it or not this turns out to be a debconf bug: the Python confmodule isn't retrying readline() when it's interrupted by a signal. This upload fixes it for me:

debconf (1.4.72ubuntu4) dapper; urgency=low

  * Backport from trunk (closes: Malone #41921):
    - Retry readline() in the Python confmodule if it's interrupted by a
      signal.

 -- Colin Watson <email address hidden> Tue, 2 May 2006 14:07:45 +0100

Changed in ubiquity:
assignee: nobody → kamion
status: Needs Info → Fix Released
Revision history for this message
charz (cromestant) wrote : Re: [Bug 41921] Re: strange EINTR in keyboard chooser

Collin i'm sorry to bother you, but I have a question and since you are on
the dapper dev team, I just figured you'd be the quickest reply.
I have to buy a new laptop very soon, and i am considering the new
macbook... what are your thoughts on this? is ubuntu going to work on a
release for it, sometime soon? because i can't live without linux, and the
dell box I was eying just went up 350$...

I read that some users did get it working, but I don't really like hacks...

thank you and sorry for the bothering

On 5/25/06, Colin Watson <email address hidden> wrote:
>
> ** Bug 46523 has been marked a duplicate of this bug
>
> --
> strange EINTR in keyboard chooser
> https://launchpad.net/bugs/41921
>

--
Charz
http://www.ucvlug.org.ve

Revision history for this message
danielsan (robocoppe) wrote : Re: [Bug 41921] Re: [Bug 41921] Re: strange EINTR in keyboard chooser

I'm not speak english very well but undestand your question.... i think the
macbook is your ideal choose!
i think Appale is the best productor of notebook!!
And now can run Windows and Linux!!!!
Choose it!
Bye friend.

Danielsan73.

----- Original Message -----
From: "charz" <email address hidden>
To: <email address hidden>
Sent: Tuesday, May 30, 2006 5:12 AM
Subject: [Bug 41921] Re: [Bug 41921] Re: strange EINTR in keyboard chooser

Collin i'm sorry to bother you, but I have a question and since you are on
the dapper dev team, I just figured you'd be the quickest reply.
I have to buy a new laptop very soon, and i am considering the new
macbook... what are your thoughts on this? is ubuntu going to work on a
release for it, sometime soon? because i can't live without linux, and the
dell box I was eying just went up 350$...

I read that some users did get it working, but I don't really like
hacks...

thank you and sorry for the bothering

On 5/25/06, Colin Watson <email address hidden> wrote:
>
> ** Bug 46523 has been marked a duplicate of this bug
>
> --
> strange EINTR in keyboard chooser
> https://launchpad.net/bugs/41921
>

--
Charz
http://www.ucvlug.org.ve

--
strange EINTR in keyboard chooser
https://launchpad.net/bugs/41921

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

Please stop discussing laptop choices - or indeed making any further comments not directly related to the bug - in this bug report CCed to dozens of people. I suggest <email address hidden> or the Ubuntu Forums for discussion.

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.