This *could* happen if the server has multiple CPUs, and the scripts are being 
run in parallel on different CPUs.  My advice about combining the scripts into 
one script would fix that, however. 

Rex Abert
Associate Professor of Mathematics
Tallahassee Community College
________________________________________
From: lon-capa-users-boun...@mail.lon-capa.org 
[lon-capa-users-boun...@mail.lon-capa.org] on behalf of Damien Guillaume 
[dami...@msu.edu]
Sent: Friday, May 29, 2015 1:50 PM
To: Discussion list for LON-CAPA users
Subject: Re: [LON-CAPA-users] Illegal division by zero

It looks to me like the 2nd script is being executed before the 1st one.
I have no idea how that could happen, but you could check that by
setting a useless variable to a different value in the 2 scripts, wait
for another bomb, and check the value.

If it is the case, you would avoid the bug by defining all the variables
in one script (but please tell us so we can chase the bug).

Damien

----------------
> Rex,
>
> Here's the code, I thought it might be easier to cut and paste it in
> construction space to make it easier to debug.  The problem works fine for
> me in construction space.   One student with $f1=1.0 and one student with
> $f1=6.0221e23 have gotten it correct so far.
>
> [...]
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to