Bug 700562

Summary: [abrt] system-config-printer-1.3.2-2.fc15: system-config-printer.py:1517:rename_printer:AttributeError: 'GUI' object has no attribute 'printer'
Product: [Fedora] Fedora Reporter: Adrin Jalali <adrin.jalali>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5cfc0501c7d75488a0b0d705121f8a5e28183fc2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-13 10:05:50 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 Adrin Jalali 2011-04-28 16:44:09 UTC
abrt version: 2.0.1
executable: /usr/share/system-config-printer/system-config-printer.py
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
component: system-config-printer
package: system-config-printer-1.3.2-2.fc15
kernel: 2.6.38.3-18.fc15.x86_64
reason: system-config-printer.py:1517:rename_printer:AttributeError: 'GUI' object has no attribute 'printer'
uid: 500
architecture: x86_64
username: adrin
os_release: Fedora release 15 (Lovelock)
time: 1304008943

backtrace
-----
system-config-printer.py:1517:rename_printer:AttributeError: 'GUI' object has no attribute 'printer'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1446, in printer_name_edited
    self.rename_printer (name, newname)
  File "/usr/share/system-config-printer/system-config-printer.py", line 1517, in rename_printer
    if not self.printer:
AttributeError: 'GUI' object has no attribute 'printer'

Local variables in innermost frame:
new_name: 'HPLaserJ'
self: <GUI object at 0x264c3c0 (uninitialized at 0x0)>
rejecting: False
old_name: u'Generic-text-only'

Comment 1 Adrin Jalali 2011-04-28 16:44:14 UTC
Created attachment 495602 [details]
File: backtrace

Comment 2 Jiri Popelka 2011-04-29 11:57:57 UTC
Are you able to reproduce it or did it happen only once ?

Comment 3 Adrin Jalali 2011-04-29 12:18:59 UTC
I didnot know the exact printer varsion. I was trying to add the printer.

Something was strange. When I did a restart on CUPS, the client could not find printer types.

Meanwhile I found that there is an update for CUPS, I updated and the same time I found the exact printer model.

So I can not reproduce the crash.

Comment 4 Tim Waugh 2011-05-13 10:05:50 UTC
Looks like a duplicate then.

From the information in the bug report it looks like you were trying to edit the name of the printer.  Do you remember anything about doing that?  E.g. what the name was, what you were trying to rename it to?

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

Comment 5 Adrin Jalali 2011-05-13 10:36:32 UTC
Yes, I remember changing the name from something general to the HP one I think.