#16335: dictionary of symbolic expressions (functions) raises Maxima-error
-------------------------------------------------+-------------------------
Reporter: dkrenn | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.3
Component: symbolics | Resolution:
Keywords: dictionary, symbolic | Merged in:
function, Maxima | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by pbruin):
* cc: robertwb, nbruin, jpflori (added)
Comment:
(CC-ing the authors of the Maxima library interface)
This seems to be caused by Sage trying to convert the `SR.wild(42)` object
to Maxima. Your code causes Maxima to execute
{{{
sage0 : 'f($42,0,2) = 'f($42,1,0)$
}}}
but the dollar sign ends statements in Maxima.
The above line is executed via the Maxima library interface, which
apparently gives you this cryptic error. Here is a simpler example:
{{{
sage: sage.calculus.calculus.maxima(SR.wild(42)) # Maxima library
...
RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined.
}}}
The error is clearer when using the pexpect interface:
{{{
sage: maxima(SR.wild(42)) # external Maxima
program
...
TypeError: Error executing code in Maxima
CODE:
sage1 : $42$
Maxima ERROR:
incorrect syntax: Premature termination of input at $.
sage1 : $
^
}}}
So there are two issues: the failing conversion and the cryptic error
message.
--
Ticket URL: <http://trac.sagemath.org/ticket/16335#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.