Bug 175635

Summary: GUI becomes non-functional after changing driver
Product: Red Hat Enterprise Linux 4 Reporter: Kevin Podsiadlik <kevinpodsiadlik>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0694 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-26 06:34:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 189992    
Attachments:
Description Flags
Output of printconf-tui as requested. none

Description Kevin Podsiadlik 2005-12-13 16:40:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Description of problem:
When I attempt to change the driver for my printer, the GUI fails and the application becomes nonfunctional.



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


How reproducible:
Always

Steps to Reproduce:
1. $ sudo printconf
2. Select my printer and click "edit"
3. Click "printer driver tab"
4. Select a new driver (I wanted "LaserJet 4000/4000N" instead of "LaserJet 4000".)
5. Click "OK".
6. When dialog box fails to close on "OK", click "x" to close.
7. Again, select my printer and click "edit".

Actual Results:  After step 5:

Dialog box goes gray momentarily, but then reappears.  Now none of the bottom buttons work.  The only way to dismiss the box is with the "x" (either on the box or the application itself).

After step 6:

"Apply" button is not highlighted -- driver change was not recorded.

After step 7:

Dialog box does not appear.

Expected Results:  "OK" should have closed the dialog box, and activated the "Apply" button in the main application to save the change of driver.  "Edit" button should bring back the dialog. 

Additional info:

Output to terminal after step 5:

Traceback (most recent call last):
  File "/usr/share/printconf/util/queueTree.py", line 600, in edit_button_clicked
    if self.editQueue.editQueueDialog (iter):
  File "/usr/share/printconf/util/editQueue.py", line 452, in editQueueDialog
    self.read_driver_options ()
  File "/usr/share/printconf/util/editQueue.py", line 1013, in read_driver_options
    dict[key] = store.get_value (iter, 1)
TypeError: iter must be a GtkTreeIter

Output to terminal after step 7:

AttributeError: 'NoneType' object has no attribute 'select_iter'

Comment 1 Tim Waugh 2005-12-15 17:17:29 UTC
Please attach the output of 'printconf-tui --Xexport', taking care to replace
any passwords it may contain for remote printers with "*" characters.  Thanks.

Comment 2 Kevin Podsiadlik 2005-12-15 20:00:27 UTC
Created attachment 122296 [details]
Output of printconf-tui as requested.

Comment 4 Tim Waugh 2005-12-23 13:33:18 UTC
Thanks.

Comment 17 Red Hat Bugzilla 2006-10-26 06:34:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0694.html