#13588: libGAP! -- create a Cython library interface to gap
--------------------------------+-------------------------------------------
Reporter: vbraun | Owner: joyner
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.7
Component: group theory | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Volker Braun | Merged in:
Dependencies: #13211 | Stopgaps:
--------------------------------+-------------------------------------------
Comment (by dimpase):
I get a slew of errors in ptestlong after following the instructions of
the ticket with Sage 5.5; e.g.:
{{{
sage -t --long -force_lib devel/sage/sage/libs/gap/libgap.pyx
**********************************************************************
File "/usr/local/src/sage/sage-5.5/devel/sage-
main/sage/libs/gap/libgap.pyx", line 11:
sage: a = libgap(10)
Exception raised:
Traceback (most recent call last):
File "/usr/local/src/sage/sage-5.5/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/usr/local/src/sage/sage-5.5/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/usr/local/src/sage/sage-5.5/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[2]>", line 1, in <module>
a = libgap(Integer(10))###line 11:
sage: a = libgap(10)
File "lazy_import.pyx", line 244, in
sage.misc.lazy_import.LazyImport.__call__ (sage/misc/lazy_import.c:2012)
File "lazy_import.pyx", line 148, in
sage.misc.lazy_import.LazyImport._get_object
(sage/misc/lazy_import.c:1291)
File "libgap.pyx", line 574, in init sage.libs.gap.libgap
(sage/libs/gap/libgap.c:4157)
libgap = Gap()
File "libgap.pyx", line 395, in sage.libs.gap.libgap.Gap.__init__
(sage/libs/gap/libgap.c:2716)
initialize()
File "util.pyx", line 193, in sage.libs.gap.util.initialize
(sage/libs/gap/util.c:3312)
from sage.interfaces.gap import get_gap_memory_pool_size
ImportError: cannot import name get_gap_memory_pool_size
**********************************************************************
File "/usr/local/src/sage/sage-5.5/devel/sage-
main/sage/libs/gap/libgap.pyx", line 12:
sage: a
Exception raised:
Traceback (most recent call last):
File "/usr/local/src/sage/sage-5.5/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/usr/local/src/sage/sage-5.5/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/usr/local/src/sage/sage-5.5/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[3]>", line 1, in <module>
a###line 12:
sage: a
NameError: name 'a' is not defined
}}}
are some patches missing or not up date?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13588#comment:26>
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.