Hi,
Reinstall the binary from
http://sagemath.org/SAGEbin/apple_osx/
or put these files in SAGE_ROOT/local/lib/
http://sage.math.washington.edu/home/was/tmp/libintl/
William
On 5/30/07, john_perry_usm <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> While trying out the calculus functions on the 2.5.3 OSX build (tar.gz
> package), I'm getting an error. Apparently SAGE thinks maxima isn't
> installed? The file it seems to complain about below is in fact there:
> osx-PowerMacintosh-Darwin/local/lib/maxima/5.12.0/binary-clisp/
> lisp.run
>
> regards
> john perry
>
> End Of File (EOF) in read_nonblocking(). Empty string style platform.
> <pexpect.spawn instance at 0xbec4328>
> version: 2.0 ($Revision: 1.151 $)
> command: /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-
> PowerMacintosh-Darwin/local/bin/maxima
> args: ['/Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-
> Darwin/local/bin/maxima', '-p', '/Users/jackperry/Desktop/sage-2.5.3-
> powerpc-osx-PowerMacintosh-Darwin/local/bin/sage-maxima.lisp']
> patterns:
> \(\%i[0-9]+\)
> buffer (last 100 chars):
> before (last 100 chars): osx-PowerMacintosh-Darwin/local/lib/maxima/
> 5.12.0/binary-clisp/lisp.run
> Reason: image not found
>
> after: <class 'pexpect.EOF'>
> match: None
> match_index: None
> exitstatus: None
> flag_eof: 1
> pid: 7007
> child_fd: 3
> timeout: 30
> delimiter: <class 'pexpect.EOF'>
> logfile: None
> maxread: 10000
> searchwindowsize: None
> delaybeforesend: 0
> ---------------------------------------------------------------------------
> <type 'exceptions.TypeError'> Traceback (most recent call
> last)
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> <ipython console> in <module>()
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> local/lib/python2.5/site-packages/sage/calculus/functional.py in
> derivative(f, *args, **kwds)
> 43 """
> 44 try:
> ---> 45 return f.derivative(*args, **kwds)
> 46 except AttributeError:
> 47 pass
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> local/lib/python2.5/site-packages/sage/calculus/calculus.py in
> derivative(self, *args)
> 1134 except IndexError:
> 1135 pass
> -> 1136 t = maxima('diff(%s, %s)'%(self._maxima_().name(), s))
> 1137 f = self.parent()(t)
> 1138 return f
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> local/lib/python2.5/site-packages/sage/calculus/calculus.py in
> _maxima_(self, session)
> 576 def _maxima_(self, session=None):
> 577 if session is None:
> --> 578 return RingElement._maxima_(self, maxima)
> 579 else:
> 580 return RingElement._maxima_(self, session)
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> sage_object.pyx in sage_object.SageObject._maxima_()
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> sage_object.pyx in sage_object.SageObject._interface_()
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> local/lib/python2.5/site-packages/sage/interfaces/maxima.py in
> __call__(self, x)
> 372 def __call__(self, x):
> 373 import sage.rings.all
> --> 374 return Expect.__call__(self, x)
> 375
> 376 def __init__(self, script_subdirectory=None, logfile=None,
> server=None):
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> local/lib/python2.5/site-packages/sage/interfaces/expect.py in
> __call__(self, x)
> 534 return x
> 535 if isinstance(x, basestring):
> --> 536 return cls(self, x)
> 537 try:
> 538 return self._coerce_impl(x)
>
> /Users/jackperry/Desktop/sage-2.5.3-powerpc-osx-PowerMacintosh-Darwin/
> local/lib/python2.5/site-packages/sage/interfaces/expect.py in
> __init__(self, parent, value, is_name)
> 763 except (TypeError, KeyboardInterrupt,
> RuntimeError, ValueError), x:
> 764 self._session_number = -1
> --> 765 raise TypeError, x
> 766 self._session_number = parent._session_number
> 767
>
> <type 'exceptions.TypeError'>: Unable to start maxima
>
>
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org
--~--~---------~--~----~------------~-------~--~----~
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-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---