On 11/2/12 11:17 AM, Peter Horn wrote:
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.


That command comes from line 180 in devel/sage/interfaces/macaulay2.py: http://hg.sagemath.org/sage-main/file/d06cf4b2215d/sage/interfaces/macaulay2.py#l180

I have no idea what that -e does, but if you want to try removing it, that's where you'd change something.

Thanks,

Jason


--
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