#6391: libGAP!  -- create a Cython library interface to gap
-----------------------------------------------+----------------------------
   Reporter:  was                              |       Owner:  was       
       Type:  enhancement                      |      Status:  needs_work
   Priority:  major                            |   Milestone:  sage-4.7  
  Component:  interfaces                       |    Keywords:            
     Author:  dimpase, iandrus,  vbraun,  was  |    Upstream:  N/A       
   Reviewer:                                   |      Merged:            
Work_issues:                                   |  
-----------------------------------------------+----------------------------

Comment(by iandrus):

 Assuming you do not have the GAP small group database installed, then
 running
 {{{
 sage: import sage.libs.gap.gap as g
 sage: g.libgap('SmallGroup(12,3)')
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)

 /Users/gvol/SageStuff/gap-4.4.12.p7/src/<ipython console> in <module>()

 /Users/gvol/vcs/cur-sage/local/lib/python2.6/site-
 packages/sage/structure/parent.so in sage.structure.parent.Parent.__call__
 (sage/structure/parent.c:6816)()

 /Users/gvol/vcs/cur-sage/local/lib/python2.6/site-
 packages/sage/structure/coerce_maps.so in
 sage.structure.coerce_maps.DefaultConvertMap_unique._call_
 (sage/structure/coerce_maps.c:3254)()

 /Users/gvol/vcs/cur-sage/local/lib/python2.6/site-
 packages/sage/structure/coerce_maps.so in
 sage.structure.coerce_maps.DefaultConvertMap_unique._call_
 (sage/structure/coerce_maps.c:3157)()

 /Users/gvol/vcs/cur-sage/local/lib/python2.6/site-
 packages/sage/libs/gap/gap.so in
 sage.libs.gap.gap.Gap._element_constructor_ (sage/libs/gap/gap.c:7237)()

 /Users/gvol/vcs/cur-sage/local/lib/python2.6/site-
 packages/sage/libs/gap/gap.so in sage.libs.gap.gap.libgap_eval
 (sage/libs/gap/gap.c:3005)()

 ValueError: Gap: Aborted
 }}}

 The error message could be a bit more helpful, but  when runnning under
 `sage --valgrind` it leads to a segfault.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:51>
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.

Reply via email to