[LON-CAPA-users] catching maxima errors

Gerd Kortemeyer korte at lite.msu.edu
Mon Nov 26 10:08:10 EST 2012


On Nov 26, 2012, at 10:00 AM, Peter Dencker <dencker at math.uni-luebeck.de> wrote:
> executing a syntactically incorrect answer with maxima using
> customresponse causes a crash remark 'Internal error ...' and  a  'bomb'
> in the construction space of the author. In comparison, mathresponse
> returns 'BAD_FORMULA'.

Something else must be wrong inside <customresponse>. A call to &cas() inside <customresponse> will always just return whatever the last output of MAXIMA was, which is either the result or a MAXIMA error message; no possibility of an internal error, unless there is an error inside the surrounding Perl code or an invalid value is returned from <customresponse> answer script.

- Gerd.

More information about the LON-CAPA-users mailing list