[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
More data: If I start sage and then type !magma it starts up Magma. I then exit from it (by typing "exit;") and start the notebook. However, if I try to run magma from the notebook, I get the message "Type Error: unable to start magma" What's going on? Victor On May 28, 2:11 pm, William St

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
I'm in the notebook and I typed os.system('magma') It's now over 5 minutes, and it still hasn't come back! While I was waiting I went a terminal and typed magma and it started within less than a second. Something weird. Victor On May 28, 6:55 pm, William Stein wrote: > On Fri, May 28, 2010 at

[sage-support] Re: Magma on a mac

2010-05-28 Thread Jason Grout
On 5/28/10 6:15 PM, VictorMiller wrote: I'm in the notebook and I typed os.system('magma') It's now over 5 minutes, and it still hasn't come back! While I was waiting I went a terminal and typed magma and it started within less than a second. Something weird. Does it say anything in the not

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
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 However, I have no trouble starting magma from a terminal or from sage i

[sage-support] Re: Magma on a mac

2010-05-28 Thread Jason Grout
On 5/28/10 7:10 PM, William Stein wrote: On Fri, May 28, 2010 at 5:07 PM, VictorMiller 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 passw

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
Ah, that's it. I had put the .magmapass file in my home directory, but never set up MAGMAPASSFILE as an environment variable. For some reason when I started magma from the command line, or with !magma this didn't bother it, but from the notebook it did. I added something to set MAGMAPASSFILE in

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
Aha! I did some further investigation and found that I had the following line in my ~/.bash_profile file MAGMAPASSFILE=.magmapass However, it should have been MAGMAPASSFILE=~/.magmapass so that's why it couldn't find it because it was running in a directory not my home directory. Victor On M

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 3:33 PM, VictorMiller wrote: > More data:  If I start sage and then type > > !magma > > it starts up Magma.  I then exit from it (by typing "exit;") and start > the notebook. > > However, if I try to run magma from the notebook, I get the message > > "Type Error: unable to

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 4:15 PM, VictorMiller wrote: > I'm in the notebook and I typed > > os.system('magma') > > It's now over 5 minutes, and it still hasn't come back!  While I was > waiting I went a terminal and typed magma and it started within less > than a second. > Something weird. What ab

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 5:07 PM, VictorMiller 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 OK,

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 5:46 PM, Jason Grout wrote: > On 5/28/10 7:10 PM, William Stein wrote: >> >> On Fri, May 28, 2010 at 5:07 PM, VictorMiller >>  wrote: >>> >>> After 1/2 hour (!) I decided to interrupt the worksheet, quite the >>> notebook, quite sage, and then restart sage.  Now when I try