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/ImageGenerator.pm is the line
removeTempDirectory($wd);
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.
John
<| Post or View Comments |>
|