On Fri, May 28, 2010 at 5:46 PM, Jason Grout
<[email protected]> wrote:
> On 5/28/10 7:10 PM, William Stein wrote:
>>
>> On Fri, May 28, 2010 at 5:07 PM, VictorMiller<[email protected]>
>>  wrote:
>>>
>>> After 1/2 hour (!) I decided to interrupt the worksheet, quite the
>>> notebook, quite sage, and then restart sage.  Now when I try
>>>
>>> os.system('mamga') it comes back right away with
>>>
>>> Can't open Magma password file
>>> .magmapass
>>>
>>> 256
>>
>
> 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')

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
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to