Hi. I am on Mac OS 10.8.2 with Sage 5.3 OS X 64bit 10.6 and Macaulay2 1.4. 
 I can run Macaulay2 commands from the Sage command line, but I cannot run 

%macaulay2
3+3

in the notebook interface.  I get the same (?) error as Fredrik:

Traceback (click to the left of this block for traceback)
...
RuntimeError: Unable to start macaulay2 because the command 'M2
--no-debug --no-readline --silent -e 'ZZ#{Standard,Core#"private
dictionary"#"InputPrompt"} = lineno -> "_EGAS_ :
";ZZ#{Standard,Core#"private dictionary"#"InputContinuationPrompt"} =
lineno -> "_EGAS_ : ";printWidth = 0;lineNumber = 10^9;'' failed.


If I type the command "M2 --no-debug --no-readline --silent -e" in the 
terminal, it doesn't work.  But if I leave off the "-e" it does work.


Any idea what is causing this mess up?  I really need M2 to function in the 
Sage notebook.


Thanks,

Peter


On Friday, January 27, 2012 6:39:20 PM UTC-5, Fredrik wrote:
>
> I'm trying to use Macaulay2 through Sage. However, I get an error 
> message. Here's what I type in Sage (notebook interface): 
>
> " 
> m = macaulay2 
> m.eval('2+4') 
> " 
>
> I get the error message 
>
> " 
> Traceback (click to the left of this block for traceback) 
> ... 
> RuntimeError: Unable to start macaulay2 because the command 'M2 
> --no-debug --no-readline --silent -e 'ZZ#{Standard,Core#"private 
> dictionary"#"InputPrompt"} = lineno -> "_EGAS_ : 
> ";ZZ#{Standard,Core#"private dictionary"#"InputContinuationPrompt"} = 
> lineno -> "_EGAS_ : ";printWidth = 0;lineNumber = 10^9;'' failed. 
> " 
>
> I'm using Mac OS X 10.7.2. I have Macaulay2 installed on my system, 
> and the command M2 will start Macaulay2 in the Terminal. I have Sage 
> version 4.7 and Macaulay2 version 1.4. (if it is relevant, trying to 
> use R, Python and Singular through Sage works just fine) 
>
> Regards, 
> Fredrik Meyer

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to