[cups] "Aborting job because it has no files."

Szabolcs Csermák csermak.szabolcs at gmail.com
Wed Nov 23 08:14:24 PST 2016


Hello Helge!

Thank you for your answer!

I have set the LogLevel to debug, and wait for an aborted job.

The error log for this job (18094):

I [23/Nov/2016:17:02:32 +0100] [Job 18094] Adding end banner page "none".
D [23/Nov/2016:17:02:32 +0100] Discarding unused job-state-changed event...
I [23/Nov/2016:17:02:32 +0100] [Job 18094] Job submission timed out.
D [23/Nov/2016:17:02:32 +0100] cupsdMarkDirty(---J-)
D [23/Nov/2016:17:02:32 +0100] cupsdSetBusyState: newbusy="Dirty
files", busy="Not busy"
D [23/Nov/2016:17:02:32 +0100] cupsdSetBusyState: newbusy="Dirty
files", busy="Dirty files"
D [23/Nov/2016:17:02:32 +0100] [Job 18094] time-at-completed=1479916952
D [23/Nov/2016:17:02:32 +0100] Discarding unused job-completed event...
E [23/Nov/2016:17:02:32 +0100] [Job 18094] Aborting job because it has no files.
I [23/Nov/2016:17:02:32 +0100] Expiring subscriptions...
D [23/Nov/2016:17:02:32 +0100] Securely removing "/var/spool/cups/a18094".
D [23/Nov/2016:17:02:32 +0100] cupsdMarkDirty(---J-)

What does "job submission timed out" means?

We are using "lp" command in a loop, printing one ticket at every
time. So I we want to print 150 tickets, the lp command executes 150
times.

Best,
Szabolcs


2016-11-23 16:20 GMT+01:00 Helge Blischke <helgeblischke at web.de>:
>
>> Am 23.11.2016 um 13:37 schrieb Csermák Szabolcs <csermak.szabolcs at gmail.com>:
>>
>> Dear All,
>>
>> I am facing to a serius problem.
>> We are using BOCA ticket printer, and sometimes the printing fails on ubuntu 16.04
>>
>> On a successful print, I can see two lines in the cups access log, e.g.:
>>
>> localhost - root [23/Nov/2016:13:07:44 +0100] "POST /printers/testfile HTTP/1.1" 200 330 Create-Job successful-ok
>> localhost - root [23/Nov/2016:13:07:44 +0100] "POST /printers/testfile HTTP/1.1" 200 808 Send-Document successful-ok
>>
>> But sometimes the second line missing, so there is no "Send-Document". It is resulting in an error, e.g:
>>
>> E [23/Nov/2016:13:22:37 +0100] [Job 14550] Aborting job because it has no files.
>>
>> I have created a "copy" of this printer, and set it to print to file. I can reproduce the problem in this way as well. (BTW, the file does not created.)
>>
>> What should I check?
>>
>> Waiting for your answer,
>> Best,
>> Szabolcs
>>
>>
>
> Set the debug level to debug and search for the
> [Job xxxx]
> messages (where xxxx is the job ID) and post these messages.
> Need to know first which filters are involved when printing to this type of printer.
>
> Helge
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups



More information about the cups mailing list