[Pkg-cups-devel] Bug#531001: Cups fails when the printers don't have paper. ERROR: 41002 media-empty-error; will retry in 30 seconds...

Maximi89 maximi89 at gmail.com
Fri May 29 06:23:37 UTC 2009


package: cups
Version: 1.3.10-2

When the printer rouns out of paper, this gives an error on
/var/log/cups/error_lorg
this need to shutdown the printer, stop the service and remove the
queue, why this don't retry to print on 30 seconds?
i have an a HP printer Laserjet P1005, i'm using hplip.

[Job 260] prnt/backend/hp.c 587: ERROR: 41002 media-empty-error; will
retry in 30 seconds...


/var/log/cups/error_log:
D [29/May/2009:01:50:16 -0400] [CGI] /usr/lib/cups/cgi-bin/jobs.cgi
started - PID = 18306
I [29/May/2009:01:50:16 -0400] Started
"/usr/lib/cups/cgi-bin/jobs.cgi" (pid=18306)
D [29/May/2009:01:50:16 -0400] cupsdSendCommand: 26 file=27
D [29/May/2009:01:50:16 -0400] cupsdAcceptClient: 31 from localhost
(Domain)
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] cupsdReadClient: 31 POST / HTTP/1.1
D [29/May/2009:01:50:16 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:16 -0400] Get-Jobs ipp://localhost/
D [29/May/2009:01:50:16 -0400] cupsdProcessIPPRequest: 31
status_code=0 (successful-ok)
D [29/May/2009:01:50:16 -0400] Script header: Content-Type:
text/html;charset=utf-8
D [29/May/2009:01:50:16 -0400] Script header:
D [29/May/2009:01:50:16 -0400] PID 18306
(/usr/lib/cups/cgi-bin/jobs.cgi) exited with no errors.
D [29/May/2009:01:50:16 -0400] cupsdCloseClient: 31
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:16 -0400] cupsdReadClient: 24 GET
/images/button-show-completed.gif HTTP/1.1
D [29/May/2009:01:50:16 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:16 -0400] cupsdReadClient: 25 GET
/images/button-show-all.gif HTTP/1.1
D [29/May/2009:01:50:16 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:16 -0400] cupsdReadClient: 29 GET
/images/button-restart-job.gif HTTP/1.1
D [29/May/2009:01:50:16 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:16 -0400] cupsdReadClient: 28 GET
/images/button-cancel-job.gif HTTP/1.1
D [29/May/2009:01:50:16 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:16 -0400] cupsdReadClient: 30 GET
/images/button-move-job.gif HTTP/1.1
D [29/May/2009:01:50:16 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:21 -0400] cupsdReadClient: 26 GET /printers/
HTTP/1.1
D [29/May/2009:01:50:21 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:21 -0400] [CGI]
/usr/lib/cups/cgi-bin/printers.cgi started - PID = 18313
I [29/May/2009:01:50:21 -0400] Started
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=18313)
D [29/May/2009:01:50:21 -0400] cupsdSendCommand: 26 file=27
D [29/May/2009:01:50:21 -0400] cupsdAcceptClient: 31 from localhost
(Domain)
D [29/May/2009:01:50:21 -0400] cupsdReadClient: 31 POST / HTTP/1.1
D [29/May/2009:01:50:21 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:21 -0400] CUPS-Get-Default
D [29/May/2009:01:50:21 -0400] cupsdProcessIPPRequest: 31
status_code=0 (successful-ok)
D [29/May/2009:01:50:21 -0400] cupsdReadClient: 31 POST / HTTP/1.1
D [29/May/2009:01:50:21 -0400] cupsdAuthorize: No authentication data
provided.
D [29/May/2009:01:50:21 -0400] CUPS-Get-Printers
D [29/May/2009:01:50:21 -0400] cupsdProcessIPPRequest: 31
status_code=0 (successful-ok)
D [29/May/2009:01:50:21 -0400] [CGI]
show_all_printers(http=0xb8f52af0, user="(null)")
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:21 -0400] Script header: Content-Type:
text/html;charset=utf-8
D [29/May/2009:01:50:21 -0400] Script header:
D [29/May/2009:01:50:21 -0400] PID 18313
(/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [29/May/2009:01:50:21 -0400] cupsdCloseClient: 31
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:21 -0400] [CGI] lang="es.UTF8", locale="/es"...
D [29/May/2009:01:50:27 -0400] [Job 260] prnt/backend/hp.c 587: ERROR:
41002 media-empty-error; will retry in 30 seconds...
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 15
D [29/May/2009:01:50:45 -0400] Report: clients=16
D [29/May/2009:01:50:45 -0400] Report: jobs=46
D [29/May/2009:01:50:45 -0400] Report: jobs-active=1
D [29/May/2009:01:50:45 -0400] Report: printers=2
D [29/May/2009:01:50:45 -0400] Report: printers-implicit=0
D [29/May/2009:01:50:45 -0400] Report: stringpool-string-count=664
D [29/May/2009:01:50:45 -0400] Report: stringpool-alloc-bytes=8872
D [29/May/2009:01:50:45 -0400] Report: stringpool-total-bytes=13960
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 9
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 13
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 14
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 16
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 18
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 19
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 20
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 21
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 22
D [29/May/2009:01:50:45 -0400] cupsdCloseClient: 23
D [29/May/2009:01:50:57 -0400] [Job 260] prnt/backend/hp.c 587: ERROR:
41002 media-empty-error; will retry in 30 seconds...
D [29/May/2009:01:51:18 -0400] cupsdCloseClient: 29
D [29/May/2009:01:51:18 -0400] cupsdCloseClient: 28
D [29/May/2009:01:51:18 -0400] cupsdCloseClient: 30
D [29/May/2009:01:51:18 -0400] cupsdCloseClient: 24
D [29/May/2009:01:51:18 -0400] cupsdCloseClient: 25
D [29/May/2009:01:51:27 -0400] [Job 260] prnt/backend/hp.c 587: ERROR:
41002 media-empty-error; will retry in 30 seconds...
D [29/May/2009:01:51:33 -0400] cupsdCloseClient: 26
D [29/May/2009:01:51:45 -0400] Report: clients=0
D [29/May/2009:01:51:45 -0400] Report: jobs=46
D [29/May/2009:01:51:45 -0400] Report: jobs-active=1
D [29/May/2009:01:51:45 -0400] Report: printers=2
D [29/May/2009:01:51:45 -0400] Report: printers-implicit=0
D [29/May/2009:01:51:45 -0400] Report: stringpool-string-count=664
D [29/May/2009:01:51:45 -0400] Report: stringpool-alloc-bytes=8872
D [29/May/2009:01:51:45 -0400] Report: stringpool-total-bytes=13960
D [29/May/2009:01:51:57 -0400] [Job 260] prnt/backend/hp.c 587: ERROR:
41002 media-empty-error; will retry in 30 seconds...

this are in italian lang:
http://www.slacky.eu/forum/viewtopic.php?p=201952
-- 
Maximiliano Augusto Castañón Araneda
Santiago, Chile
Linux user # 394821





More information about the Pkg-cups-devel mailing list