Executing the following "not tested" doctest from
sage/interfaces/maxima.py gives trouble, anybody has a clue what is
going wrong?
I doesn't work neither on sage-4.6.2 nor on sage-4.7.alpha4.


sage: zeta_ptsx = [ (pari(1/2 + i*I/10).zeta().real()).precision(1) for
i in range (70,150)]
sage: zeta_ptsy = [ (pari(1/2 + i*I/10).zeta().imag()).precision(1) for
i in range (70,150)]
sage: maxima.plot_list(zeta_ptsx, zeta_ptsy)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/usr/local/src/sage-4.7.alpha2/<ipython console> in <module>()

/usr/local/src/sage-4.6.2/local/lib/python2.6/site-packages/sage/interfaces/maxima.pyc
in plot_list(self, ptsx, ptsy, options)
   1659         else:
   1660             cmd += ', %s)'%options
-> 1661         self(cmd)
   1662
   1663

/usr/local/src/sage-4.6.2/local/lib/python2.6/site-packages/sage/interfaces/expect.pyc
in __call__(self, x, name)
   1097
   1098         if isinstance(x, basestring):
-> 1099             return cls(self, x, name=name)
   1100         try:
   1101             return self._coerce_from_special_method(x)

/usr/local/src/sage-4.6.2/local/lib/python2.6/site-packages/sage/interfaces/expect.pyc
in __init__(self, parent, value, is_name, name)
   1524             except (TypeError, KeyboardInterrupt, RuntimeError,
ValueError), x:
   1525                 self._session_number = -1
-> 1526                 raise TypeError, x
   1527         self._session_number = parent._session_number
   1528

TypeError: Error executing code in Maxima
CODE:
        <type 'str'>
Maxima ERROR:

<sage-display>(%i14)
batchload("/home/jdemeyer/.sage//temp/arcanis/19391//interface//tmp19393-112610040");1+2092148311;


Maxima encountered a Lisp error:

 Read or write operation to stream #<output stream "gnuplot"> signaled
an error.
Explanation: Broken pipe.

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
(%o15)

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to