Bug 18188 - installer crashes on wrong input (user accounts)
installer crashes on wrong input (user accounts)
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
i386 Linux
high Severity low
: ---
: ---
Assigned To: Brock Organ
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2000-10-03 02:57 EDT by Manuel "Chilli" Chakravarty
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-26 18:12:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Manuel "Chilli" Chakravarty 2000-10-03 02:57:51 EDT
In the dialog that allows to add/delete/edit user accounts that should be
set up during the installation, when the list of user accounts is _empty_,
selecting "Delete" crashes the installer.

The following is the relevant part of the dump written by Python after the

Traceback (innermost last):
  File "/usr/bin/anaconda.real", line 438, in ?
    intf.run(todo, test = test)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 1030, in
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/textw/userauth_text.py",
line 213, in __call__
  File "/tmp/lib/python1.5/snack.py", line 87, in current
    return self.key2item[self.w.listboxGetCurrent()]
KeyError: 0

Local variables in innermost frame:
self: <snack.Listbox instance at 823cbd0>

ToDo object:
Comment 1 Michael Fulbright 2000-10-03 15:17:18 EDT
Brent verify, and if present please correct.
Comment 2 Michael Fulbright 2000-10-03 15:17:44 EDT
This is in TUI btw.
Comment 3 Brent Fox 2000-10-05 18:41:01 EDT
I have verified this.  When in text mode, the installer crashes if you activate
the "Delete" button when there are no user accounts in the list.  Also, it
crashes if you activate "Edit" on an empty list as well.  I'm working on a fix
right now.  I've changed the priority to high.
Comment 4 Brent Fox 2000-10-05 19:10:03 EDT
File anaconda/textw/user_auth.py version 1.13.
Fixed in CVS.  Needs to be tested.
Comment 5 Brock Organ 2000-11-13 14:39:42 EST
verified fix in internal testing (qa1113.0)...

Note You need to log in before you can comment on or make changes to this bug.