Bug 647340

Summary: [abrt] system-config-printer-1.2.4-1.fc13: system-config-printer.py:3138:rename_printer:AttributeError: 'NoneType' object has no attribute 'name'
Product: [Fedora] Fedora Reporter: Mike Eskenazi <michaelmeskenazi>
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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8aa27f6c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 12:08:18 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 Mike Eskenazi 2010-10-27 23:16:37 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
comment: Just tried to change the printer name, after recently adding it.
component: system-config-printer
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 2.6.33.8-149.fc13.x86_64
package: system-config-printer-1.2.4-1.fc13
reason: system-config-printer.py:3138:rename_printer:AttributeError: 'NoneType' object has no attribute 'name'
release: Fedora release 13 (Goddard)
time: 1288221348
uid: 500

backtrace
-----
system-config-printer.py:3138:rename_printer:AttributeError: 'NoneType' object has no attribute 'name'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 3086, in printer_name_edited
    self.rename_printer (name, newname)
  File "/usr/share/system-config-printer/system-config-printer.py", line 3138, in rename_printer
    self.printer.name = old_name
AttributeError: 'NoneType' object has no attribute 'name'

Local variables in innermost frame:
new_name: 'new printer name, changed in backtrace'
self: <__main__.GUI instance at 0x2c5c2d8>
rejecting: False
old_name: u'Generic-PCL-6-PCL-XL-Printer'

How to reproduce
-----
1. Tried to change name using the system>administration>printing dialog.
2. Software reported an error
3. Printing dialog is still open, running and working

Comment 1 Mike Eskenazi 2010-10-27 23:16:40 UTC
Created attachment 456113 [details]
File: backtrace

Comment 2 Tim Waugh 2010-10-28 12:08:18 UTC
Looks like a duplicate of bug #625502 for which there is a fix in updates-testing.

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