On Saturday, 30 January 2016 12:35:42 UTC, [email protected] wrote:
>
> Attempting to install/run SnapPy 2.3.2 in Sage 6.5, Fedora 23 /KDE/Scientific 
> Spin
> (There is a standalone GAP version installed Version 4.7.9 of 29-Nov-2015 , 
> which seems consistent with Sage version)
>
>
>
> *When importing snappy.py in the notebook , the following error occurs, 
> looks like sage issue and not SnapPy?Communicated with SnapPy author and he 
> hasnt seen this particular problem*
>
> An error occurred, but libGAP has no handler set.
> Error message: 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "_sage_input_2.py", line 10, in <module>
>     exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 
> -*-\\n" + 
> _support_.preparse_worksheet_cell(base64.b64decode("aW1wb3J0IHNuYXBweS5weQ=="),globals())+"\\n");
>  execfile(os.path.abspath("___code___.py"))
>   File "", line 1, in <module>
>     
>   File "/tmp/tmpZLxf_7/___code___.py", line 2, in <module>
>     exec compile(u'import snappy.py
>   File "", line 1, in <module>
>     
>   File 
> "/usr/lib/python2.7/site-packages/snappy-2.3.2-py2.7-linux-x86_64.egg/snappy/__init__.py",
>  line 7, in <module>
>     from .SnapPy import (AbelianGroup, HolonomyGroup, FundamentalGroup,
>   File "SnapPycore.pxi", line 18, in init SnapPy (cython/SnapPy.c:100587)
>   File "/usr/lib64/python2.7/site-packages/sage/groups/free_group.py", line 
> 67, in <module>
>     from sage.libs.gap.libgap import libgap
>   File "sage/libs/gap/libgap.pyx", line 776, in init sage.libs.gap.libgap 
> (build/cythonized/sage/libs/gap/libgap.c:7435)
>   File "sage/libs/gap/libgap.pyx", line 597, in 
> sage.libs.gap.libgap.Gap.__init__ 
> (build/cythonized/sage/libs/gap/libgap.c:5065)
>   File "sage/libs/gap/util.pyx", line 213, in sage.libs.gap.util.initialize 
> (build/cythonized/sage/libs/gap/util.c:3797)
> RuntimeError: libGAP initialization failed
>
>
> You are running a GAP kernel which does not fit with the library.
> Probably you forgot to apply the kernel part or the library part
> of a bugfix? 
>
>
It looks like your Sage install is broken.
You might try to do some simple libGAP computation in the terminal (i.e. 
launch Sage in the teminal) to test it.

sage: g=libgap.SL(2,5)
sage: g.Order()

If you are using Windows, make sure you installed the file
> wbin4r7n9.zoo (or .zip),
> Macintosh users make sure the file
> bin4r7n9-PPC.sit (or -68k.sit) is installed,
> Unix users please recompile.
>
> Error before error-handling is initialized: Update to correct kernel version!
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" 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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to