Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
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:...
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2011-02-03 12:08:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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
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)

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
  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
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.
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.