[LON-CAPA-users] catching maxima errors
Peter Dencker
dencker at math.uni-luebeck.de
Mon Nov 26 16:39:04 EST 2012
Hi,
>> Did you "Reset Submissions" and "New Randomization" ...
Yes. Furthermore, I created a new problem and copied the code.
>> Just for testing, can you change the last line to
>>
>> return 'INCORRECT';
>>
>> and see if it still bombs for "x)"?
It bombs.
> Does the error occur in Construction Space or within a course?
Both, it occurs in the Construction Space and in cources.
> What are the details in the bomb message?
##############################################################
Code ran too long. It ran for more than 10 seconds timeout at
/home/httpd/lib/perl//Apache/run.pm line 121.
occurred while running
{ my $submission=$LONCAPA::customresponse_submission;
$bool = &cas('maxima',"is(ratexpand($submission = $result))") ;
if ( $bool eq 'true') {return 'EXACT_ANS';};
if ( $bool eq 'false') {return 'INCORRECT';};
return 'INCORRECT';
}
This error occurred while processing response p0r0 in part 0
The error occurred on host scll1
This error occurred on machine scll1
################################################################
- Peter
More information about the LON-CAPA-users
mailing list