Bug#948212: sage-maxima.lisp isn't found correctly
Julien Puydt
julien.puydt at laposte.net
Sun Jan 5 12:40:18 GMT 2020
Package: sagemath
Version: 8.9-3
Running "import sage" in Python 3 works, but probably only because of
some lazy loading ; indeed:
>>> from sage import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/sage/all.py", line 84, in
<module>
from sage.misc.all import * # takes a while
File "/usr/lib/python3/dist-packages/sage/misc/all.py", line 84, in
<module>
from .functional import (additive_order,
File "/usr/lib/python3/dist-packages/sage/misc/functional.py", line
27, in <module>
from sage.rings.complex_double import CDF
File "sage/rings/complex_double.pyx", line 101, in init
sage.rings.complex_double
(build/cythonized/sage/rings/complex_double.c:24201)
File "/usr/lib/python3/dist-packages/sage/rings/complex_field.py",
line 114, in ComplexField
C = ComplexField_class(prec)
File "/usr/lib/python3/dist-packages/sage/rings/complex_field.py",
line 214, in __init__
self._populate_coercion_lists_(coerce_list=[RRtoCC(self._real_field
(), self)])
File "sage/rings/complex_number.pyx", line 2569, in
sage.rings.complex_number.RRtoCC.__init__
(build/cythonized/sage/rings/complex_number.c:20482)
File "sage/categories/map.pyx", line 127, in
sage.categories.map.Map.__init__
(build/cythonized/sage/categories/map.c:3524)
File "/usr/lib/python3/dist-packages/sage/categories/homset.py", line
395, in Hom
H = Hom(X, Y, category, check=False)
File "/usr/lib/python3/dist-packages/sage/categories/homset.py", line
422, in Hom
H = X._Hom_(Y, category)
File "/usr/lib/python3/dist-packages/sage/categories/rings.py", line
361, in _Hom_
from sage.rings.homset import RingHomset
File "/usr/lib/python3/dist-packages/sage/rings/homset.py", line 19,
in <module>
from . import quotient_ring
File "/usr/lib/python3/dist-packages/sage/rings/quotient_ring.py",
line 116, in <module>
import sage.rings.polynomial.multi_polynomial_ideal
File "/usr/lib/python3/dist-
packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 239, in
<module>
from sage.interfaces.all import (singular as singular_default,
File "/usr/lib/python3/dist-packages/sage/interfaces/all.py", line
24, in <module>
from .maxima import maxima, Maxima
File "/usr/lib/python3/dist-packages/sage/interfaces/maxima.py", line
1237, in <module>
script_subdirectory=None)
File "/usr/lib/python3/dist-packages/sage/interfaces/maxima.py", line
529, in __init__
raise RuntimeError('You must get the file local/bin/sage-
maxima.lisp')
RuntimeError: You must get the file local/bin/sage-maxima.lisp
In Debian we really have that file in /usr/share/sagemath/bin, so I
guess it's just a path to patch away.
JP
More information about the debian-science-maintainers
mailing list