Bug 743886 - Unable to cancel print job for paused queue
Summary: Unable to cancel print job for paused queue
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-06 11:50 UTC by Tim Waugh
Modified: 2011-11-21 22:50 UTC (History)
3 users (show)

Fixed In Version: cups-pk-helper-0.1.3-3.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-18 17:12:51 UTC
Type: ---


Attachments (Terms of Use)

Description Tim Waugh 2011-10-06 11:50:01 UTC
Description of problem:
When trying to cancel a print job, the stop/pause buttons become insensitive but the job is still there in the queue.  This message appears in .xsession-errors:

(gnome-control-center:22077): printers-cc-panel-WARNING **: successful-ok

These messages appear in /var/log/cups/error_log (with debug-logging enabled):

D [06/Oct/2011:12:48:14 +0100] Report: clients=4
D [06/Oct/2011:12:48:14 +0100] Report: jobs=5
D [06/Oct/2011:12:48:14 +0100] Report: jobs-active=2
D [06/Oct/2011:12:48:14 +0100] Report: printers=1
D [06/Oct/2011:12:48:14 +0100] Report: printers-implicit=0
D [06/Oct/2011:12:48:14 +0100] Report: stringpool-string-count=6071
D [06/Oct/2011:12:48:14 +0100] Report: stringpool-alloc-bytes=11384
D [06/Oct/2011:12:48:14 +0100] Report: stringpool-total-bytes=117392
D [06/Oct/2011:12:48:14 +0100] cupsdAcceptClient: skipping getpeercon()
D [06/Oct/2011:12:48:14 +0100] cupsdAcceptClient: 14 from localhost (Domain)
D [06/Oct/2011:12:48:14 +0100] cupsdReadClient: 14 POST / HTTP/1.1
D [06/Oct/2011:12:48:14 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [06/Oct/2011:12:48:14 +0100] cupsdAuthorize: No authentication data provided.
D [06/Oct/2011:12:48:14 +0100] cupsdReadClient: 14 1.1 Get-Job-Attributes 1
D [06/Oct/2011:12:48:14 +0100] Get-Job-Attributes ipp://localhost/jobs/22
D [06/Oct/2011:12:48:14 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://localhost/jobs/22) from localhost
D [06/Oct/2011:12:48:14 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

Version-Release number of selected component (if applicable):
control-center-3.2.0-1.fc16.x86_64

How reproducible:
Happens every time at the moment.

Additional info:
$ python -c 'import cups; print cups.Connection().getJobAttributes(22)'
{'time-at-completed': None, 'time-at-processing': None, 'job-sheets': [u'none', u'none'], 'job-k-octets': 6, 'document-count': 1, 'job-media-progress': 0, 'job-uri': u'ipp://localhost:631/jobs/22', 'attributes-natural-language': u'en-gb', 'job-more-info': u'http://localhost:631/jobs/22', 'PageSize': u'A4', 'attributes-charset': u'utf-8', 'time-at-creation': 1317901525, 'job-id': 22, 'job-printer-uri': u'ipp://localhost:631/printers/Stylus-D78', 'job-state-reasons': u'printer-stopped', 'job-state': 3, 'job-printer-up-time': 1317901762, 'job-priority': 50, 'document-format': u'application/pdf', 'job-uuid': u'urn:uuid:3e4a4842-2f03-39de-5151-7d9ec123afc6', 'printer-uri': u'ipp://localhost:631/printers/Stylus-D78', 'job-hold-until': u'no-hold', 'job-media-sheets-completed': 0}

Comment 1 Tim Waugh 2011-10-06 11:52:08 UTC
Note: the printer was not enabled.  After enabling the printer, I can cancel jobs.

Comment 2 Marek Kašík 2011-10-27 14:38:32 UTC
Hi Tim,

could you try new version of cups-pk-helper (cups-pk-helper-0.1.3-3.fc16)? There was a problem related to IPP_GET_JOB_ATTRIBUTES. cups-pk-helper didn't set "requesting-user-name" for the request. It should be fixed in the build.
I've encountered the problem also for enabled queues.

Regards

Marek

Comment 3 Fedora Update System 2011-10-31 16:39:17 UTC
cups-pk-helper-0.1.3-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/cups-pk-helper-0.1.3-3.fc16

Comment 4 Tim Waugh 2011-11-18 17:12:51 UTC
All works fine now.  Thanks.

Comment 5 Fedora Update System 2011-11-21 22:50:24 UTC
cups-pk-helper-0.1.3-3.fc16 has been pushed to the Fedora 16 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.