On 3/11/07, Robert Dodier <robert.dodier at gmail.com> wrote:
> E.g. with the following 2-line batch file
>
> $ cat /tmp/6.mac
> string(123);
> abc;
>
> then batch("/tmp/6.mac") => success, but batch("/tmp/6.mac", test) =>
>
> Maxima encountered a Lisp error:
> READ-CHAR-NO-HANG: argument (#\3 #\2 #\1) is not a stream
> Automatically continuing.
> To reenable the Lisp debugger set *debugger-hook* to nil.
> Maxima encountered a Lisp error:
> NO-APPLICABLE-METHOD: When calling #<STANDARD-GENERIC-FUNCTION CLOSE>
> with arguments ((#\3 #\2 #\1) :ABORT T), no method is applicable.
I don't know what the real cause of this problem is, but reverting a
change to maxima.system and adjusting mlisp.lisp accordingly
makes the problem go away. I've committed changes to effect that.
Please try it again and let me know if the problem persists.
HTH
Robert