Subject: [Fwd: Re: Error or restriction in "apply"?]
From: Leo Butler
Date: Sat, 16 Oct 2010 16:32:08 +0100 (BST)
On Sat, 16 Oct 2010, Wilhelm Haager wrote:
< ------------------------ Urspr?ngliche Nachricht -------------------------
< Betreff: Re: [Maxima] Error or restriction in "apply"?
< Von: "Wilhelm Haager" <wilhelm.haager at htlstp.ac.at>
< Datum: Sa, 16.10.2010, 16:03
< An: "Andrey G. Grozin" <A.G.Grozin at inp.nsk.su>
< --------------------------------------------------------------------------
<
< > On Fri, 15 Oct 2010, Wilhelm Haager wrote:
< >> In the new version of Maxima (5.22.1) ist is obviously not possible to
< >> generate complex graphics with draw2d any more.
< >>
< >> The command
< >>
< >> draw2d(explicit(..), ...<100 objects or options>)
< >>
< >> produces the following error message:
< >>
< >> Maxima encountered a Lisp error:
< >> Error in APPLY [or a callee]: Lisps arglist maximum surpassed
< >> Automatically continuing.
< >> To enable the Lisp debugger set *debugger-hook* to nil.
< >>
< >> Previous versions of maxima (<=5.20.1) did not have any problems!
<
< > This depends on which lisp you use to run maxima, not on the version of
< > maxima. What lisp are you using now? And what lisp you used previously,
< > when you had no problem?
< >
< > Andrey
< >
< Thanks to all the answers;
< I think, it's not a Lisp problem, both versions (5.20.1 working o.k.
< and 5.22.1 producing the error message) use the same Lisp GCL 2.6.8.
<
< As also Ted Woollett noticed, I think it's a draw-problem.
No, the error message tells you the problem is that there
are too many arguments being passed. This means that it's likely
to be a GCL configuration issue. This issue has been raised on
this list in the recent past.
Try entering the following in the Maxima command line:
:lisp CALL-ARGUMENTS-LIMIT
For example, with CMUCL 20a, I get:
(%i1) :lisp CALL-ARGUMENTS-LIMIT
536870911
My GCL 2.6.8, by contrast, uses a limit of 64.
See
http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/convar_call-a_uments-limit.html
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.