Bug 618640 - [abrt] crash in system-config-printer-1.2.3-3.fc13: system-config-printer.py:6059:getDeviceURI:AttributeError: 'NoneType' object has no attribute 'type'
[abrt] crash in system-config-printer-1.2.3-3.fc13: system-config-printer.py:...
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
13
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
abrt_hash:c321904e
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-27 08:46 EDT by zaterio
Modified: 2011-02-03 12:08 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-02-03 12:08:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (669 bytes, text/plain)
2010-07-27 08:46 EDT, zaterio
no flags Details

  None (edit)
Description zaterio 2010-07-27 08:46:48 EDT
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:6059:getDeviceURI:AttributeError: 'NoneType' object has no attribute 'type'
release: Fedora release 13 (Goddard)

backtrace
-----
system-config-printer.py:6059:getDeviceURI:AttributeError: 'NoneType' object has no attribute 'type'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 4366, in on_btnNPForward_clicked
    self.nextNPTab()
  File "/usr/share/system-config-printer/system-config-printer.py", line 4379, in nextNPTab
    self.device.uri = self.getDeviceURI()
  File "/usr/share/system-config-printer/system-config-printer.py", line 6059, in getDeviceURI
    type = self.device.type
AttributeError: 'NoneType' object has no attribute 'type'

Local variables in innermost frame:
self: <__main__.NewPrinterGUI instance at 0xa285a4c>

How to reproduce
-----
1. Try to install a network printer
2.
3.
Comment 1 zaterio 2010-07-27 08:46:50 EDT
Created attachment 434681 [details]
File: backtrace
Comment 2 Jiri Popelka 2010-07-27 12:53:45 EDT
Are you able to reproduce the crash ?
If so can you describe exact steps that lead to the crash.
I'm not able to figure out what has happened.
Thank you
Comment 3 zaterio 2010-08-07 14:08:38 EDT
Not able to reproduce crash.
I add the printer again and the error was not present.
Regards.
Comment 4 Tim Waugh 2011-02-03 12:08:27 EST
I haven't found a way to reproduce this.  self.device is set whenever a device is selected from the list, and the Forward button is not clickable until a device has been selected.

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