#7377: Symbolic Ring to Maxima via EclObject
---------------------------+------------------------------------------------
Reporter: nbruin | Owner: nbruin
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-feature
Component: symbolics | Keywords:
Author: Nils Bruin | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by jpflori):
I tried to update the patches so that they apply on Sage 4.6.1 with Maxima
5.22.1, some things moved since the last patches were produced, but there
was nothing too terrible. I'll up them right now.
However, there is now a problem when loading Maxima as a library. Maybe
some changes in the spkg (in init-cl.lisp where set-pathnames is defined
?) are responsible for this. Without that line, there is a problem later.
{{{
/home/jp/boulot/sage/sage-current/local/lib/python2.6/site-
packages/sage/interfaces/maxima_lib.py in <module>()
487 ecl_eval("(defvar *MAXIMA-LANG-SUBDIR* NIL)")
488 ecl_eval("(set-locale-subdir)")
--> 489 ecl_eval("(set-pathnames)")
490 ecl_eval("(defun add-lineinfo (x) x)")
491 ecl_eval("""(defun retrieve (msg flag &aux (print? nil))(error
(concatenate 'string "Maxima asks:" (meval (list '($string) msg)))))""")
/home/jp/boulot/sage/sage-current/local/lib/python2.6/site-
packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval
(sage/libs/ecl.c:5616)()
/home/jp/boulot/sage/sage-current/local/lib/python2.6/site-
packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval
(sage/libs/ecl.c:5570)()
/home/jp/boulot/sage/sage-current/local/lib/python2.6/site-
packages/sage/libs/ecl.so in sage.libs.ecl.ecl_safe_eval
(sage/libs/ecl.c:2403)()
RuntimeError: ECL says: In function PATHNAME, the value of the only
argument is
NIL
which is not of the expected type (OR FILE-STREAM STRING PATHNAME)
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
}}}
I don't know anything about Lisp, ECL and Maxima, so I was not able to fix
that in the little time I tried.
As far as the patches as concerned, I feel that more work is needed.
Deleting duplicate examples and methods, moving the library interface to
libs directory, not sure where maxima abstract should go (if it is kept,
should something be done like MaximaLib/Maxima as for Pari/GP ? no idea if
those two "interfaces" share something...), getting rid of the inheritance
on Expect in Maxima_lib and Maxima_abstract.
I'm ready to have a look at all of this, if someone helps me launching
Maxima as library with latest versions of everything.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7377#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.