The problem: I have a file with non-7 bit ASCII name. After rename it, everything is working fine!
Thanks a lot for your time! On Apr 24, 12:56 pm, William Stein <wst...@gmail.com> wrote: > On Fri, Apr 24, 2009 at 6:30 AM, prof <paulo.mo...@gmail.com> wrote: > > > Hi Michael, > > > Here is the complete procedure/output: > > > prof:~$ cd /Applications/sage-3.4/ > > prof:/Applications/sage-3.4$ ./sage > > ---------------------------------------------------------------------- > > | Sage Version 3.4, Release Date: 2009-03-11 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > sage: maxima('3+4') > > What happens if you type > > sage: !maxima > > ? > > William > > > > > --------------------------------------------------------------------------- > > TypeError Traceback (most recent call > > last) > > > /Applications/sage-3.4/<ipython console> in <module>() > > > /Applications/sage-3.4/local/lib/python2.5/site-packages/sage/ > > interfaces/expect.pyc in __call__(self, x, name) > > 1000 return x > > 1001 if isinstance(x, basestring): > > -> 1002 return cls(self, x, name=name) > > 1003 try: > > 1004 return self._coerce_from_special_method(x) > > > /Applications/sage-3.4/local/lib/python2.5/site-packages/sage/ > > interfaces/expect.pyc in __init__(self, parent, value, is_name, name) > > 1375 except (TypeError, KeyboardInterrupt, > > RuntimeError, ValueError), x: > > 1376 self._session_number = -1 > > -> 1377 raise TypeError, x > > 1378 self._session_number = parent._session_number > > 1379 > > > TypeError: Unable to start maxima > > sage: > > > On Apr 24, 10:10 am, mabshoff <mabsh...@googlemail.com> wrote: > >> On Apr 24, 5:43 am, prof wrote: > > >> > Hello, > > >> Hi, > > >> > I have installed Sage as root on iMac/Leopard 10.5.6 from sources > >> > using the normal procedure (tar, make, make test...). Everything looks > >> > ok. Sage was installed on /Applications/sage-3.4/. Using Sage as a > >> > normal user at Terminal: > >> > cd /Applications/sage-3.4 > >> > ./sage > > >> > OK! But... the command sage:maxima('3 + 4') gives several lines of > >> > error. The last line: > >> > TypeError: Unable to start maxima > > >> Well, can you post the rest? > > >> > Everything is ok if I run this command as root. This looks like a > >> > permission problem. Any light ? > > >> Hmm, have you used Maxima before installing Sage? In that case check > > > No, I have not used Maxima before. > > >> for .maxima folder or something similar in the non-root user home > >> directory and rename them to get them out of the way. Another thing: > >> check for files or directories with non-7 bit ASCII names and move > >> them out of that users directory. It is an odd interaction between > >> clisp and the LANG env we set in Sage. > > >> If that doesn't fix it I am not sure where to look next. > > >> Can you start clisp, i.e. does !clisp work from Sage? > > >> > Thanks in advance! > > >> Cheers, > > >> Michael > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://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 -~----------~----~----~----~------~----~------~--~---