|Error with graphics in problems||topic started 6/3/2004; 9:51:26 AM
last post 6/3/2004; 10:40:33 AM
|Michael Gage - Re: Error with graphics in problems
6/3/2004; 10:40:33 AM (reads: 887, responses: 0)
|The relevant part of the error is:
Unable to create eps file: /usr/local/webwork/system/courses/wwdev - kleonar6/html/tmp/eps//professor-57432- professor - 57432 - setAlgebra16FunctionGraphsprob8image1.png.eps |
| fromfile | /usr/local/webwork/system/courses/wwdev-kleonar6/html/tmp/gif/professor - 57432 - setAlgebra16FunctionGraphsprob8image1.png|
in problem8 using the system dependent script | /usr/local/webwork/system/scripts/png2eps |
the first step is to see if the file exists at /usr/local/webwork/system/courses/wwdev-kleonar6/html/tmp/gif/professor - 57432 - setAlgebra16FunctionGraphsprob8image1.png
The next is to make sure the directory exists at /usr/local/webwork/system/courses/wwdev - kleonar6/html/tmp/eps/ and has the correct privileges as far as the webserver is concerned.
there is an anomoly in the address (namely there are two slashes in a row) but this doesn't usually cause trouble with a unix system. It means that somewhere there is a variable describing a directory that has a slash at the end, that should not have that slash at the end.
The final thing is to check that the file below exists and has execution privileges for the webserver /usr/local/webwork/system/scripts/png2eps |
Can you execute this file directly to convert the png file to the eps file from the command line?
Trouble shooting mismatched addresses and bad permissions can be a bit tedious. Try to get something to work from the command line first, then go back to trouble shooting the addresses issued by the server.
Hope this helps.