Hi Phil, On Sa 09 Apr 2011 09:29:49 CEST "--[ UxBoD ]--" wrote:
if( $mounts=~m/$spooldir/) {move ("$printdir/$file", "$spooldir") or die "$!: Can't rename $file to $homedir/.x2go/C-$session/$file";$file $spooldir""); my $counter = 0; while ( ! -f "$spooldir/$file.ready" && $counter < 10 ) { open (RFILE,">$spooldir/$file.ready"); print RFILE "$filen$title"; close (RFILE); $counter = $counter + 1; }if ( $counter > 1 ) { syslog("info", "Failed to write ready file - Count $counter - C-$session/$file"); }} else { unlink("$printdir/$file"); }
I am not sure if this really is a solution to what you observe. This only seems like a workaround. The syslog entry however is valuable.
Do you think you can find some time to debug what is really going on? We actually need documentation of what happens during cups-x2go/x2goprint'ing...
Maybe we will find a solution that really tracks the issue down instead of looping around it (wouldn't it need some sort of a sleep statement in the loop?).
Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpOY6UtsWs6c.pgp
Description: Digitale PGP-Unterschrift
_______________________________________________ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev