[sage-devel] Re: Cplex installation (for beginners)

2020-08-27 Thread David Coudert
Perfect. Thank you.

Le jeudi 27 août 2020 à 17:00:14 UTC+2, Matthias Koeppe a écrit :

> On Thursday, August 27, 2020 at 4:44:07 AM UTC-7, David Coudert wrote:
>>
>> "sage -i sage_numerical_backends_cplex" is working well. Thank you.
>>
>> May be we should say that in the documentation of 
>> https://github.com/mkoeppe/sage-numerical-backends-cplex.
>>
>>
> I have already updated the README there - please take a look  
>

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/55d1a48b-2d93-47a9-b355-d793a0ebc57fn%40googlegroups.com.


[sage-devel] Re: Cplex installation (for beginners)

2020-08-27 Thread Matthias Koeppe
On Thursday, August 27, 2020 at 4:44:07 AM UTC-7, David Coudert wrote:
>
> "sage -i sage_numerical_backends_cplex" is working well. Thank you.
>
> May be we should say that in the documentation of 
> https://github.com/mkoeppe/sage-numerical-backends-cplex.
>
>
I have already updated the README there - please take a look  

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8c5195ae-1555-4303-b1cc-67b2a1c6e4c1o%40googlegroups.com.


Re: [sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.2

2020-08-27 Thread Dima Pasechnik
On Thu, Aug 27, 2020 at 1:00 PM Samuel Lelievre
 wrote:
>
> We could also decide to migrate the release notes
> to the Trac Wiki. Then everyone who can participate
> in Trac tickets can also participate in the release notes.

IMHO we would not want to further tie us up to trac, it's probably
inevitable that we'll move somewhere more modern.

As well, I'd much prefer a Wiki which can be updated via Git.

Dima
>
> --
> 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 sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/28aa8d29-9a15-4f7e-b0ca-ed66aa138d69o%40googlegroups.com.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1waW8mBJ3tn81jXH%3DEqsQFivZhRGSc-cDOmULB64k5%3DQ%40mail.gmail.com.


Re: [sage-devel] Re: Trac notification emails

2020-08-27 Thread Michael Orlitzky
On 2020-08-04 10:21, Dima Pasechnik wrote:
> I've switched trac to send notifications via a host called
> sagemath.openbsd.amsterdam
> (after wasting a lot of time trying to use Google's G-suite, it's hell )
> 
> Let me know whether this works for you - I see it working for me
> (sending trac notifications to my gmail address - and getting these).
> 

This has been working wonderfully, thanks for taking the time to do it.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/b79d90f3-e82a-f00a-80ff-ebf90c4fcf26%40orlitzky.com.


Re: [sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.2

2020-08-27 Thread Samuel Lelievre
We could also decide to migrate the release notes
to the Trac Wiki. Then everyone who can participate
in Trac tickets can also participate in the release notes.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/28aa8d29-9a15-4f7e-b0ca-ed66aa138d69o%40googlegroups.com.


[sage-devel] Re: Cplex installation (for beginners)

2020-08-27 Thread David Coudert
"sage -i sage_numerical_backends_cplex" is working well. Thank you.

May be we should say that in the documentation of 
https://github.com/mkoeppe/sage-numerical-backends-cplex.

Best,
David.

Le jeudi 27 août 2020 à 00:25:28 UTC+2, Matthias Koeppe a écrit :

> This package is also prepared as an optional sage package.
> "sage -i sage_numerical_backends_cplex" suffices. See 
> https://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html#solvers-backends
>
>
> On Wednesday, August 26, 2020 at 9:10:33 AM UTC-7, David Coudert wrote:
>>
>> Hello,
>>
>> I'm posting this here as it may help improving the documentation of sage 
>> math and the install guide of Cplex.
>>
>> A colleague (with very little system knowledge) just installed sagemath 
>> on his new macOS laptop using the  precompiled 
>> binary sage-9.1-OSX_10.15.4-x86_64.app.dmg.
>> He also installed Cplex Studio 12.10.
>> Then he followed the install guide of Cplex from 
>> https://github.com/mkoeppe/sage-numerical-backends-cplex and got the 
>> following error.
>> I don't know how to solve this issue.
>>
>> Any help is more than welcome :))
>>
>> Best,
>> David.
>>
>> =
>> aioli:~ nnisse$ sage -python -m pip install sage-numerical-backends-cplex
>> pip is configured with locations that require TLS/SSL, however the ssl 
>> module in Python is not available.
>> Collecting sage-numerical-backends-cplex
>>   Retrying (Retry(total=4, connect=None, read=None, redirect=None, 
>> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS 
>> URL because the SSL module is not available.")': 
>> /simple/sage-numerical-backends-cplex/
>>   Retrying (Retry(total=3, connect=None, read=None, redirect=None, 
>> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS 
>> URL because the SSL module is not available.")': 
>> /simple/sage-numerical-backends-cplex/
>>   Retrying (Retry(total=2, connect=None, read=None, redirect=None, 
>> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS 
>> URL because the SSL module is not available.")': 
>> /simple/sage-numerical-backends-cplex/
>>   Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
>> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS 
>> URL because the SSL module is not available.")': 
>> /simple/sage-numerical-backends-cplex/
>>   Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
>> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS 
>> URL because the SSL module is not available.")': 
>> /simple/sage-numerical-backends-cplex/
>>   Could not fetch URL 
>> https://pypi.org/simple/sage-numerical-backends-cplex/: There was a 
>> problem confirming the ssl certificate: HTTPSConnectionPool(host='
>> pypi.org', port=443): Max retries exceeded with url: 
>> /simple/sage-numerical-backends-cplex/ (Caused by SSLError("Can't connect 
>> to HTTPS URL because the SSL module is not available.")) - skipping
>>   Could not find a version that satisfies the requirement 
>> sage-numerical-backends-cplex (from versions: )
>> No matching distribution found for sage-numerical-backends-cplex
>> pip is configured with locations that require TLS/SSL, however the ssl 
>> module in Python is not available.
>> Could not fetch URL https://pypi.org/simple/pip/: There was a problem 
>> confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', 
>> port=443): Max retries exceeded with url: /simple/pip/ (Caused by 
>> SSLError("Can't connect to HTTPS URL because the SSL module is not 
>> available.")) - skipping
>> =
>>
>

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8a11c78a-69fa-438b-b11a-fe3b69e4894fn%40googlegroups.com.


Re: [sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.2

2020-08-27 Thread Thierry
Hi,

On Thu, Aug 27, 2020 at 02:09:10AM -0700, c.ed...@gmail.com wrote:
> Hello,
> 
> I'm one of the authors of 30243  on 
> the enumeration/manipulation of fully commutative elements in Coxeter 
> groups. I'd be happy to add a short section on it under Combinatorics, but 
> I'm not sure how to log in to the wiki. The help page says I can use my 
> trac account, but I log into trac through Github, and as such I have a 
> token instead of a password.

You should request a genuine (some people call it legacy) trac account,
see https://doc.sagemath.org/html/en/developer/trac.html#obtaining-an-account

Ciao,
Thierry



> -- Chase
> 
> On Wednesday, August 19, 2020 at 3:08:05 PM UTC-6 Matthias Koeppe wrote:
> 
> > On Saturday, August 8, 2020 at 11:10:17 AM UTC-7, Matthias Koeppe wrote:
> >>
> >> Let's prepare the release tour for the upcoming 9.2 release by 
> >> collaborative editing.
> >>
> >> https://wiki.sagemath.org/ReleaseTours/sage-9.2
> >>
> >
> > Could someone contribute a brief exposition of the user-visible changes 
> > brought by the updates to Sphinx, IPython, the Jupyter notebook?
> >
> >
> >
> 
> -- 
> 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 sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/8864479b-b9af-4eab-b6a4-30781e069a5dn%40googlegroups.com.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/20200827112800.ago4ey3v5zz6o4ix%40metelu.net.


Re: [sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.2

2020-08-27 Thread Dima Pasechnik
Hi,

On Thu, Aug 27, 2020 at 10:09 AM c.ed...@gmail.com  wrote:
>
> I'm one of the authors of 30243 on the enumeration/manipulation of fully 
> commutative elements in Coxeter groups. I'd be happy to add a short section 
> on it under Combinatorics, but I'm not sure how to log in to the wiki. The 
> help page says I can use my trac account, but I log into trac through Github, 
> and as such I have a token instead of a password.

We really need to sort the wiki logins out, but in the meantime please
feel free to email proposed changes to us.

Thanks
Dima

>
> -- Chase
>
> On Wednesday, August 19, 2020 at 3:08:05 PM UTC-6 Matthias Koeppe wrote:
>>
>> On Saturday, August 8, 2020 at 11:10:17 AM UTC-7, Matthias Koeppe wrote:
>>>
>>> Let's prepare the release tour for the upcoming 9.2 release by 
>>> collaborative editing.
>>>
>>> https://wiki.sagemath.org/ReleaseTours/sage-9.2
>>
>>
>> Could someone contribute a brief exposition of the user-visible changes 
>> brought by the updates to Sphinx, IPython, the Jupyter notebook?
>>
>>
> --
> 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 sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/8864479b-b9af-4eab-b6a4-30781e069a5dn%40googlegroups.com.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3PdXPXJahx%2BZcXmxZ1dfEosjCYpfUbUef-LogP%3DMVQoA%40mail.gmail.com.


[sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.2

2020-08-27 Thread c.ed...@gmail.com
Hello,

I'm one of the authors of 30243  on 
the enumeration/manipulation of fully commutative elements in Coxeter 
groups. I'd be happy to add a short section on it under Combinatorics, but 
I'm not sure how to log in to the wiki. The help page says I can use my 
trac account, but I log into trac through Github, and as such I have a 
token instead of a password.

-- Chase

On Wednesday, August 19, 2020 at 3:08:05 PM UTC-6 Matthias Koeppe wrote:

> On Saturday, August 8, 2020 at 11:10:17 AM UTC-7, Matthias Koeppe wrote:
>>
>> Let's prepare the release tour for the upcoming 9.2 release by 
>> collaborative editing.
>>
>> https://wiki.sagemath.org/ReleaseTours/sage-9.2
>>
>
> Could someone contribute a brief exposition of the user-visible changes 
> brought by the updates to Sphinx, IPython, the Jupyter notebook?
>
>
>

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8864479b-b9af-4eab-b6a4-30781e069a5dn%40googlegroups.com.


Re: [sage-devel] Re: Sage Magma interface

2020-08-27 Thread Kannappan Sampath
Thank you! That is very useful to know!
Marc helped me more and I have gotten it working again!

Thank you!

   Best,
   Kannappan


-
*Kannappan Sampath*
*Graduate Student*

Department of Mathematics | University of Michigan
kn...@umich.edu


On Thu, Aug 27, 2020 at 4:03 AM Dima Pasechnik  wrote:

> On Thu, Aug 27, 2020 at 3:01 AM Kannappan Sampath  wrote:
> >
> > Hello everyone:
> >
> > After some poking around (and hat tip from Marc Masdeu), I notice that
> the source for the error might be in part due to the following:
> >
> >
> > [knsam@gl-login1 magma]$ echo $SAGE_ROOT
> > /sw/lsa/centos7/sage/9.1
> >
> > For some reason, sage is looking in $SAGE_ROOT/lib/sage/ext_data/magma/
> and from what I can see, in my installation, there is no such thing.
> However, I do notice that the file containing the commands that would make
> this run namely basic.m is in
> >
> > $SAGE_ROOT/lib/python3.7/site-packages/sage/ext_data/magma/
> >
> > Does this mean that I should somehow recompile sage with a different
> SAGE_ROOT, or teach Sage to look here instead when it wants to fool around
> with magma? Any help fixing it would be appreciated. Thank you!
>
>
> Sage looks for Magma stuff in SAGE_EXTCODE/magma/, where SAGE_EXTCODE
> value may be inspected by
>
> sage: from sage.env import SAGE_EXTCODE
> sage: SAGE_EXTCODE
>
>
> on my installation I see the latter showing
> '/mnt/opt/Sage/sage-dev/local/lib/python3.7/site-packages/sage/ext_data'
> (where SAGE_ROOT==/mnt/opt/Sage/sage-dev/)
>
> What is the value of SAGE_EXTCODE in your case?
> It should be $SAGE_ROOT/lib/python3.7/site-packages/sage/ext_data/
>
> If it's not, it has to be set to the correct value.
>
> > On Wednesday, August 26, 2020 at 12:15:44 PM UTC-4 Kannappan Sampath
> wrote:
> >>
> >> Hello everyone:
> >>
> >> I am trying to compute with Eichler orders in a definite quaternion
> algebra and consequently would like for Sage and Magma to talk to each
> other.  I am using Sage version 9.1 and Magma version V2.25-2. I think that
> Sage is able to discover the Magma installation (eg. magma_console() works).
> >>
> >> However, in my installation, somehow many of the basic Sage<->Magma
> interface commands are broken. For example:
> >>
> >> sage: magma(1).sage()
> >>
> >>
> ---
> >>
> >> RuntimeError  Traceback (most recent call
> last)
> >>
> >>  in ()
> >>
> >> > 1 magma(Integer(1)).sage()
> >>
> >>
> >>
> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/interface.py
> in sage(self, *args, **kwds)
> >>
> >>1085 [0 0]
> >>
> >>1086 """
> >>
> >> -> 1087 return self._sage_(*args, **kwds)
> >>
> >>1088
> >>
> >>1089 def __repr__(self):
> >>
> >>
> >>
> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
> in _sage_(self)
> >>
> >>2062 Ring of integers modulo 137
> >>
> >>2063 """
> >>
> >> -> 2064 z, preparse = self.Sage(nvals=2)
> >>
> >>2065 s = str(z)
> >>
> >>2066 preparse = str(preparse) == 'true'
> >>
> >>
> >>
> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
> in __call__(self, *args, **kwds)
> >>
> >>1680[self._obj.name()] + list(args),
> >>
> >>1681params=kwds,
> >>
> >> -> 1682nvals=nvals)
> >>
> >>1683
> >>
> >>1684 def _instancedoc_(self):
> >>
> >>
> >>
> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
> in function_call(self, function, args, params, nvals)
> >>
> >>1163 fun = "%s(%s%s)" % (function, ",".join([s.name() for s
> in args]), par)
> >>
> >>1164
> >>
> >> -> 1165 return self._do_call(fun, nvals)
> >>
> >>1166
> >>
> >>1167 def _do_call(self, code, nvals):
> >>
> >>
> >>
> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
> in _do_call(self, code, nvals)
> >>
> >>1218 vars = ", ".join(v)
> >>
> >>1219 cmd = "%s := %s;" % (vars, code)
> >>
> >> -> 1220 out = self.eval(cmd)
> >>
> >>1221 ans = tuple([MagmaElement(self, x, is_name=True)
> for x in v])
> >>
> >>1222
> >>
> >>
> >>
> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
> in eval(self, x, strip, **kwds)
> >>
> >> 561 ans = Expect.eval(self, x, **kwds).replace('\\\n', '')
> >>
> >> 562 if 'Runtime error' in ans or 'User error' in ans:
> >>
> >> --> 563 raise RuntimeError("Error evaluating Magma
> code.\nIN:%s\nOUT:%s" % (x, ans))
> >>
> >> 564 return ans
> >>
> >> 565
> >>
> >>
> >> RuntimeError: Error evaluating Magma code.
> >>
> >> IN:_sage_[33], _sage_[16] := Sage(_sa

Re: [sage-devel] Re: Sage Magma interface

2020-08-27 Thread Dima Pasechnik
On Thu, Aug 27, 2020 at 3:01 AM Kannappan Sampath  wrote:
>
> Hello everyone:
>
> After some poking around (and hat tip from Marc Masdeu), I notice that the 
> source for the error might be in part due to the following:
>
>
> [knsam@gl-login1 magma]$ echo $SAGE_ROOT
> /sw/lsa/centos7/sage/9.1
>
> For some reason, sage is looking in $SAGE_ROOT/lib/sage/ext_data/magma/ and 
> from what I can see, in my installation, there is no such thing. However, I 
> do notice that the file containing the commands that would make this run 
> namely basic.m is in
>
> $SAGE_ROOT/lib/python3.7/site-packages/sage/ext_data/magma/
>
> Does this mean that I should somehow recompile sage with a different 
> SAGE_ROOT, or teach Sage to look here instead when it wants to fool around 
> with magma? Any help fixing it would be appreciated. Thank you!


Sage looks for Magma stuff in SAGE_EXTCODE/magma/, where SAGE_EXTCODE
value may be inspected by

sage: from sage.env import SAGE_EXTCODE
sage: SAGE_EXTCODE


on my installation I see the latter showing
'/mnt/opt/Sage/sage-dev/local/lib/python3.7/site-packages/sage/ext_data'
(where SAGE_ROOT==/mnt/opt/Sage/sage-dev/)

What is the value of SAGE_EXTCODE in your case?
It should be $SAGE_ROOT/lib/python3.7/site-packages/sage/ext_data/

If it's not, it has to be set to the correct value.

> On Wednesday, August 26, 2020 at 12:15:44 PM UTC-4 Kannappan Sampath wrote:
>>
>> Hello everyone:
>>
>> I am trying to compute with Eichler orders in a definite quaternion algebra 
>> and consequently would like for Sage and Magma to talk to each other.  I am 
>> using Sage version 9.1 and Magma version V2.25-2. I think that Sage is able 
>> to discover the Magma installation (eg. magma_console() works).
>>
>> However, in my installation, somehow many of the basic Sage<->Magma 
>> interface commands are broken. For example:
>>
>> sage: magma(1).sage()
>>
>> ---
>>
>> RuntimeError  Traceback (most recent call last)
>>
>>  in ()
>>
>> > 1 magma(Integer(1)).sage()
>>
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/interface.py
>>  in sage(self, *args, **kwds)
>>
>>1085 [0 0]
>>
>>1086 """
>>
>> -> 1087 return self._sage_(*args, **kwds)
>>
>>1088
>>
>>1089 def __repr__(self):
>>
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
>>  in _sage_(self)
>>
>>2062 Ring of integers modulo 137
>>
>>2063 """
>>
>> -> 2064 z, preparse = self.Sage(nvals=2)
>>
>>2065 s = str(z)
>>
>>2066 preparse = str(preparse) == 'true'
>>
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
>>  in __call__(self, *args, **kwds)
>>
>>1680[self._obj.name()] + list(args),
>>
>>1681params=kwds,
>>
>> -> 1682nvals=nvals)
>>
>>1683
>>
>>1684 def _instancedoc_(self):
>>
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
>>  in function_call(self, function, args, params, nvals)
>>
>>1163 fun = "%s(%s%s)" % (function, ",".join([s.name() for s in 
>> args]), par)
>>
>>1164
>>
>> -> 1165 return self._do_call(fun, nvals)
>>
>>1166
>>
>>1167 def _do_call(self, code, nvals):
>>
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
>>  in _do_call(self, code, nvals)
>>
>>1218 vars = ", ".join(v)
>>
>>1219 cmd = "%s := %s;" % (vars, code)
>>
>> -> 1220 out = self.eval(cmd)
>>
>>1221 ans = tuple([MagmaElement(self, x, is_name=True) for x 
>> in v])
>>
>>1222
>>
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/magma.py
>>  in eval(self, x, strip, **kwds)
>>
>> 561 ans = Expect.eval(self, x, **kwds).replace('\\\n', '')
>>
>> 562 if 'Runtime error' in ans or 'User error' in ans:
>>
>> --> 563 raise RuntimeError("Error evaluating Magma 
>> code.\nIN:%s\nOUT:%s" % (x, ans))
>>
>> 564 return ans
>>
>> 565
>>
>>
>> RuntimeError: Error evaluating Magma code.
>>
>> IN:_sage_[33], _sage_[16] := Sage(_sage_[24]);
>>
>> OUT:
>>
>> >> _sage_[33], _sage_[16] := Sage(_sage_[24]);
>>
>>  ^
>>
>> User error: Identifier 'Sage' has not been declared or assigned
>>
>>
>> sage: R. = PolynomialRing(QQ)
>>
>> sage: S = magma(R)
>>
>> ---
>>
>> RuntimeError  Traceback (most recent call last)
>>
>> /sw/lsa/centos7/sage/9.1/lib/python3.7/site-packages/sage/interfaces/expect.py
>>  in __init__(self, parent, value, is_name, name)
>>
>>1470 try:
>>
>> -> 1471 self._name = pare