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

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Thu, 8 Sep 2005 14:50:41 -0400 (EDT)

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

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'

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

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


and be named


(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.)

guy@albertelli.com   0-7-2-1-27,137