[Debian-science-sagemath] Doctests failing with "ECL says: THROW: The catch MACSYMA-QUIT is undefined."
Tobias Hansen
thansen at debian.org
Thu Oct 27 21:18:37 UTC 2016
Hi,
after updating our package to sage 7.4 the doctests are failing with
errors like [1] (see end of message).
sage/interfaces/maxima_lib.py, line 177 is this:
for l in init_code:
ecl_eval("#$%s$"%l)
where
init_code = ['besselexpand : true', 'display2d : false', 'domain :
complex', 'keepfloat : true',
'load(to_poly_solve)', 'load(simplify_sum)',
'load(abs_integrate)', 'load(diag)', 'nolabels : true']
The errors can be reproduced by running in ecl:
(require 'maxima "/usr/lib/ecl/maxima.fas");
(in-package :maxima);
#$load(to_poly_solve)$;
which gives:
append: argument must be a non-atomic expression; found false
-- an error. To debug this try: debugmode(true);
Condition of type: SIMPLE-CONTROL-ERROR
THROW: The catch MAXIMA::MACSYMA-QUIT is undefined.
Available restarts:
I'm not sure if this is expected to happen here, since sage runs other
commands before to set maxima-in-ecl up properly. However the error
message does not tell me anything and I have no idea what the problem
is. I also could not find any ecl or maxima related changes between sage
7.3 and 7.4 that seemed relevant.
Does someone have an idea?
Best,
Tobias
[1]
loading cross citations...
/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/manifolds/chart.py:docstring
of sage.manifolds.chart.RealChart.plot:107: WARNING: Exception occurred
in plotting chart-1
from
/home/thansen/src/sage/sagemath/sagemath/sage/src/doc/en/reference/manifolds/sage/manifolds/chart.rst:
Traceback (most recent call last):
File
"/usr/lib/python2.7/dist-packages/matplotlib/sphinxext/plot_directive.py",
line 517, in run_code
six.exec_(code, ns)
File "/usr/lib/python2.7/dist-packages/matplotlib/externals/six.py",
line 672, in exec_
exec("""exec _code_ in _globs_, _locs_""")
File "<string>", line 1, in <module>
File "<string>", line 2, in <module>
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/manifolds/manifold.py",
line 1516, in chart
return self._structure.chart(self, coordinates=coordinates, names=names)
File "sage/misc/classcall_metaclass.pyx", line 330, in
sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/misc/classcall_metaclass.c:1254)
return cls.classcall(cls, *args, **kwds)
File "sage/misc/cachefunc.pyx", line 1059, in
sage.misc.cachefunc.CachedFunction.__call__
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/misc/cachefunc.c:5639)
w = self.f(*args, **kwds)
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/structure/unique_representation.py",
line 1022, in __classcall__
instance = typecall(cls, *args, **options)
File "sage/misc/classcall_metaclass.pyx", line 497, in
sage.misc.classcall_metaclass.typecall
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/misc/classcall_metaclass.c:1668)
return (<PyTypeObject*>type).tp_call(cls, args, kwds)
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/manifolds/chart.py",
line 1337, in __init__
Chart.__init__(self, domain, coordinates=coordinates, names=names)
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/manifolds/chart.py",
line 280, in __init__
self._init_coordinates(coord_list)
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/manifolds/chart.py",
line 1405, in _init_coordinates
assume(coord_var, 'real')
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/symbolic/assumptions.py",
line 515, in assume
x.assume()
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/symbolic/assumptions.py",
line 198, in assume
valid_features = list(maxima("features"))
File "sage/misc/lazy_import.pyx", line 388, in
sage.misc.lazy_import.LazyImport.__call__
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/misc/lazy_import.c:3682)
return self._get_object()(*args, **kwds)
File "sage/misc/lazy_import.pyx", line 248, in
sage.misc.lazy_import.LazyImport._get_object
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/misc/lazy_import.c:2250)
self._object = getattr(__import__(self._module, {}, {},
[self._name]), self._name)
File
"/home/thansen/src/sage/sagemath/sagemath/debian/build/usr/lib/python2.7/dist-packages/sage/interfaces/maxima_lib.py",
line 177, in <module>
ecl_eval("#$%s$"%l)
File "sage/libs/ecl.pyx", line 1316, in sage.libs.ecl.ecl_eval
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/libs/ecl.c:10066)
cpdef EclObject ecl_eval(bytes s):
File "sage/libs/ecl.pyx", line 1331, in sage.libs.ecl.ecl_eval
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/libs/ecl.c:10005)
o=ecl_safe_eval(o)
File "sage/libs/ecl.pyx", line 343, in sage.libs.ecl.ecl_safe_eval
(/home/thansen/src/sage/sagemath/sagemath/sage/src/build/cythonized/sage/libs/ecl.c:5070)
raise RuntimeError("ECL says: "+ecl_base_string_pointer_safe(s))
RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined.
More information about the Debian-science-sagemath
mailing list