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