He not only reads sage-support, but occasionally refers to himself in
the third person...
As for your question:
On Wed, 04 Mar 2009 at 10:35PM -0800, Alex Lara wrote:
> I was trying to use the sagetex package unsuccessfully. I tried with
> example.tex.
> After I start running sage example.tex I got the following messages:
> Processing Sage code for example.tex...
> Inline formula 0
> Inline formula 1
> Inline formula 2
> Inline formula 3
> Code block begin...
> **** Error in Sage code on line 33 of example.tex! Traceback follows.
> Traceback (most recent call last):
> .
> .
> .
> raise RuntimeError, "Unable to start %s"%self.__name
> RuntimeError: Unable to start maxima
This is a problem with Sage, not SageTeX. For some reason, Sage can't
start Maxima. What happens if you start Sage normally and try to do some
calculus?
Dan
--
--- Dan Drake <dr...@kaist.edu>
----- KAIST Department of Mathematical Sciences
------- http://mathsci.kaist.ac.kr/~drake
I'm not quite sure what to do, but an obvious first step is to try
reinstalling the Maxima spkg. Try
sage -f http://sagemath.org/packages/standard/maxima-5.16.3.spkg
and see if that fixes things.
On Thu, Mar 5, 2009 at 9:37 PM, Alex Lara <lrod...@gmail.com> wrote:
>
> Hi Marshall
>
> I'm using Ubuntu 8.04, in a laptop Dell inspiron 1420. I installed
> from source. I have 3.1.1. and 3.2.3. I was checking, maxima does not
> work at all. I can't do a simple example like:
>
> sage: x = var('x')
> sage: solve(x^2 + 3*x + 2, x)
What do you get when you run "sage -maxima"?
--Mike
I am totally guessing here, but is there a non-ascii character somewhere
in the path to your Sage install, or in your shell's $PATH?
That's a good guess. There is a known major bug in Maxima + clisp where
it totally fails to work if there are certain non-ascii characters in the
filenames in the current directory or PATH. I can't wait until clisp isn't
in Sage.
>
> Dan
>
> --
> --- Dan Drake <dr...@kaist.edu>
> ----- KAIST Department of Mathematical Sciences
> ------- http://mathsci.kaist.ac.kr/~drake
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkmw7fAACgkQr4V8SljC5Lp5YwCfe+WRYLfaH6suwEKaL4TlorOb
> 23sAnjZMePg3aYtcBumhxsngrICzeOXW
> =WCyC
> -----END PGP SIGNATURE-----
>
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
Many thanks for the workarounds above! We may be able to at least
automate them for Sage, which would be a step forward.
That said -- I'm really looking forward to Sage switching to Maxima + ECL.
William