[X2Go-Dev] CUPS-X2GO problem after update
Mihai Moldovan
ionic at ionic.de
Mon Jun 15 14:39:23 CEST 2015
On 15.06.2015 02:24 PM, Helmer Teles wrote:
> No joy.
> With debug enabled and after adjusting line 25 with use File::Temp qw(
> tempfile );
>
> D [15/Jun/2015:13:20:24 +0100] [Job 47] Started backend
> /usr/lib/cups/backend/cups-x2go (PID 11744)
> D [15/Jun/2015:13:20:24 +0100] [Job 47] Error in tempfile() using /tmp/47-
> tes_fds-
> cupsjob11744.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX:
> The template must end with at least 4 'X' characters
> D [15/Jun/2015:13:20:24 +0100] [Job 47] at /usr/lib/cups/backend/cups-x2go
> line 227
Ah! Wait, this did fix your problem. You're just running into another one now.
This shouldn't end in
".pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX.pdfX"
but in ".XXXXXXXXXXXXXXXX".
Please change lines 201 to 203 to:
my $ps_template = $template . "X" x 16;
my $pdf_template = $template . ".pdf" . "X" x 16;
my $title_template = $template . ".pdf.title" . "X" x 16;
My bad on that one, too...
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150615/63316e0d/attachment.pgp>
More information about the x2go-dev
mailing list