Bug 700562 - [abrt] system-config-printer-1.3.2-2.fc15: system-config-printer.py:1517:rename_printer:AttributeError: 'GUI' object has no attribute 'printer'
Summary: [abrt] system-config-printer-1.3.2-2.fc15: system-config-printer.py:1517:rena...
Keywords:
Status: CLOSED DUPLICATE of bug 670202
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5cfc0501c7d75488a0b0d705121...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-28 16:44 UTC by Adrin Jalali
Modified: 2011-05-13 10:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-05-13 10:05:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (618 bytes, text/plain)
2011-04-28 16:44 UTC, Adrin Jalali
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.