On 3/21/07, benjamin antieau <[EMAIL PROTECTED]> wrote:
> I would be happy to fix this, but I am not sure where to look; or
> rather, I would have expected it to be a part of the macaulay2.py file
> in sage/interfaces, but I don't see where the 'print "\x01r\x01e10"'
> line is coming from.
>
> M2 works fine in the sage console, but in the notebook it hangs
> indefinitely, and I have to interrupt to kill it.
>
> Any comments would be apprectiated.

if you install the SAGE macaulay2 optional package instead of
whatever M2 you're using (a binary from somewhere?) does it
work?

To install the SAGE M2 package, do
   export SAGE_SERVER="http://www.sagmath.org";
or maybe
   export SAGE_SERVER="http://sage.scipy.org/sage/";
Then
   sage -i macaulay2-20061014
This will build M2 from source (its the svn version from 20061014),
and install it. SAGE will then use that version by default.
To stop SAGE from using it, do
    rm SAGE_ROOT/local/bin/M2
where SAGE_ROOT is the root of your sage install.

If this fixes the problem for you, then the problem must be that
the version of M2 you are using has different (or customized) prompts
or something.

Note that M2 works fine in the notebook for me.

> Ben A.
>
>
> Below is the result when I enter macaulay2.console() into the
> notebook() in firefox 1.5.
> Macaulay 2, version 0.9.95
> --warning: map checksum has changed, file /lib/tls/i686/cmov/
> libc-2.3.6.so
> --warning: map checksum has changed, file /lib/tls/i686/cmov/
> libm-2.3.6.so
> --warning: memory maps have changed, can't load cached data:
> /usr/lib/Macaulay2/Core/cache/Macaulay2-i686-data
> with packages: Classic, Core, Elimination, IntegralClosure, LLLBases,
> Parsing,
>                PrimaryDecomposition, SchurRings, TangentCone
>
> i1 : print "\x01r\x01e10"
> stdio:1:7:(0):[0]: unknown escape sequence: \x
>
> i2 :
>
>
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to