Hello. I hope you are OK. Here I am back trying to get sage working in my
new mac
(with Big Sur 11.2.3). Sage still works in the old one (fortunately).

Now I have a problem with the package kbmag from gap.

When working I got the error I pasted at the end of this email.
I have tried the following to solve it (which works in my old computer),
unsuccesfully:

1. In a Terminal:

sage -i gap_packages


and got: make: *** No rule to make target `all-toolchain'.  Stop.


2. In sage:


libgap.eval('LoadPackage("PackageManager")')


and got: fail


3. In sage:


libgap.eval('InstallPackage("kbmag")')


and got:

---------------------------------------------------------------------------GAPError
                                 Traceback (most recent call
last)<ipython-input-20-e51e2455bf67> in <module>----> 1
libgap.eval('InstallPackage("kbmag")')
/var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/libgap.pyx
in sage.libs.gap.libgap.Gap.eval
(build/cythonized/sage/libs/gap/libgap.c:4254)()    398     399
 initialize()--> 400         elem = make_any_gap_element(self,
gap_eval(gap_command))    401     402         # If the element is NULL
just return None instead
/var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/util.pyx
in sage.libs.gap.util.gap_eval
(build/cythonized/sage/libs/gap/util.c:6077)()    396     try:    397
       GAP_Enter()--> 398         result = GAP_EvalString(cmd)    399
       # We can assume that the result object is a GAP PList (plain
list)    400         # and we should use functions for PLists directly
for now; see
GAPError: Error, Variable: 'InstallPackage' must have a value



And finally the Error in my computations:


---------------------------------------------------------------------------GAPError
                                 Traceback (most recent call
last)/var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/element.pyx
in sage.libs.gap.element.GapElement.__getattr__
(build/cythonized/sage/libs/gap/element.c:8322)()    735
proxy = make_GapElement_MethodProxy\--> 736
(self.parent(), gap_eval(name), self)    737         except GAPError:
/var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/util.pyx
in sage.libs.gap.util.gap_eval
(build/cythonized/sage/libs/gap/util.c:6077)()    397
GAP_Enter()--> 398         result = GAP_EvalString(cmd)    399
# We can assume that the result object is a GAP PList (plain list)
GAPError: Error, Variable: 'KBMAGRewritingSystem' must have a value

During handling of the above exception, another exception occurred:
AttributeError                            Traceback (most recent call
last)<ipython-input-11-23587a78dfd9> in <module>----> 1
P=Poly(G,[Integer(7),Integer(3),Integer(2)])
<string> in __init__(self, G, x, seed, alphabet, compute)
<string> in __process_group(self, seed)
<string> in __init__(self, fund_poly, g, label, w)
<string> in word_reducer(self)
<string> in kbword_reducer(F)
/var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/element.pyx
in sage.libs.gap.element.GapElement.__getattr__
(build/cythonized/sage/libs/gap/element.c:8401)()    736
  (self.parent(), gap_eval(name), self)    737         except
GAPError:--> 738             raise AttributeError(f"'{name}' is not
defined in GAP")    739         if not proxy.is_function():    740
        raise AttributeError(f"'{name}' does not define a GAP
function")
AttributeError: 'KBMAGRewritingSystem' is not defined in GAP


Thanks in advance.

Best regards,

Anita



On Thu, Mar 18, 2021 at 8:50 AM Samuel Lelièvre <samuel.lelie...@gmail.com>
wrote:

> ¡Hola Anita!
>
> You could try the new macOS app, currently in beta testing at:
>
>     https://github.com/3-manifolds/Sage_macOS/releases/
> Let us know if it solves your problems.  --Samuel
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAEcArF18DCUC%3DhdL%2Bq%2BXC4nrcV6qhbpPiHD006d4QOxjmpic%3Dg%40mail.gmail.com
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve1Aw3-6F1rOM2hN7HFtz2NG_cQawmdxg44NifMs6fUOUg%40mail.gmail.com.

Reply via email to