Ask Your Question

GMAR77's profile - activity

2023-12-05 21:42:53 +0200 received badge  Popular Question (source)
2020-02-10 22:32:31 +0200 received badge  Student (source)
2020-02-08 19:12:28 +0200 commented question Failing to add a script to sage

My biggest problem is this:

`RuntimeError: Error evaluating Magma code.

IN:_sage_[14], _sage_[15] := OrderData(_sage_[13]); OUT:

_sage_[14], _sage_[15] := OrderData(_sage_[13]); ^ User error: Identifier 'OrderData' has not been declared or assigned`

2020-02-08 17:06:34 +0200 commented question Failing to add a script to sage

Thank you for your comments:
1) When I try %runfile autoperio.sage (I am in the right directory etc) I get OSError: did not find file autoperio.sage to load or attach

2) I have also tried to change the print from Python3 and added (" "), still I get a different error TypeError: `Error evaluating Magma code. IN:_sage_[5]:=FindPolarizationBasis(_sage_[4]); OUT:

_sage_[5]:=FindPolarizationBasis(_sage_[4]); ^ User error: Identifier 'FindPolarizationBasis' has not been declared or assigned`

2020-02-06 17:46:43 +0200 asked a question Failing to add a script to sage

I have recently started using SageMath on MacOs (used to working in Magma) and my question has a high possibility of being dumb.. In any case, I am trying to run this code -- on github /catherineray/aut-jac and I am not able to even install it properly. Readme file specifies what I need (My magma has all the required specs etc) and, most likely, I am not able to set up SageTrac.

When I try to run autperio.sage it gives me this error

load('autperio.sage')
  File "<string>", line 41
    print Curve(f).genus()
              ^
SyntaxError: invalid syntax