[LON-CAPA-users] course empty for one student

Jim Maxka lon-capa-users@mail.lon-capa.org
Fri, 09 Sep 2005 22:31:32 -0700


Hi Guy -- I had a user with a blank course.  I used your fix.  Thanks -- jim

Guy Albertelli II wrote:

>Hi Ray,
>
>Well I have fixed it for now for this one student.
>
>The users internal course db file is corrupted in some interesting way
>that cause somethign sto fail and other things to not fail. This is
>not a critical thing or any lost data, as this db is just a static
>representation of the .sequence files in db for.
>
>(This is what the system is building when it 'Re-initialize' the
>course.)
>
>Pre 2.0.0 we always deleted this file upon selecting the course and
>then built it from scratch.
>
>There was however this occaisional issue when things were slow or if
>the user double clicked you could get a 'Could not initialize course'
>error.
>
>So for 2.0.0, I stopped it from deleting this file completly and
>instead it just emptied and refilled it. 
>
>Apparently something is not working completely cleanly in this
>process.
>
>I think I have a better fix for this issue that I can put into a 2.0.2
>that will fix both issues.
>
>For now if a user complains about not seeing the course. You can delete
>the associated db file for them.
>
>It will be in the directory
>
>/home/httpd/perl/tmp
>
>and be named
>
><user>_sfu_<courseid>.db
>
>(In fact loncron nightly empties this directory of any file that
>hasn't been modified in 24 hours. SO the problem would have enetually
>self corrected.)
>
>  
>