On Aug 20, 11:25 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> > OSError: [Errno 13] Permission denied > > ^^^^^^^^^^^^^^^^^^^^^^^^^ > > That line is surely relevant. What happens > when you do > > sudo sage > > from the command line, then try to use maxima from within sage? > > William > Thank you for your reply. Alas, I know almost nothing about unix, but I think I managed to do what you asked (please verify below!), and it seems it did not help: Last login: Wed Aug 20 21:18:32 on ttyp1 Rafael-Nepomechies-computer:~ rafael$ sudo /Users/rafael/Applications/ sage/sage; exit Password: ---------------------------------------------------------------------- | SAGE Version 3.0.5, Release Date: 2008-07-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: maxima('2+2') Timeout exceeded in read_nonblocking(). <pexpect.spawn instance at 0xd829cd8> 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: 10016 child_fd: 4 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 Thanks again. Rafael. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---