Bug 650226

Summary: [abrt] system-config-printer-1.2.4-2.fc14: system-config-printer.py:3152:rename_printer:AttributeError: 'NoneType' object has no attribute 'setAccepting'
Product: [Fedora] Fedora Reporter: Pierre-YvesChibon <pingou>
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: 14CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e14f5182
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-05 15:10:30 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 Pierre-YvesChibon 2010-11-05 14:50:43 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
comment: I was trying to rename the printer.
component: system-config-printer
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 2.6.35.6-45.fc14.x86_64
package: system-config-printer-1.2.4-2.fc14
reason: system-config-printer.py:3152:rename_printer:AttributeError: 'NoneType' object has no attribute 'setAccepting'
release: Fedora release 14 (Laughlin)
time: 1288968554
uid: 500

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

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 3152, in rename_printer
    self.printer.setAccepting (True)
AttributeError: 'NoneType' object has no attribute 'setAccepting'

Local variables in innermost frame:
new_name: 'NRG-MP-4500-BW'
self: <__main__.GUI instance at 0x1fc7b00>
rejecting: False
old_name: u'NRG-MP-4500'

How to reproduce
-----
1. system-config-printer
2. rigth click on the printer
3. rename
4. add "-BW" at the end
5. crash

Comment 1 Pierre-YvesChibon 2010-11-05 14:50:46 UTC
Created attachment 458113 [details]
File: backtrace

Comment 2 Tim Waugh 2010-11-05 15:10:30 UTC

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