Start sage and type
sage: !magma
What happens?
>
> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to sage-support...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
What happens if you do this on the command line:
sage: magma.eval('2+2')
What happens if you type this in a notebook cell:
sage: os.system('magma')
William
> For more options, visit this group at http://groups.google.com/group/sage-support
Does it say anything in the notebook log (i.e., the screen you
originally launched the notebook from)?
Jason
What about
os.system('magma < /dev/null')
William
> For more options, visit this group at http://groups.google.com/group/sage-support
OK, then I'm stumped. I don't understand the mysteries of Magma's
proprietary copy protection.
William
> For more options, visit this group at http://groups.google.com/group/sage-support
I wonder if it just can't find the magma password file. After skimming
http://magma.maths.usyd.edu.au/magma/prot/prot.html
it looks like you can (must?) set the MAGMAPASSFILE environment
variable. Can you try:
os.system('export MAGMAPASSFILE=<wherever this is> && magma')
or
import os
os.environ['MAGMAPASSFILE']
Jason
No, do
os.system('export MAGMAPASSFILE=<wherever this is> && magma < /dev/null')
so you don't just hang things.
>
> or
>
> import os
> os.environ['MAGMAPASSFILE']
>
> Jason
>