On Fri, May 28, 2010 at 4:15 PM, VictorMiller <victorsmil...@gmail.com> 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 about

 os.system('magma < /dev/null')

William

>
> Victor
>
> On May 28, 6:55 pm, William Stein <wst...@gmail.com> wrote:
>> On Fri, May 28, 2010 at 3:33 PM, VictorMiller <victorsmil...@gmail.com> 
>> 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 start magma"
>>
>> > What's going on?
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
>> > Victor
>>
>> > On May 28, 2:11 pm, William Stein <wst...@gmail.com> wrote:
>> >> On Fri, May 28, 2010 at 11:03 AM, VictorMiller <victorsmil...@gmail.com> 
>> >> wrote:
>> >> > I have magma and sage 4.4.1 installed on my macbook pro.  I've made
>> >> > sure that the magma command is on my PATH.  Yet when I run sage, and I
>> >> > try and call to magma.eval, it says that it can't find magma.  This
>> >> > has worked without problem on my linux workstation at work.  So what
>> >> > needs to be done to have sage find my installation of magma?  The page
>> >> >http://www.sagemath.org/doc/reference/sage/interfaces/magma.html
>> >> > doesn't say anything about this.
>>
>> >> > Victor
>>
>> >> Start sage and type
>>
>> >>    sage: !magma
>>
>> >> What happens?
>>
>> >> > --
>> >> > To post to this group, send email to sage-support@googlegroups.com
>> >> > To unsubscribe from this group, send email to 
>> >> > sage-support+unsubscr...@googlegroups.com
>> >> > For more options, visit this group 
>> >> > athttp://groups.google.com/group/sage-support
>> >> > URL:http://www.sagemath.org
>>
>> >> --
>> >> William Stein
>> >> Professor of Mathematics
>> >> University of Washingtonhttp://wstein.org
>>
>> > --
>> > To post to this group, send email to sage-support@googlegroups.com
>> > To unsubscribe from this group, send email to 
>> > sage-support+unsubscr...@googlegroups.com
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/sage-support
>> > URL:http://www.sagemath.org
>>
>> --
>> William Stein
>> Professor of Mathematics
>> University of Washingtonhttp://wstein.org
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@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

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

Reply via email to