[LON-CAPA-admin] Print problem

Guy Albertelli II guy at albertelli.com
Mon Apr 10 13:49:57 EDT 2006


Hi Hon-KIe,

> This is the season for trouble. The main lib server - running FC4 
> does not print properly. When selecting to print a problem or list of 
> problem from either construction or from a course, it gives the 
> following message.
> 
> Return to last resource.
> 
> 
> LaTeX file was not created successfully
> 
> Clicking the Return link does not do anything - view source shows 
> that the link href="" is empty. This seems to be produced by the variable
> 
> my $identifier = $ENV{'QUERY_STRING'};
> 
> in printout.pl. Suggests that the variable is not defined. Also, the 
> tex file is in the directory /home/httpd/prtspool so it is not clear 
> why it cannot find it. There doesn't seems to be any error messages 
> in lonnet.log, under /var/log/httpd/error_log ... the usual suspects. 
> Any suggestions what to check and how to fix it?? ... The httpd is 
> the same version as on one of the access server that does print properly.
> 

Bluh, it's coupled with the lonnet.pm changes that you installed last
week.

loncgi.pm 1.6 fixes this. (loncgi.pm has it's own routines for
initializing the $env{} var...)

You won't need to bounce the server after installing loncgi.pm 1.6:

http://install.loncapa.org/cgi-bin/cvsweb.cgi/loncom/cgi/loncgi.pm?rev=1.6;content-type=text%2Fplain

Sorry about forgetting that.

-- 
guy at albertelli.com   0-7-1-8-27,137



More information about the LON-CAPA-admin mailing list