Bug 5821 - thinlocal (and nearest?) don't handle jobs with multiple files
Summary: thinlocal (and nearest?) don't handle jobs with multiple files
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Printing (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Henrik Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-17 16:22 CET by Pierre Ossman
Modified: 2016-03-22 10:15 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2016-03-17 16:22:55 CET
Doing this:

$ lpr -P thinlocal a b c

Ends up with a being printed and the job stuck in the queue waiting on b and c. Not sure what the mechanism is supposed to be here, but here's what's in error_log:

> I [17/Mar/2016:16:04:51 +0100] [Job 15] Adding start banner page "none".
> I [17/Mar/2016:16:04:51 +0100] [Job 15] Queued on "thinlocal" by "cendio".
> D [17/Mar/2016:16:04:51 +0100] [Job 15] Auto-typing file...
> D [17/Mar/2016:16:04:51 +0100] [Job 15] Request file type is application/pdf.
> I [17/Mar/2016:16:04:51 +0100] [Job 15] File of type application/pdf queued by "cendio".
> D [17/Mar/2016:16:04:52 +0100] [Job 15] Auto-typing file...
> D [17/Mar/2016:16:04:52 +0100] [Job 15] Request file type is application/pdf.
> I [17/Mar/2016:16:04:52 +0100] [Job 15] File of type application/pdf queued by "cendio".
> D [17/Mar/2016:16:04:52 +0100] [Job 15] Auto-typing file...
> D [17/Mar/2016:16:04:52 +0100] [Job 15] Request file type is application/pdf.
> I [17/Mar/2016:16:04:52 +0100] [Job 15] File of type application/pdf queued by "cendio".
> I [17/Mar/2016:16:04:52 +0100] [Job 15] Adding end banner page "none".
> D [17/Mar/2016:16:04:52 +0100] [Job 15] time-at-processing=1458227092
> D [17/Mar/2016:16:04:52 +0100] [Job 15] 1 filters for job:
> D [17/Mar/2016:16:04:52 +0100] [Job 15] - (application/pdf to printer/thinlocal, cost 0)
> D [17/Mar/2016:16:04:52 +0100] [Job 15] job-sheets=none,none
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[0]="thinlocal"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[1]="15"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[2]="cendio"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[3]="invoicesample.pdf"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[4]="1"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[5]="finishings=3 number-up=1 PageSize=A4 job-uuid=urn:uuid:2de4a548-c222-3e21-6538-f603240e038d job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1458227091 time-at-processing=1458227092 document-name-supplied=invoicesample.pdf document-name-supplied=lemon_jelly.pdf document-name-supplied=PrinceCatalogue.pdf"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[6]="/var/spool/cups/d00015-001"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[1]="CUPS_DATADIR=/usr/share/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[6]="CUPS_SERVERROOT=/etc/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[7]="CUPS_STATEDIR=/var/run/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[8]="HOME=/var/spool/cups/tmp"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[10]="SERVER_ADMIN=root@dhcp-254-99.lkpg.cendio.se"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[11]="SOFTWARE=CUPS/2.1.3"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[12]="TMPDIR=/var/spool/cups/tmp"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[13]="USER=root"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[14]="CUPS_MAX_MESSAGE=2047"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[16]="CUPS_ENCRYPTION=IfRequested"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[17]="IPP_PORT=631"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[18]="CHARSET=utf-8"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[19]="LANG=sv_SE.UTF-8"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[20]="PPD=/etc/cups/ppd/thinlocal.ppd"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[21]="RIP_MAX_CACHE=128m"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[22]="CONTENT_TYPE=application/pdf"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[23]="DEVICE_URI=thinlocal:/"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[24]="PRINTER_INFO=thinlocal printer (special queue)"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[25]="PRINTER_LOCATION=The thin clients local printer"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[26]="PRINTER=thinlocal"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[27]="PRINTER_STATE_REASONS=none"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[28]="CUPS_FILETYPE=document"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[29]="FINAL_CONTENT_TYPE=printer/thinlocal"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[30]="AUTH_I****"
> I [17/Mar/2016:16:04:52 +0100] [Job 15] Started backend /usr/lib/cups/backend/thinlocal (PID 4891)
> W [17/Mar/2016:16:04:52 +0100] [Job 15] Options: {\'finishings\': \'3\', \'time-at-creation\': \'1458227091\', \'document-name-supplied\': \'PrinceCatalogue.pdf\', \'PageSize\': \'A4\', \'time-at-processing\': \'1458227092\', \'number-up\': \'1\', \'date-time-at-processing\': \'\', \'job-uuid\': \'urn:uuid:2de4a548-c222-3e21-6538-f603240e038d\', \'date-time-at-creation\': \'\', \'job-originating-host-name\': \'localhost\'}
> D [17/Mar/2016:16:04:52 +0100] [Job 15] Set job-printer-state-message to "Options: {\'finishings\': \'3\', \'time-at-creation\': \'1458227091\', \'document-name-supplied\': \'PrinceCatalogue.pdf\', \'PageSize\': \'A4\', \'time-at-processing\': \'1458227092\', \'number-up\': \'1\', \'date-time-at-processing\': \'\', \'job-uuid\': \'urn:uuid:2de4a548-c222-3e21-6538-f603240e038d\', \'date-time-at-creation\': \'\', \'job-originating-host-name\': \'localhost\'}", current level=WARN
> I [17/Mar/2016:16:04:52 +0100] [Job 15] Sending job to queue thinlocal@127.0.0.1:4913
> D [17/Mar/2016:16:04:52 +0100] [Job 15] 1 filters for job:
> D [17/Mar/2016:16:04:52 +0100] [Job 15] - (application/pdf to printer/thinlocal, cost 0)
> D [17/Mar/2016:16:04:52 +0100] [Job 15] job-sheets=none,none
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[0]="thinlocal"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[1]="15"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[2]="cendio"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[3]="invoicesample.pdf"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[4]="1"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[5]="finishings=3 number-up=1 PageSize=A4 job-uuid=urn:uuid:2de4a548-c222-3e21-6538-f603240e038d job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1458227091 time-at-processing=1458227092 document-name-supplied=invoicesample.pdf document-name-supplied=lemon_jelly.pdf document-name-supplied=PrinceCatalogue.pdf"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] argv[6]="/var/spool/cups/d00015-002"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[1]="CUPS_DATADIR=/usr/share/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[6]="CUPS_SERVERROOT=/etc/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[7]="CUPS_STATEDIR=/var/run/cups"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[8]="HOME=/var/spool/cups/tmp"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[10]="SERVER_ADMIN=root@dhcp-254-99.lkpg.cendio.se"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[11]="SOFTWARE=CUPS/2.1.3"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[12]="TMPDIR=/var/spool/cups/tmp"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[13]="USER=root"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[14]="CUPS_MAX_MESSAGE=2047"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[16]="CUPS_ENCRYPTION=IfRequested"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[17]="IPP_PORT=631"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[18]="CHARSET=utf-8"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[19]="LANG=sv_SE.UTF-8"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[20]="PPD=/etc/cups/ppd/thinlocal.ppd"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[21]="RIP_MAX_CACHE=128m"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[22]="CONTENT_TYPE=application/pdf"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[23]="DEVICE_URI=thinlocal:/"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[24]="PRINTER_INFO=thinlocal printer (special queue)"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[25]="PRINTER_LOCATION=The thin clients local printer"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[26]="PRINTER=thinlocal"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[27]="PRINTER_STATE_REASONS=none"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[28]="CUPS_FILETYPE=document"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[29]="FINAL_CONTENT_TYPE=printer/thinlocal"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] envp[30]="AUTH_I****"
> D [17/Mar/2016:16:04:52 +0100] [Job 15] PID 4891
> (/usr/lib/cups/backend/thinlocal) exited with no errors.

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