Bug 635538

Summary: [abrt] system-config-printer-1.1.19-3.fc12: system-config-printer.py:2986:rename_printer:AttributeError: 'NoneType' object has no attribute 'name'
Product: [Fedora] Fedora Reporter: JokeDude <enricop>
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: 12CC: jpopelka, twaugh
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:5025f7e9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-20 16:20:37 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 JokeDude 2010-09-20 06:11:08 UTC
abrt version: 1.1.13
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.35
package: system-config-printer-1.1.19-3.fc12
reason: system-config-printer.py:2986:rename_printer:AttributeError: 'NoneType' object has no attribute 'name'
release: Fedora release 12 (Constantine)
time: 1284962908
uid: 500

backtrace
-----
system-config-printer.py:2986: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 2934, in printer_name_edited
    self.rename_printer (name, newname)
  File "/usr/share/system-config-printer/system-config-printer.py", line 2986, in rename_printer
    self.printer.name = old_name
AttributeError: 'NoneType' object has no attribute 'name'

Local variables in innermost frame:
new_name: 'OKI 5221 - JHB North'
self: <__main__.GUI instance at 0xa0a72cc>
rejecting: False
old_name: u'HP-LaserJet-1320n'

How to reproduce
-----
1. Added the printer
2. Tried to rename the printer, causing crash.
3.

Comment 1 JokeDude 2010-09-20 06:11:11 UTC
Created attachment 448360 [details]
File: backtrace

Comment 2 Jiri Popelka 2010-09-20 10:38:03 UTC

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

Comment 3 Jiri Popelka 2010-09-20 16:20:37 UTC

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