Hi,
Can you check if $SAGE_ROOT/local/bin/maxima-readline exists, and if so,
whether it is set as executable and readable by the user you use it as? If
so, can you try running `os.system('maxima-readline')` and see if it works?
On Fri, Apr 23, 2010 at 10:14 PM, Mathieu Roux <[email protected]> wrote:
> Hello everybody,
>
> I have already asked this question, which was being solved, but i
> didn't get the answer since it was forgotten.
>
> Well... I have just installed Sage Version 4.3.5, Release Date:
> 2010-03-28 on
> my laptop MacBook with MacOS X 10.5.8, by compiling the source code.
> There was no problem during the compilation.
> But now i can't use maxima. For exemple, if i enter
> f = maxima.eval('ij_entry[i,j] := i/j')
> the full answer is:
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (47, 0))
> ---------------------------------------------------------------------------
> RuntimeError Traceback (most recent call
> last)
> /Users/mathieuroux/<ipython console> in <module>()
> /Applications/sage-4.3.5/local/lib/python2.6/site-packages/sage/
> interfaces/expect.pyc in eval(self, code, strip, synchronize, locals,
> **kwds)
> 981 try:
> 982 with gc_disabled():
> --> 983 return '\n'.join([self._eval_line(L, **kwds)
> for L in code.split('\n') if L != ''])
> 984 except KeyboardInterrupt:
> 985 # DO NOT CATCH KeyboardInterrupt, as it is being
> caught
> /Applications/sage-4.3.5/local/lib/python2.6/site-packages/sage/
> interfaces/maxima.pyc in _eval_line(self, line, allow_use_file,
> wait_for_prompt, reformat, error_check)
> 747 return repr(a)
> 748 else:
> --> 749 self._sendline(line)
> 750
> 751 if not wait_for_prompt:
> /Applications/sage-4.3.5/local/lib/python2.6/site-packages/sage/
> interfaces/maxima.pyc in _sendline(self, str)
> 604
> 605 def _sendline(self, str):
> --> 606 self._sendstr(str)
> 607 os.write(self._expect.child_fd, os.linesep)
> 608
> /Applications/sage-4.3.5/local/lib/python2.6/site-packages/sage/
> interfaces/expect.pyc in _sendstr(self, str)
> 867 """
> 868 if self._expect is None:
> --> 869 self._start()
> 870 try:
> 871 os.write(self._expect.child_fd, str)
> /Applications/sage-4.3.5/local/lib/python2.6/site-packages/sage/
> interfaces/maxima.pyc in _start(self)
> 577
> 578 """
> --> 579 Expect._start(self)
> 580 self._sendline(r":lisp (defun tex-derivative (x l r)
> (tex (if $derivabbrev (tex-dabbrev x) (tex-d x '\\partial)) l r lop
> rop ))")
> 581
> /Applications/sage-4.3.5/local/lib/python2.6/site-packages/sage/
> interfaces/expect.pyc in _start(self, alt_message, block_during_init)
> 456 failed_to_start.append(self.__name)
> 457 raise RuntimeError, "Unable to start %s because
> the command '%s' failed.\n%s"%(
> --> 458 self.__name, cmd, self._install_hints())
> 459
> 460 os.chdir(current_path)
> RuntimeError: Unable to start maxima because the command 'maxima-
> noreadline --userdir="/Users/mathieuroux/.sage/maxima" -p "/
> Applications/sage-4.3.5/local/bin/sage-maxima.lisp"' failed.
> Can someone help me?
> you know i'm french so if you answer in french don't worry...
> Friendly
> Mathieu
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<sage-support%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com
--
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-support
URL: http://www.sagemath.org