Bug 621396

Summary: [abrt] crash in system-config-printer-1.1.13-6.fc12: system-config-printer.py:3878:init:AttributeError: 'NoneType' object has no attribute 'device_uri'
Product: [Fedora] Fedora Reporter: cedom508
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:7a3ad4ae
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-05 12:43:38 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 cedom508 2010-08-04 22:40:43 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.32.16-141.fc12.i686
package: system-config-printer-1.1.13-6.fc12
reason: system-config-printer.py:3878:init:AttributeError: 'NoneType' object has no attribute 'device_uri'
release: Fedora release 12 (Constantine)

backtrace
-----
system-config-printer.py:3878:init:AttributeError: 'NoneType' object has no attribute 'device_uri'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 3453, in on_btnSelectDevice_clicked
    self.newPrinterGUI.init("device")
  File "/usr/share/system-config-printer/system-config-printer.py", line 3878, in init
    self.fillDeviceTab(self.mainapp.printer.device_uri)
AttributeError: 'NoneType' object has no attribute 'device_uri'

Local variables in innermost frame:
self: <__main__.NewPrinterGUI instance at 0x9cc07cc>
combobox: <gtk.ComboBox object at 0x9cca374 (GtkComboBox at 0x9d93f00)>
button: <gtk.Button object at 0x9cca34c (GtkButton at 0x9e52c18)>
dialog_mode: 'device'
label: <gtk.Label object at 0x9cdefa4 (GtkLabel at 0x9997598)>

Comment 1 cedom508 2010-08-04 22:40:46 UTC
Created attachment 436692 [details]
File: backtrace

Comment 2 Jiri Popelka 2010-08-05 08:08:56 UTC
Please update system-config-printer to latest version (1.1.19-3.fc12 at the moment).

Let me know if you still see the crash after the update.
thanks

Comment 3 Jiri Popelka 2010-08-05 12:43:38 UTC
According to reporter's words the update fixes this issue.