Red Hat Bugzilla – Bug 151483
printconf-tui crashes with "KeyError"
Last modified: 2007-11-30 17:11:02 EST
Description of problem:
Try to add a printer with printconf-tui. All seems OK until
you exit, at which point it crashes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go into printconf-tui
2. Add a postscript printer called "printer01"
3. Edit the driver options to set the default page size to A4.
4. Exit printconf-tui
Initializing alchemist edit environment ...
Initializing linux printing database ...
Traceback (most recent call last):
File "/usr/sbin/printconf-tui", line 8, in ?
File "/usr/share/printconf/util/printconf_tui.py", line 2413, in
File "/usr/share/printconf/util/printconf_tui.py", line 1993, in tui_main_run
File "/usr/share/printconf/util/printconf_tui.py", line 1844, in qld_run
File "/usr/share/printconf/util/printconf_tui.py", line 1960, in qld_build
File "/usr/lib/python2.3/site-packages/snack.py", line 688, in setCurrent
File "/usr/lib/python2.3/site-packages/snack.py", line 100, in setCurrent
This was preventing me from printing. I could add a printer with
printconf-gui, but every time I try to edit it with the text only
config tool, I get a KeyError and a python stack trace. I'm just glad
that this particular box isn't headless...
Does this also happen with system-config-printer-0.6.116.1.4-1?
That seems to fix it. Thanks.