Forum archive 2000-2006

luoy@m... - log file errors

luoy@m... - log file errors

by Arnold Pizer -
Number of replies: 0
inactiveTopiclog file errors topic started 6/18/2004; 1:24:28 PM
last post 6/21/2004; 3:01:39 PM
userluoy@m... - log file errors  blueArrow
6/18/2004; 1:24:28 PM (reads: 1397, responses: 6)
When I was trying to get_hard_copy, it complains that

Can't open log file: path= /usr/local/webwork/system/courses/demo/html/tmp/Temp_downloadAllSets_professor.log No such file or directory

Here is the directory permission [tmp]$ ls -al total 32

drwxrwxrwx 8 wwadmin demo 4096 Jun 18 13:15 .

drwxrwx--- 4 wwadmin demo 4096 Jun 18 08:52 ..

drwxrwx--- 2 wwadmin demo 4096 Jun 17 09:13 eps

drwxrwx--- 2 wwadmin demo 4096 Jun 17 09:13 gif

drwxrwx--- 2 wwadmin demo 4096 Jun 17 09:13 html

drwxrwx--- 2 wwadmin demo 4096 Jun 17 09:13 images

drwxrwx--- 2 wwadmin demo 4096 Jun 17 09:13 l2h

drwxrwx--- 4 wwadmin demo 4096 Jun 18 10:20 png

<| Post or View Comments |>


userAndrew - Re: log file errors  blueArrow
6/18/2004; 3:40:33 PM (reads: 1580, responses: 0)
What's the permissions of /usr/local/webwork/system/courses/demo/html/tmp/ and what user/group is your webserver running under?

EDIT: Somehow I missed the first line of that ls output....nothing to see here....

<| Post or View Comments |>


userluoy@m... - Re: log file errors  blueArrow
6/21/2004; 9:09:29 AM (reads: 1566, responses: 0)
As you can tell from the first post, it is world-readable-writable.

<| Post or View Comments |>


userArnold K. Pizer - Re: log file errors  blueArrow
6/21/2004; 10:56:11 AM (reads: 1553, responses: 0)
Did you set $imageDebugMode = 1; as discussed in http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$2326

Most likely there is some problem with tex or pdf output.

<| Post or View Comments |>


userluoy@m... - Re: log file errors  blueArrow
6/21/2004; 2:04:37 PM (reads: 1557, responses: 0)
Here is from the error_log file

I can't find the format file `latex.fmt'! This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) /usr/bin/dvips: ! Couldn't find header file tex.pro

<| Post or View Comments |>


userMichael Gage - Re: log file errors  blueArrow
6/21/2004; 2:56:53 PM (reads: 1566, responses: 0)
These are regular tex errors. (Nothing to do with either dvipng or WeBWorK, as far as I can tell.) You will need to get the tex and latex programs operating properly first. You can test these on any tex file (e.g. a math paper) using

latex mathPaper.tex

Your local unix people can probably help you get tex and latex running on your unix machine. This page may help some http://www.tug.org/interest.html

-- Mike

<| Post or View Comments |>


userArnold K. Pizer - Re: log file errors  blueArrow
6/21/2004; 3:01:39 PM (reads: 1546, responses: 0)
I'm not a real expert on this but the first question that arises is: Do you have TeX installed (e.g. the teTeX distribution)? What do the commands locate latex.fmt and locate tex.pro return?

In the tmp directories you will see (since I assume you have set $imageDebugMode = 1) raw tex files (with a .tex extension). You should run them (or some other test file) through tex to make sure tex is working on your system. By the way, what operating system are you running under?

Arnie

<| Post or View Comments |>