Bug 1145388

Summary: [abrt] system-config-printer: system-config-printer.py:808:populateList:AttributeError: 'GUI' object has no attribute 'mainlist'
Product: [Fedora] Fedora Reporter: Lanny Bland <blanlan>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: blanlan, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bca9827d5866f4e5eacc12ab7a389d8c9f7896a9
Whiteboard: abrt_hash:4fe99c9dca60016db9e5725b570d9e0186a910d4
Fixed In Version: system-config-printer-1.4.7-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-15 09:20:02 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
File: environ none

Description Lanny Bland 2014-09-23 01:32:35 UTC
Version-Release number of selected component:
system-config-printer-1.4.3-2.fc19

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list:       pygobject3-base-3.8.3-1.fc19.x86_64
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.9.5-301.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
system-config-printer.py:808:populateList:AttributeError: 'GUI' object has no attribute 'mainlist'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gi/overrides/GLib.py", line 629, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/share/system-config-printer/system-config-printer.py", line 2042, in deferred_refresh
    self.populateList (prompt_allowed=False)
  File "/usr/share/system-config-printer/system-config-printer.py", line 808, in populateList
    self.mainlist.clear ()
AttributeError: 'GUI' object has no attribute 'mainlist'

Local variables in innermost frame:
userdef: None
printer: <cupshelpers.Printer "Canon-PIXMA-MG5300">
name: u'Canon-PIXMA-MG5300'
paths: []
self: <GUI object at 0x1b46820 (uninitialized at 0x0)>
local_classes: []
remote_printers: []
prompt_allowed: False
kill_connection: False
local_printers: [u'Canon-PIXMA-MG5300']
printers_set: {u'Canon-PIXMA-MG5300': <cupshelpers.Printer "Canon-PIXMA-MG5300">}
delete_action: <Action object at 0x1e1de60 (GtkAction at 0x1dd9730)>
selected_printers: set([])
model: None
remote_classes: []

Comment 1 Lanny Bland 2014-09-23 01:32:37 UTC
Created attachment 940230 [details]
File: backtrace

Comment 2 Lanny Bland 2014-09-23 01:32:37 UTC
Created attachment 940231 [details]
File: environ

Comment 3 Tim Waugh 2014-09-23 08:47:25 UTC
Do you recall what you were doing at the time? Had you just started using system-config-printer? Were you using it to perform some action? Did you succeed?

Comment 4 Lanny Bland 2014-10-27 12:18:18 UTC
Sorry, I don'thave any idea what happened. I was not even aware I had system-config-printer. My printer is working but I need to restart the computer often for the info to be sent to the printer.

Comment 6 Fedora Update System 2014-11-10 18:46:17 UTC
system-config-printer-1.4.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.7-1.fc20

Comment 7 Fedora Update System 2014-11-12 02:44:16 UTC
Package system-config-printer-1.4.7-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.7-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14778/system-config-printer-1.4.7-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-11-15 09:20:02 UTC
system-config-printer-1.4.7-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.