Bug 694629 - [abrt] system-config-printer-1.3.2-2.fc15: system-config-printer.py:1580:duplicate_printer:AttributeError: 'NoneType' object has no attribute '_end_operation'
Summary: [abrt] system-config-printer-1.3.2-2.fc15: system-config-printer.py:1580:dupl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 15
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:34230fb3
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 19:31 UTC by Nicholai Cornilliac
Modified: 2011-06-21 17:13 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.3.3-1.fc15
Clone Of:
Environment:
Last Closed: 2011-06-21 17:13:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (754 bytes, text/plain)
2011-04-07 19:31 UTC, Nicholai Cornilliac
no flags Details

Description Nicholai Cornilliac 2011-04-07 19:31:22 UTC
abrt version: 2.0.0
architecture: i686
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
executable: /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.2-9.fc15.i686.PAE
reason: system-config-printer.py:1580:duplicate_printer:AttributeError: 'NoneType' object has no attribute '_end_operation'
uid: 500
username: nmc
os_release: Fedora release 15 (Lovelock)
time: 1302203357

comment
-----
using "system-config-printer"

Adding a new network printer, and it finds the appropriate drivers fine. And the last step where I set the description names and click apply i get the error .. it appears as though CUPS server crashes and I lose connection to it and so I cannot compete the adding of the printer. It was an HP M3035 MFP

backtrace
-----
system-config-printer.py:1580:duplicate_printer:AttributeError: 'NoneType' object has no attribute '_end_operation'

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 1499, in rename_printer
    if self.duplicate_printer (new_name):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1580, in duplicate_printer
    self.cups._end_operation ()
AttributeError: 'NoneType' object has no attribute '_end_operation'

Local variables in innermost frame:
new_name: 'HP3035'
self: <GUI object at 0xa41d75c (uninitialized at 0x0)>
ret: True

Comment 1 Nicholai Cornilliac 2011-04-07 19:31:25 UTC
Created attachment 490625 [details]
File: backtrace

Comment 2 Tim Waugh 2011-04-07 21:28:41 UTC
Should be fixed upstream in 7bf5c97.

Comment 3 Fedora Update System 2011-06-03 11:34:49 UTC
system-config-printer-1.3.3-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/system-config-printer-1.3.3-1.fc15

Comment 4 Fedora Update System 2011-06-04 03:04:22 UTC
Package system-config-printer-1.3.3-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.3.3-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/system-config-printer-1.3.3-1.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-06-21 17:12:31 UTC
system-config-printer-1.3.3-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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