On Fri, Feb 13, 2009 at 9:53 AM, mark mcclure <mcmcc...@unca.edu> wrote:
>
> On Feb 13, 5:34 am, mabshoff <mabsh...@googlemail.com> wrote:
>> Ok, I figured it out. After downloading the dmg I dragged it to my
>> desktop and double clicked on it to start. It came up, but Maxima/
>> clisp did not start.
>>
>> So, after quitting I run that sage on the command line and low and
>> behold the rebase script ran:
>
> Thanks for the info.  Unfortunately, Maxima still doesn't work for me.
> I included the error messages below.  Also, I built sage from source,
> assuming that would work.  I get virtually identical error messages
> with only the directory names changed.

What happens when you type:

./sage -maxima

?

William

>
>> Mark: Thanks again for pointing out this bug. We would have had a log
>> of egg on our face should this have slipped through :)
>
> Good, glad I helped!
>
>
> -------- Bad sage session -----------
> mcmcclure$ /Applications/Sage.app/Contents/Resources/sage/sage
> ----------------------------------------------------------------------
> | Sage Version 3.3.rc0, Release Date: 2009-02-11                     |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> The SAGE install tree may have moved.
> Regenerating Python.pyo and .pyc files that hardcode the install PATH
> (please wait at
> most a few minutes)...
> Do not interrupt this.
> sage: diff(x^2,x)
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call
> last)
>
> /Users/mcmcclure/<ipython console> in <module>()
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/calculus/functional.py in derivative(f, *args,
> **kwds)
>    127     """
>    128     try:
> --> 129         return f.derivative(*args, **kwds)
>    130     except AttributeError:
>    131         pass
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/calculus/calculus.py in derivative(self, *args)
>   2139                 raise TypeError, "arguments must be
> SymbolicVariable objects"
>   2140
> -> 2141         vars = self.variables()
>   2142
>   2143         if len(vars) == 0:
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/calculus/calculus.py in variables(self)
>   4691         """
>   4692         if not self._has_been_simplified():
> -> 4693             return self.simplify().variables()
>   4694
>   4695         try:
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/calculus/calculus.py in simplify(self)
>   3490             return self._simp
>   3491         except AttributeError:
> -> 3492             S = evaled_symbolic_expression_from_maxima_string
> (self._maxima_init_())
>   3493             S._simp = None
>   3494             self._simp = S
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/calculus/calculus.py in
> evaled_symbolic_expression_from_maxima_string(x)
>   9212         [  0 y^4], 1]
>   9213     """
> -> 9214     return symbolic_expression_from_maxima_string(maxima.eval
> (x))
>   9215
>   9216 def first_var(expr):
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/interfaces/expect.py in eval(self, code, strip,
> synchronize, **kwds)
>    929         try:
>    930             with gc_disabled():
> --> 931                 return '\n'.join([self._eval_line(L, **kwds)
> for L in code.split('\n') if L != ''])
>    932         except KeyboardInterrupt:
>    933             # DO NOT CATCH KeyboardInterrupt, as it is being
> caught
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/interfaces/maxima.py in _eval_line(self, line,
> allow_use_file, wait_for_prompt, reformat, error_check)
>    603             return repr(a)
>    604         else:
> --> 605             self._sendline(line)
>    606
>    607         if not wait_for_prompt:
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/interfaces/maxima.py in _sendline(self, str)
>    470
>    471     def _sendline(self, str):
> --> 472         self._sendstr(str)
>    473         os.write(self._expect.child_fd, os.linesep)
>    474
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/interfaces/expect.py in _sendstr(self, str)
>    826         """
>    827         if self._expect is None:
> --> 828             self._start()
>    829         try:
>    830             os.write(self._expect.child_fd, str)
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/interfaces/maxima.py in _start(self)
>    448             True
>    449         """
> --> 450         Expect._start(self)
>    451         self._sendline(r":lisp (defun tex-derivative (x l r)
> (tex (if $derivabbrev (tex-dabbrev x) (tex-d x '\\partial)) l r lop
> rop ))")
>    452         self._eval_line('0;')
>
> /Applications/Sage.app/Contents/Resources/sage/local/lib/python2.5/
> site-packages/sage/interfaces/expect.py in _start(self, alt_message,
> block_during_init)
>    462             self._session_number = BAD_SESSION
>    463             failed_to_start.append(self.__name)
> --> 464             raise RuntimeError, "Unable to start
> %s"%self.__name
>    465         self._expect.timeout = None
>    466         with gc_disabled():
>
> RuntimeError: Unable to start maxima
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

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

Reply via email to