Bug 52935 - printconf-gui crashes when trying to edit entry
Summary: printconf-gui crashes when trying to edit entry
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: printconf
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-30 23:44 UTC by Chris Runge
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-09-04 14:39:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Runge 2001-08-30 23:44:19 UTC
Description of Problem:

I'm trying to print to an SMB share using a DJ990C printer. It wasn't
working (still isn't), so when I went to edit the entry after clicking OK
the program crashes abruptly.

Version-Release number of selected component (if applicable):

printconf-gui-0.3.23-1

How Reproducible:

every time

Steps to Reproduce:
1. Add an entry for an HP990 connected via SMB share. I entered the share
name, a host name for the IP address (hope this works), and the workgroup.
2. I click ok, then apply.
3. I tried to print something. nothing happened.
4. I went to edit the entry. Under Queue Type I entered a username and
password.
5. I click OK, the program crashes.

Actual Results:

program crashes abruptly with no error messages. If I start printconf-gui
from an xterm the following appears:


Traceback (innermost last):
  File "/usr/sbin/printconf-gui", line 7, in ?
    import printconf_gui
  File "/usr/share/printconf/util/printconf_gui.py", line 1750, in ?
    
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2608, in mainloop
    _gtk.gtk_main()
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
    ret = apply(self.func, a)
  File "/usr/share/printconf/util/printconf_gui.py", line 1927, in
qld_on_edit_button_clicked
    qed_run(queue_dict)
  File "/usr/share/printconf/util/printconf_gui.py", line 876, in qed_run
    if not (qed_namealias_check_and_pull() and \
  File "/usr/share/printconf/util/printconf_gui.py", line 1585, in
qed_driver_check_and_pull
    driverspace_apply(qed.queue, qed.driver)
  File "/usr/share/printconf/util/printconf_conf.py", line 391, in
driverspace_apply
    driverspace.foomatic.gs_driver)
  File "/usr/share/printconf/util/printconf_conf.py", line 1258, in
foomatic_printer_driver_lookup
    printer_driver = foomatic_parse_printer_driver(root_node)
  File "/usr/share/printconf/util/printconf_conf.py", line 1230, in
foomatic_parse_printer_driver
    option = foomatic_parse_printer_driver_option(opt)
  File "/usr/share/printconf/util/printconf_conf.py", line 1195, in
foomatic_parse_printer_driver_option
    o.def_en_shortname = o.enum_vals[o.defval].shortname_dict["en"]
KeyError: ev/208

Expected Results:

program doesn't crash

Additional Information:

Comment 1 Bill Nottingham 2001-09-03 03:28:28 UTC
Does this persist with 0.3.36-1?

Comment 2 Crutcher Dunnavant 2001-09-05 19:04:40 UTC
this was fixed in 0.3.32-1


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