On Nov 2, 2012, at 09:25 , Jason Grout wrote:

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

For the record, the "-e" allows the user to run Macaulay2 to evaluate an 
expression that follows the "-e" on the command-line.  You'd have to evaluate 
that blather to figure out what the (bleep) was intended.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------



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