Forum archive 2000-2006

Bill Ziemer - build problem set error setting dates

Bill Ziemer - build problem set error setting dates

by Arnold Pizer -
Number of replies: 0
inactiveTopicbuild problem set error setting dates topic started 9/23/2003; 5:07:30 PM
last post 9/23/2003; 5:45:04 PM
userBill Ziemer - build problem set error setting dates  blueArrow
9/23/2003; 5:07:30 PM (reads: 902, responses: 3)
Building problem set seems fine:

Information on building the problem set for ma122a

Getting set definition from file: /var/www/webwork/system/courses/ma122a/templates/set5.def set Name or Number: 5 openDate: 10/24/2003, 0600 dueDate: 10/30/2003 at 8:00am answerDate: 10/30/2003 at 8:00am

Loading WeBWorK database: /var/www/webwork/system/courses/ma122a/DATA/ma122a_webwork_DB Loading classlist database: /var/www/webwork/system/courses/ma122a/DATA/ma122a_classlist_DB

Data entered for 40 new student(s) in set 5. Data left unchanged for 0 existing student(s) in set 5.

FINISHED BUILDING PROBLEM SET

But going to welcome.pl the problem set says 12/31/69 for all three dates for all students.

Change due date works, and brings the dates back to reality.

There is no entry in the error_log (either webwork or system/httpd). Here is the access_log entries:

INFO () Tue Sep 23 13:35:58 2003: setDefinition=set5.def&outputFormat=no_students&user=fnewberg&key=rvPoAMR%2F2%5EPNifyztIk7o%5EzUQelbJ%5E%5EOmcTJ LuL.&course=ma122a&page=build&download=0&fileName=blah at /var/www/webwork/system/cgi/cgi-scripts/profBuildProblemSet.pl line 60

INFO () Tue Sep 23 13:36:40 2003: updateMethod=some&openDate=10%2F25%2F03%20at%203%3A59%20PM&dueDate=10%2F25%2F03%20at%203%3A59%20PM&ansDate=10%2F 25%2F03%20at%203%3A59%20PM&setHeaderFile=set5%2FpaperHeaderFilea.pg&probHeaderFile=set5%2FscreenHeaderFilea.pg&dateMode=READWRITE&pCD=2&setNo=5&co urse=ma122a&user=fnewberg&key=rvPoAMR%2F2%5EPNifyztIk7o%5EzUQelbJ%5E%5EOmcTJLuL. at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl lin e 61

<| Post or View Comments |>


userArnold K. Pizer - Re: build problem set error setting dates  blueArrow
9/23/2003; 5:28:41 PM (reads: 1090, responses: 0)

I would look closely at your original set definition file.  Note that all dates/times are calculated in seconds from 1/1/1970 in UTC so time 0 seconds for you would be on 12/31/69 PDT.  My guess it that what ever you entered got converted to 0 seconds.

Looking at the response

"Getting set definition from file: /var/www/webwork/system/courses/ma122a/templates/set5.def set Name or Number: 5 openDate: 10/24/2003, 0600 dueDate: 10/30/2003 at 8:00am answerDate: 10/30/2003 at 8:00am"

maybe the coma in the open date causes a problem.  You can enter dates in many formats --- I just don't recall off hand if e.g. 10/24/2003, 0600 is valid.

Arnie

<| Post or View Comments |>


userBill Ziemer - Re: build problem set error setting dates  blueArrow
9/23/2003; 5:37:23 PM (reads: 1085, responses: 0)
The original set def file had

2/4/03 opening date

2/12/03 due and answer date

Also, only this course has that problem. Other courses an the same server work as expected. It is weird.

Bill

<| Post or View Comments |>


userBill Ziemer - Re: build problem set error setting dates  blueArrow
9/23/2003; 5:45:04 PM (reads: 1070, responses: 0)
2/4/03, 0600

is indeed the culprit!

changing it to

2/4/03 at 6:00am

all is correct again. This def file worked last semester. I updated some system files from CVS over the summer, that must be the reason.

<| Post or View Comments |>