Hello,

I am running Sage Version 3.0.5 (installed from
sage-3.0.5-i386-Darwin-osx10.4-intel.dmg) on a MacBook 2 GHz Intel
Core 2
Duo/ OS X 10.4.11.

I can run Maxima directly:

sage: !maxima
Maxima 5.13.0 http://maxima.sourceforge.net
Using Lisp CLISP 2.46 (2008-07-02)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) 2+2;
(%o1)                                  4



But I cannot run it from within Sage:


sage: maxima('2+2')

Timeout exceeded in read_nonblocking().
<pexpect.spawn instance at 0xd829c88>
version: 2.0 ($Revision: 1.151 $)
command: /Users/rafael/Applications/sage/maxima
args: ['/Users/rafael/Applications/sage/maxima', '-p', '/Users/rafael/
Applications/sage/local/bin/sage-maxima.lisp']
patterns:
    \(\%i[0-9]+\)
buffer (last 100 chars):
before (last 100 chars): and, self.args)
    425
    426         # Parent

OSError: [Errno 13] Permission denied
sage:
after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: 0
pid: 9168
child_fd: 3
timeout: 30
delimiter: <class 'pexpect.EOF'>
logfile: None
maxread: 10000
searchwindowsize: None
delaybeforesend: 0
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)

/Users/rafael/<ipython console> in <module>()

/Users/rafael/Applications/sage/local/lib/python2.5/site-packages/sage/
interfaces/maxima.py in __call__(self, x)
    375     def __call__(self, x):
    376         import sage.rings.all
--> 377         return Expect.__call__(self, x)
    378
    379     def __init__(self, script_subdirectory=None, logfile=None,
server=None,

/Users/rafael/Applications/sage/local/lib/python2.5/site-packages/sage/
interfaces/expect.py in __call__(self, x)
    946             return x
    947         if isinstance(x, basestring):
--> 948             return cls(self, x)
    949         try:
    950             return self._coerce_from_special_method(x)

/Users/rafael/Applications/sage/local/lib/python2.5/site-packages/sage/
interfaces/expect.py in __init__(self, parent, value, is_name)
   1215             except (TypeError, KeyboardInterrupt,
RuntimeError, ValueError), x:
   1216                 self._session_number = -1
-> 1217                 raise TypeError, x
   1218         self._session_number = parent._session_number
   1219

TypeError: Unable to start maxima


Any advice would be greatly appreciated!


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to