Forum archive 2000-2006

Kevin Leonard - Error creating problems

Kevin Leonard - Error creating problems

by Arnold Pizer -
Number of replies: 0
inactiveTopicError creating problems topic started 4/13/2004; 11:02:59 AM
last post 4/14/2004; 11:24:10 AM
userKevin Leonard - Error creating problems  blueArrow
4/13/2004; 11:02:59 AM (reads: 768, responses: 2)
I am new to webwork and have just installed v1.9.03 on a Dell Server running RedHat 9.  I have created the democourse and built a problem set, but when I go in to solve the problem, I get the following error message:

content-type: text/html

 

 

Error: ERROR: /usr/local/webwork/system/cgi/cgi-scripts/welcomeAction.pl

 

Can't open /usr/local/webwork/system/courses/democourse/html/tmp/l2h/setAlgebra28ExpFunctions/screenSetHeader-78189/78189output.html

I am new to Linux and am trying to make sense of this.  Any help would be appreciated.  Thanks

<| Post or View Comments |>


userArnold K. Pizer - Re: Error creating problems  blueArrow
4/13/2004; 11:54:11 AM (reads: 969, responses: 0)

Hi,

From the error message, it looks like latex2html (l2h), i.e. typeset mode, is not working properly.  Actually you probably want to use typeset2 (dvipng) if you can.

What's happening is that when you select a set, it brings up a header file (screenHeader) in the default mode and, in your case, something is going wrong with that process. Try this. Edit the file .../webwork/system/lib/Global.pm changing $htmlModeDefault to HTML as below.
# The default rendering mode for onscreen problem display:
# 'HTML' = raw TeX source
# 'HTML_tth' = HTML formatted with TTH
# 'HTML_dpng' = HTML formatted with LaTeX/dvipng
# 'Latex2HTML' = Images generated by LaTeX2HTML
$htmlModeDefault = 'HTML'; ## we recommend setting this to 'HTML_dpng'
Then when you get to the problems you can select what viewing mode you want.
Try them all and see which work on your system.  Then you can work on debugging those that don't.

<| Post or View Comments |>


userKevin Leonard - Re: Error creating problems  blueArrow
4/14/2004; 11:24:10 AM (reads: 947, responses: 0)
Thanks for your help Arnold... that one change was all it needed.  Works like a charm now.

<| Post or View Comments |>