Bug 619095

Summary: [abrt] crash in system-config-printer-1.2.3-3.fc13: system-config-printer.py:3675:checkNPName:AttributeError: GUI instance has no attribute 'printers'
Product: [Fedora] Fedora Reporter: pierpaolo.franco
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:6ad655e2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-29 10:25:23 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:
Attachments:
Description Flags
File: backtrace none

Description pierpaolo.franco 2010-07-28 14:49:26 UTC
abrt 1.1.1 detected a crash.

architecture: i686
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.33.6-147.fc13.i686
package: system-config-printer-1.2.3-3.fc13
reason: system-config-printer.py:3675:checkNPName:AttributeError: GUI instance has no attribute 'printers'
release: Fedora release 13 (Goddard)

backtrace
-----
system-config-printer.py:3675:checkNPName:AttributeError: GUI instance has no attribute 'printers'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 6441, in on_tvNPModels_cursor_changed
    self.on_tvNPDrivers_cursor_changed(self.tvNPDrivers)
  File "/usr/share/system-config-printer/system-config-printer.py", line 6444, in on_tvNPDrivers_cursor_changed
    self.setNPButtons()
  File "/usr/share/system-config-printer/system-config-printer.py", line 4732, in setNPButtons
    self.mainapp.checkNPName(self.entNPName.get_text()))
  File "/usr/share/system-config-printer/system-config-printer.py", line 3675, in checkNPName
    for printer in self.printers.values():
AttributeError: GUI instance has no attribute 'printers'

Local variables in innermost frame:
self: <__main__.GUI instance at 0x9b78bcc>
name: u'dell-laser-mfp1815'

Comment 1 pierpaolo.franco 2010-07-28 14:49:29 UTC
Created attachment 435038 [details]
File: backtrace

Comment 2 Jiri Popelka 2010-07-29 10:25:23 UTC
Same problem as in bug #618815,
i.e. missing attribute (GUI.printers this time).

GUI.printers gets initialized (self.printers = {}) in __init__()
and is only deleted on Quit.

*** This bug has been marked as a duplicate of bug 618815 ***

Comment 3 Jiri Popelka 2010-07-29 10:31:26 UTC
Actually it's duplicate of much older bug.

*** This bug has been marked as a duplicate of bug 589793 ***