#16428: Cleanup/reorganization of FLINT imports
-------------------------------------+-------------------------------------
Reporter: ohanar | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: misc | Resolution:
Keywords: | Merged in:
Authors: R. Andrew Ohana, | Reviewers: William Stein
Jeroen Demeyer | Work issues:
Report Upstream: N/A | Commit:
Branch: | 22938bfb4e763e12465c9e4466c9b65f61f6b8d0
u/jdemeyer/ticket/16428 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
With the current patch, the Sage library compiles but I get
{{{
$ ./sage --python
Python 2.7.8 (default, Oct 13 2014, 21:11:06)
[GCC 4.6.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sage.all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/src/sage-git/local/lib/python2.7/site-
packages/sage/all.py", line 87, in <module>
from sage.misc.all import * # takes a while
File "/usr/local/src/sage-git/local/lib/python2.7/site-
packages/sage/misc/all.py", line 89, in <module>
from functional import (additive_order,
File "/usr/local/src/sage-git/local/lib/python2.7/site-
packages/sage/misc/functional.py", line 32, in <module>
import sage.interfaces.expect
File "/usr/local/src/sage-git/local/lib/python2.7/site-
packages/sage/interfaces/expect.py", line 60, in <module>
from sage.interfaces.interface import Interface, InterfaceElement,
InterfaceFunction, InterfaceFunctionElement, AsciiArtString
File "/usr/local/src/sage-git/local/lib/python2.7/site-
packages/sage/interfaces/interface.py", line 42, in <module>
from sage.structure.parent_base import ParentWithBase
File "sage/structure/parent_base.pyx", line 1, in init
sage.structure.parent_base
(build/cythonized/sage/structure/parent_base.c:2134)
File "sage/structure/parent_old.pyx", line 1, in init
sage.structure.parent_old
(build/cythonized/sage/structure/parent_old.c:8811)
File "sage/structure/element.pxd", line 12, in init
sage.structure.parent (build/cythonized/sage/structure/parent.c:28430)
File "sage/structure/element.pyx", line 3096, in init
sage.structure.element (build/cythonized/sage/structure/element.c:34908)
File "sage/categories/action.pxd", line 6, in init sage.structure.coerce
(build/cythonized/sage/structure/coerce.c:17114)
ImportError: dynamic module does not define init function (initaction)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16428#comment:23>
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.