Bug 554372

Summary: [abrt] traceback with driver selection
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: hrue, jpopelka, mads, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:020684e0
Fixed In Version: 1.1.16-8.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 554376 (view as bug list) Environment:
Last Closed: 2010-01-15 22:05:06 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: 554376    
Attachments:
Description Flags
File: backtrace none

Description Tim Waugh 2010-01-11 14:53:58 UTC
abrt 1.0.3 detected a crash.

Comment: Change driver for existing queue.

backtrace
-----
Summary: TB020684e0 system-config-printer.py:6435:fillDriverList:AttributeError: NewPrinterGUI instance has no attribute 'auto_driver'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 6497, in on_tvNPModels_cursor_changed
    self.fillDriverList(self.NPMake, pmodel)
  File "/usr/share/system-config-printer/system-config-printer.py", line 6435, in fillDriverList
    if self.auto_driver and self.device:
AttributeError: NewPrinterGUI instance has no attribute 'auto_driver'

Local variables in innermost frame:
pmodel: Stylus D68
model: <gtk.ListStore object at 0x2946730 (GtkListStore at 0x25c63c0)>
ppds: {u'foomatic:Epson-Stylus_D68-gutenprint-ijs.5.2.ppd': {'ppd-type': u'postscript', 'ppd-model-number': 0, 'ppd-product': u'', 'ppd-natural-language': u'en', 'ppd-psversion': u'', 'ppd-make': u'Epson', 'ppd-make-and-model': u'Epson Stylus D68 Foomatic/gutenprint-ijs.5.2', 'ppd-device-id': u'MFG:EPSON;MDL:Stylus D68;CMD:ESCPL2,BDC,D4;DES:EPSON Stylus D68;DRV:Dgutenprint-ijs.5.2,R0,M0,TF;'}, u'foomatic:Epson-Stylus_D68-gutenprint-ijs-simplified.5.2.ppd': {'ppd-type': u'postscript', 'ppd-model-number': 0, 'ppd-product': u'', 'ppd-natural-language': u'en', 'ppd-psversion': u'', 'ppd-make': u'Epson', 'ppd-make-and-model': u'Epson Stylus D68 Foomatic/gutenprint-ijs-simplified.5.2', 'ppd-device-id': u'MFG:EPSON;MDL:Stylus D68;CMD:ESCPL2,BDC,D4;DES:EPSON Stylus D68;DRV:Dgutenprint-ijs-simplified.5.2,R1,M0,TF;'}}
self: <__main__.NewPrinterGUI instance at 0x2220f80>
pmake: Epson

cmdline: python /usr/share/system-config-printer/system-config-printer.py
component: system-config-printer
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 2.6.31.9-174.fc12.x86_64
package: system-config-printer-1.1.16-6.fc12
uuid: 020684e0

Comment 1 Tim Waugh 2010-01-11 14:54:01 UTC
Created attachment 382992 [details]
File: backtrace

Comment 2 Tim Waugh 2010-01-11 14:57:01 UTC
Also affects Fedora 11.

Comment 3 Mads Kiilerich 2010-01-12 19:28:09 UTC
I got this crash, and it went away when I installed hplip-gui with dependencies, so that might be usable as workaround.

pylint /usr/share/system-config-printer/system-config-printer.py|grep auto_driver
W:3981:NewPrinterGUI.init: Attribute 'auto_driver' defined outside __init__

Comment 4 Fedora Update System 2010-01-12 23:37:08 UTC
system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579

Comment 5 Fedora Update System 2010-01-12 23:38:53 UTC
system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13156

Comment 6 Fedora Update System 2010-01-15 22:03:46 UTC
system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-01-15 22:12:14 UTC
system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.