Bug 554372 - [abrt] traceback with driver selection
Summary: [abrt] traceback with driver selection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 11
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:020684e0
Depends On:
Blocks: 554376
TreeView+ depends on / blocked
 
Reported: 2010-01-11 14:53 UTC by Tim Waugh
Modified: 2010-01-15 22:13 UTC (History)
4 users (show)

Fixed In Version: 1.1.16-8.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 554376 (view as bug list)
Environment:
Last Closed: 2010-01-15 22:05:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.51 KB, text/plain)
2010-01-11 14:54 UTC, Tim Waugh
no flags Details

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.


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