[X2Go-Dev] CUPS-X2GO problem after update

Helmer Teles helmer.teles at gmail.com
Mon Jun 15 14:24:01 CEST 2015


Hi Mihai.

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] envp[30]="AUTH_P****"
D [15/Jun/2015:13:20:24 +0100] [Job 47] envp[31]="AUTH_U****"
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
D [15/Jun/2015:13:20:24 +0100] [Job 47] Backend returned status 25 (unknown)
D [15/Jun/2015:13:20:24 +0100] [Job 47] End of messages
D [15/Jun/2015:13:20:24 +0100] [Job 47] printer-state=3(idle)
D [15/Jun/2015:13:20:24 +0100] [Job 47] printer-state-
message="/usr/lib/cups/backend/cups-x2go failed"
D [15/Jun/2015:13:20:24 +0100] [Job 47] printer-state-reasons=none



-- 


Regards,

Helmer Teles 

http://hteles.wordpress.com

“Sent from My Linux Operating System”


Please don't send me proprietary file formats, use ISO standard ODF instead 
(ISO/IEC 26300)



On Monday 15 June 2015 14:00:06 Mihai Moldovan wrote:
> On 15.06.2015 01:48 PM, Helmer Teles wrote:
> > Hi Mihai.
> >
> > 
> >
> > strangely that's not the problem.
> >
> > 
> >
> > Server: ubuntu 12.04 
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description:    Ubuntu 12.04.5 LTS
> > Release:        12.04
> > Codename:       precise
> >
> > 
> >
> > libfile-temp-perl is provided by perl-modules
> 
> Yes, I know. I told you to install libfile-temp-perl so that we can remove
> it later on again. I intended to add perl-modules as a dependency to
> cups-x2go.
> > Reverted to previous copy of /usr/lib/cups/backend/cups-x2go and it works 
> > again.
> 
> Can you please add "qw( tempfile )" to the "use File::Temp;" line, so that
> it looks like that in the end:
> 
> use File::Temp qw( tempfile );
> 
> Does this fix your problem?



More information about the x2go-dev mailing list