Forum archive 2000-2006

Bill Ziemer - problem with delete in profChangeDates.pl

Bill Ziemer - problem with delete in profChangeDates.pl

by Arnold Pizer -
Number of replies: 0
inactiveTopicproblem with delete in profChangeDates.pl topic started 11/6/2001; 2:21:39 PM
last post 11/6/2001; 8:54:43 PM
userBill Ziemer - problem with delete in profChangeDates.pl  blueArrow
11/6/2001; 2:21:39 PM (reads: 782, responses: 1)
I have an instructor that uses the profChangeDates.pl in the professor's page to delete problems in a homework set. When she does, the answers don't match the questions anymore. Example, the problem "third.pg" is displayed, but the answers are from "sixth.pg". (Going into the problem editor confirms this.)

<| Post or View Comments |>


userArnold K. Pizer - Re: problem with delete in profChangeDates.pl  blueArrow
11/6/2001; 8:54:43 PM (reads: 1007, responses: 0)
First, deleting problems is a rather dangerous thing to do if students have already begun working on an assignment. For example, it will screw up the "fail safe" backup .sco files (the numbering of problems in those files will change). Hopefully you will never need to use these fail safe files but they are very nice to have around incase your database gets destroyed or damaged. Rather than delete problems, you can give all students full credit (or zero credit) for "bad" problems. Giving them full credit makes students happy.

Now to answer your question. Most likely you have deleted the problem(s) but not the cached latex2html images which are indexed by the problem numbers (which have been changed). In version 1.7, if you delete a problem, all cached latex2html images are destroyed but in version prior to 1.7, the user has to do this. So if you delete problem 6, cached images for problem 6 and all higher numbered problems will be invalid.

The solution is to remove the (invalid) cached images and then recreatre them.

<| Post or View Comments |>