Bug 1159584 - [abrt] system-config-printer: authconn.py:256:_authloop:IPPError: (0, 'Operation canceled')
Summary: [abrt] system-config-printer: authconn.py:256:_authloop:IPPError: (0, 'Operat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:eb10a7bb7b6619811dddc79b1cd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-01 20:51 UTC by Michael Feinberg
Modified: 2014-11-17 06:32 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.5.4-1.fc21
Clone Of:
Environment:
Last Closed: 2014-11-15 09:20:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (994 bytes, text/plain)
2014-11-01 20:51 UTC, Michael Feinberg
no flags Details
File: environ (1.16 KB, text/plain)
2014-11-01 20:52 UTC, Michael Feinberg
no flags Details

Description Michael Feinberg 2014-11-01 20:51:57 UTC
Description of problem:
I tried to add and use a HP P1606dn which is connected to my router.  It would not print even though it is "ready to print."  I rebooted and got this error

Version-Release number of selected component:
system-config-printer-1.4.6-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list:       system-config-printer-libs-1.4.6-1.fc20.noarch
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
authconn.py:256:_authloop:IPPError: (0, 'Operation canceled')

Traceback (most recent call last):
  File "/usr/share/system-config-printer/serversettings.py", line 369, in on_response
    self.saveAdvanced ()
  File "/usr/share/system-config-printer/serversettings.py", line 492, in saveAdvanced
    self.cupsconn.putFile ("/admin/conf/cupsd.conf", fd=fd)
  File "/usr/share/system-config-printer/authconn.py", line 225, in <lambda>
    return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
  File "/usr/share/system-config-printer/authconn.py", line 256, in _authloop
    raise cups.IPPError (0, _("Operation canceled"))
IPPError: (0, 'Operation canceled')

Local variables in innermost frame:
c: <cupspk.Connection instance at 0x26b6b48>
retry: False
e: 1027
kwds: {'fd': 22}
self: <authconn.Connection instance at 0x1e5b368>
args: ('/admin/conf/cupsd.conf',)
m: u'pkcancel'
fname: 'putFile'
fn: <bound method Connection.putFile of <cupspk.Connection instance at 0x26b6b48>>

Comment 1 Michael Feinberg 2014-11-01 20:51:59 UTC
Created attachment 952825 [details]
File: backtrace

Comment 2 Michael Feinberg 2014-11-01 20:52:00 UTC
Created attachment 952826 [details]
File: environ

Comment 3 Tim Waugh 2014-11-03 11:54:01 UTC
Upstream change to catch this and show a dialog:
https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?h=1.4.x&id=3f8cd885595eddf5d6b07c026c196be152c5de35

Comment 4 Fedora Update System 2014-11-10 18:07:03 UTC
system-config-printer-1.5.4-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.4-1.fc21

Comment 5 Fedora Update System 2014-11-10 18:46:18 UTC
system-config-printer-1.4.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.7-1.fc20

Comment 6 Fedora Update System 2014-11-12 02:40:20 UTC
Package system-config-printer-1.5.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 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.5.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14750/system-config-printer-1.5.4-1.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-11-15 09:20:03 UTC
system-config-printer-1.4.7-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-11-17 06:32:53 UTC
system-config-printer-1.5.4-1.fc21 has been pushed to the Fedora 21 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.