[LON-CAPA-users] Printing with version 2.11.1
ABERTR at tcc.fl.edu
Thu Jun 25 08:41:51 EDT 2015
I'll look into this some more. The problem cited is the third one in a homework folder. When printing all problems in the folder, I get a pdf containing the first two problems, and nothing else. Your tips should help me troubleshoot exactly where the issue is---it could be in the second problem, perhaps.
Anyway, thanks for the tips and I'll see what I find.
Associate Professor of Mathematics
Tallahassee Community College
From: lon-capa-users-bounces at mail.lon-capa.org [lon-capa-users-bounces at mail.lon-capa.org] on behalf of Stuart Raeburn [raeburn at msu.edu]
Sent: Wednesday, June 24, 2015 8:49 AM
To: lon-capa-users at mail.lon-capa.org
Subject: Re: [LON-CAPA-users] Printing with version 2.11.1
For this resource:
the print utility in LON-CAPA generates a non-blank PDF when using any
of the servers in the msu domain, or any of the *educog.com servers
(all running LON-CAPA 2.11.1).
I switched my web session to a number of other servers in the network
currently running 2.11.1 and found that a non-blank PDF was also
generated on servers in other domains where the Linux distro was
CentOS 5 or 7, or Ubuntu 12 or 14. However, a blank PDF was the
result on some (but not all) servers running CentOS 6.
> ... Now, I just get a link to the pdf file and nothing else. Is
> there a way to find the log and TeX files with 2.11.1?
There has not been a change in the display of links to the .log and
.tex files in 2.11.1 as compared with earlier LON-CAPA versions.
Those links are displayed to "advanced users" (e.g., Course
Coordinators, Authors/Co-authors etc.) when an "Emergency stop" is
found in the log file.
If printout generation is successful and the various stages of the
process are completed (i.e., calls to latex, dvips, ps2pdf13 complete
etc.) then the corresponding files with extensions .log, .tex, .ps
and .pdf will remain in the prtspool directory, until the nightly
clean-up by cleanup_file_caches.pl.
You can access the .log, .tex etc. files by replacing the .pdf
extension, with the extension for the desired file in your browser's
address box. If you right click (or ctrl-click for Mac) on the link:
"Your PDF file" in the text:
<Name> - Your PDF file is ready for download, in the final printout
generation screen then you can copy the link location, which will be
of the form:
Comparing sizes for the various files generated when printing
(imported into a course) in the same course for the same user on msua4
(i.e., s4.lite.msu.edu) versus tccfll1 (i.e., loncapa.tcc.fl.edu) I
A diff of tccfll1.tex and msua4.tex reports no differences.
However the .dvi files are different, and in addition the .ps file
generated on loncapa.tcc.fl.edu cannot be displayed with a postscript
The issue would seem to be in the generation of the .dvi file within
cgi-bin/printout.pl from the command:
"latex filename.tex 1>/dev/null 2>/dev/null"
where filename is the name of the .tex file.
Note: loncapa.tcc.fl.edu and s4.lite.msu.edu have the same Linux
distro, and architecture.
LON-CAPA Academic Consortium
Quoting Rex Abert <ABERTR at tcc.fl.edu>:
> I'm having difficulty printing some resources after our system was
> upgraded to 2.11.1. Previously, if there was a TeX error, Lon-Capa
> would provide links to the log file and the original TeX file to
> assist in troubleshooting. Now, I just get a link to the pdf file
> and nothing else. Is there a way to find the log and TeX files with
> For what it's worth, the resource that is causing the error is
> (Sorry, Gerd!)
> Rex Abert
> Associate Professor of Mathematics
> Tallahassee Community College
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org
More information about the LON-CAPA-users