Forum archive 2000-2006

Zoran - pink pages

Zoran - pink pages

by Arnold Pizer -
Number of replies: 0
inactiveTopicpink pages topic started 6/18/2004; 6:13:02 PM
last post 6/21/2004; 11:37:06 AM
userZoran - pink pages  blueArrow
6/18/2004; 6:13:02 PM (reads: 1002, responses: 3)
Hi guys.

I am getting pink pages with this error: Software Warnings

WeBWorK has encountered warnings while attempting to process this problem. It is likely that this indicates an error or ambiguity in the problem itself. If you are a student, contact your professor to have the problem corrected. If you are a professor, please consut the warning output below for more informaiton. Warning messages

* cd /home/webwork/webwork-modperl/tmp/ImageGenerator.Kw0dkUES && /usr/bin/dvipng -x4000.5 -bgTransparent -Q6 -mode toshiba -D180 equation > dvipng.out 2> dvipng.err returned non-zero status 32512: No such file or directory at /home/webwork/webwork-modperl/pg/lib/WeBWorK/PG/ line 288.

I am running perl 5.6.2 (itreading is disabled).

Any idea?


<| Post or View Comments |>

userJohn Jones - Re: pink pages  blueArrow
6/18/2004; 10:08:15 PM (reads: 1198, responses: 0)
An error is occurring when webwork tries to make images using dvipng for a page.

First make sure you have dvipng at /usr/bin/dvipng.

If that's ok, then, near the very end of /home/webwork/webwork-modperl/pg/lib/WeBWorK/PG/ is the line

Comment it out:
# removeTempDirectory($wd);
Do a graceful restart of apache, and try to see a problem page again. Now, the temp directory should be left behind. You can see if the permissions are ok on it, if it has a dvi file, (if not, if you run latex on the .tex file there), and can you run the dvipng command above.

When you are done, don't forget to uncomment the removeTempDirectory line and do a graceful restart.


<| Post or View Comments |>

userJan-Åke Larsson - Re: pink pages  blueArrow
6/20/2004; 5:15:12 AM (reads: 1186, responses: 0)
If you have changed to dvipng-1.x recently from dvipng-0.x, please note that the option -D has changed. This would be visible as a lot of warnings from dvipng in dvipng.err. It would start by warning about you giving -mode without -bdpi. The recommended new call would be:

/usr/bin/dvipng -bgTransparent -D120 equation > dvipng.out 2> dvipng.err

The resolution is 120=4*180/6. This would be a general recommendation when you change from dvipng-0.x to dvipng-1.x


<| Post or View Comments |>

userZoran - Re: pink pages  blueArrow
6/21/2004; 11:37:06 AM (reads: 1271, responses: 0)
Hi guys.

Thanx for all your help. The problem was PATH. dvipng was in /usr/local/bin, so I made a soft link. Everything looks good now.

Regards Zoran.

<| Post or View Comments |>