Comment 7 for bug 578767

Revision history for this message
David Grundberg (individ) wrote : Re: [Bug 578767] Re: Compiling Pytave under Sage

On 05/17/2010 03:05 PM, albop wrote:

>
> but if I use interactive interpreter,
> - ./sage then import pytave
> I get a long backtrace which I attach here. I don't know how to interpret this one. Any clue ?

The problem is conflicting implementations of Array<int>. Both liboctave
and Singular have their own

template <class T> class Array

with an int instantiation.

> Also (this is not related to sage) when I run :
> - ./sage -python then import pytave
> - python then import pytave # system wide python on my laptop
> I get octave greeting message and end up with octave command line. It works perfectly with IPython.

The GNU Octave greeting message is supposed to be shown on interactive
sessions. This is a deliberate feature. The python interpreter is still
supposed to print its prompt and accept input, though.

You mean octave print the octave:1> prompt and you can type octave
statements? That's a new one. There was a bug *in Octave* overriding the
readline *history* (but readline still working for the python
interpreter) that I know of.

David