Forum archive 2000-2006

Lars Jensen - Error when creating pdf

Lars Jensen - Error when creating pdf

by Arnold Pizer -
Number of replies: 0
inactiveTopicError when creating pdf topic started 8/23/2004; 8:52:59 PM
last post 8/24/2004; 11:06:53 AM
userLars Jensen - Error when creating pdf  blueArrow
8/23/2004; 8:52:59 PM (reads: 892, responses: 2)
Hi,

We're getting errors when creating pdf output of certain problems. Here is a typical error message - it has to do with hte image conversion gif->png. Is there anything I need to configure to get this to work?

 

failed to convert /opt/webwork2/webwork-modperl/courses/m181a/templates/rochester_problib/setAlgebra16FunctionGraphs/c0s1p8/31267.gif to /opt/webwork2/webwork-modperl/courses/m181a/html/tmp/png/31267.png using gif->png with /opt/webwork2/webwork-modperl/bin/gif2png:

Error context

 

Problem2 ERROR caught by Translator while processing problem file:rochester_problib/setAlgebra16FunctionGraphs/c0s1p8/c0s1p8.pg * failed to convert /opt/webwork2/webwork-modperl/courses/m181a/templates/rochester_problib/setAlgebra16FunctionGraphs/c0s1p8/31267.gif to /opt/webwork2/webwork-modperl/courses/m181a/html/tmp/png/31267.png using gif->png with /opt/webwork2/webwork-modperl/bin/gif2png:

<| Post or View Comments |>


userLars Jensen - Re: Error when creating pdf  blueArrow
8/23/2004; 11:32:35 PM (reads: 1115, responses: 0)
Hi again,

We got this solved: In the gif2png contains a NETPBM variable that must be edited by hand if netpbm is not in /usr/local/bin. Like most linux variables, netpbm on our system is in /usr/bin.

I'm not sure if this is in the documentation, but it probably should be.

Thanks, Lars.

<| Post or View Comments |>


userSam Hathaway - Re: Error when creating pdf  blueArrow
8/24/2004; 11:06:53 AM (reads: 1111, responses: 0)
Lars,

Thanks for investigating this. There is a section in the installation manual that outlines setting the NETPBM variable. Howerver, I also added a FAQ item to the WeBWorKFAQs.

See: http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/ImageConversionError

<| Post or View Comments |>