[sage-support] Re: Sage won't start maxima

2007-08-28 Thread gsage


 That is quite interesting. The problem in the faq indicated a
 potential filename problem. But that seems rather unlikely after you
 moved your $SAGE_ROOT to tmp. Any chance your username or hostname has
 any odd characters in it? I am thinking about anything that is not 7-
 bit ASCII.

May have found the problem. My hostname  username (e.g.
[EMAIL PROTECTED]) is the same  it appears that sage balks at this. I
created a new user and ran sage from the same directory  it started
maxima OK.

Any chance I can change something in sage to force it to accept this
setup?



--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Sage won't start maxima

2007-08-27 Thread gsage

I d/l the source and it compiled fine. However, Sage could not start
maxima.

Here's the error message from the command line:

input
sage: sqrt(4)

output
Timeout exceeded in read_nonblocking().
pexpect.spawn instance at 0xaeee448c
version: 2.0 ($Revision: 1.151 $)
command: /home/myhome/Desktop/sage-2.8.2/local/bin/maxima
args: ['/home/myhome/Desktop/sage-2.8.2/local/bin/maxima', '-p', '/
home/myhome/Desktop/sage-2.8.2/local/bin/sage-maxima.lisp']
patterns:
\(\%i[0-9]+\)
buffer (last 100 chars):
before (last 100 chars):  :R1  ABORT
ABORT  :R2  ABORT
ABORT  :R3  ABORT
Break 1 [4]
after: class 'pexpect.TIMEOUT'
match: None
match_index: None
exitstatus: None
flag_eof: 0
pid: 2808
child_fd: 3
timeout: 30
delimiter: class 'pexpect.EOF'
logfile: None
maxread: 1
searchwindowsize: None
delaybeforesend: 0
---
type 'exceptions.RuntimeError'  Traceback (most recent call
last)

/home/myhome/Desktop/sage-2.8.2/ipython console in module()

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
IPython/Prompts.py in __call__(self, arg)
521
522 # and now call a possibly user-defined print
mechanism
-- 523 manipulated_val = self.display(arg)
524
525 # user display hooks can change the variable to be
stored in

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
IPython/Prompts.py in _display(self, arg)
545 
546
-- 547 return self.shell.hooks.result_display(arg)
548
549 # Assign the default display method:

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
IPython/hooks.py in __call__(self, *args, **kw)
132 #print prio,prio,cmd,cmd #dbg
133 try:
-- 134 ret = cmd(*args, **kw)
135 return ret
136 except ipapi.TryNext, exc:

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
IPython/hooks.py in result_display(self, arg)
160
161 if self.rc.pprint:
-- 162 out = pformat(arg)
163 if '\n' in out:
164 # So that multi-line strings line up with the left
column of

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
pformat(self, object)
109 def pformat(self, object):
110 sio = _StringIO()
-- 111 self._format(object, sio, 0, 0, {}, 0)
112 return sio.getvalue()
113

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
_format(self, object, stream, indent, allowance, context, level)
127 self._readable = False
128 return
-- 129 rep = self._repr(object, context, level - 1)
130 typ = _type(object)
131 sepLines = _len(rep)  (self._width - 1 - indent -
allowance)

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
_repr(self, object, context, level)
193 def _repr(self, object, context, level):
194 repr, readable, recursive = self.format(object,
context.copy(),
-- 195 self._depth,
level)
196 if not readable:
197 self._readable = False

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
format(self, object, context, maxlevels, level)
205 and whether the object represents a recursive
construct.
206 
-- 207 return _safe_repr(object, context, maxlevels, level)
208
209

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
_safe_repr(object, context, maxlevels, level)
290 return format % _commajoin(components), readable,
recursive
291
-- 292 rep = repr(object)
293 return rep, (rep and not rep.startswith('')), False
294

/home/myhome/Desktop/sage-2.8.2/sage_object.pyx in
sage_object.SageObject.__repr__()

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/sage/
calculus/calculus.py in _repr_(self, simplify)
   3543 return self._simp._repr_(simplify=False)
   3544 else:
- 3545 return self.simplify()._repr_(simplify=False)
   3546 ops = self._operands
   3547 try:

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/sage/
calculus/calculus.py in simplify(self)
   2018 return self._simp
   2019 except AttributeError:
- 2020 S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
   2021 S._simp = S
   2022 self._simp = S

/home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/sage/
calculus/calculus.py in
evaled_symbolic_expression_from_maxima_string(x)
   4871
   4872 def evaled_symbolic_expression_from_maxima_string(x):
- 4873 return
symbolic_expression_from_maxima_string(maxima.eval(x))
   4874
   4875


[sage-support] Re: Sage won't start maxima

2007-08-27 Thread William Stein

On 8/27/07, gsage [EMAIL PROTECTED] wrote:

 I d/l the source and it compiled fine. However, Sage could not start
 maxima.


(1) Does the file SAGE_ROOT/local/bin/sage-maxima.lisp exist?
(2) What happens if you do:
   sage: !maxima -p $SAGE_ROOT/local/bin/sage-maxima.lisp

Does this happen?
sage: !maxima -p $SAGE_ROOT/local/bin/sage-maxima.lisp
Maxima 5.12.0 http://maxima.sourceforge.net
Using Lisp CLISP 2.41 (2006-10-13)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) sage-display
sage:

 Here's the error message from the command line:

 input
 sage: sqrt(4)

 output
 Timeout exceeded in read_nonblocking().
 pexpect.spawn instance at 0xaeee448c
 version: 2.0 ($Revision: 1.151 $)
 command: /home/myhome/Desktop/sage-2.8.2/local/bin/maxima
 args: ['/home/myhome/Desktop/sage-2.8.2/local/bin/maxima', '-p', '/
 home/myhome/Desktop/sage-2.8.2/local/bin/sage-maxima.lisp']
 patterns:
 \(\%i[0-9]+\)
 buffer (last 100 chars):
 before (last 100 chars):  :R1  ABORT
 ABORT  :R2  ABORT
 ABORT  :R3  ABORT
 Break 1 [4]
 after: class 'pexpect.TIMEOUT'
 match: None
 match_index: None
 exitstatus: None
 flag_eof: 0
 pid: 2808
 child_fd: 3
 timeout: 30
 delimiter: class 'pexpect.EOF'
 logfile: None
 maxread: 1
 searchwindowsize: None
 delaybeforesend: 0
 ---
 type 'exceptions.RuntimeError'  Traceback (most recent call
 last)

 /home/myhome/Desktop/sage-2.8.2/ipython console in module()

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
 IPython/Prompts.py in __call__(self, arg)
 521
 522 # and now call a possibly user-defined print
 mechanism
 -- 523 manipulated_val = self.display(arg)
 524
 525 # user display hooks can change the variable to be
 stored in

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
 IPython/Prompts.py in _display(self, arg)
 545 
 546
 -- 547 return self.shell.hooks.result_display(arg)
 548
 549 # Assign the default display method:

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
 IPython/hooks.py in __call__(self, *args, **kw)
 132 #print prio,prio,cmd,cmd #dbg
 133 try:
 -- 134 ret = cmd(*args, **kw)
 135 return ret
 136 except ipapi.TryNext, exc:

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/
 IPython/hooks.py in result_display(self, arg)
 160
 161 if self.rc.pprint:
 -- 162 out = pformat(arg)
 163 if '\n' in out:
 164 # So that multi-line strings line up with the left
 column of

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
 pformat(self, object)
 109 def pformat(self, object):
 110 sio = _StringIO()
 -- 111 self._format(object, sio, 0, 0, {}, 0)
 112 return sio.getvalue()
 113

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
 _format(self, object, stream, indent, allowance, context, level)
 127 self._readable = False
 128 return
 -- 129 rep = self._repr(object, context, level - 1)
 130 typ = _type(object)
 131 sepLines = _len(rep)  (self._width - 1 - indent -
 allowance)

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
 _repr(self, object, context, level)
 193 def _repr(self, object, context, level):
 194 repr, readable, recursive = self.format(object,
 context.copy(),
 -- 195 self._depth,
 level)
 196 if not readable:
 197 self._readable = False

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
 format(self, object, context, maxlevels, level)
 205 and whether the object represents a recursive
 construct.
 206 
 -- 207 return _safe_repr(object, context, maxlevels, level)
 208
 209

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/pprint.py in
 _safe_repr(object, context, maxlevels, level)
 290 return format % _commajoin(components), readable,
 recursive
 291
 -- 292 rep = repr(object)
 293 return rep, (rep and not rep.startswith('')), False
 294

 /home/myhome/Desktop/sage-2.8.2/sage_object.pyx in
 sage_object.SageObject.__repr__()

 /home/myhome/Desktop/sage-2.8.2/local/lib/python2.5/site-packages/sage/
 calculus/calculus.py in _repr_(self, simplify)
3543 return self._simp._repr_(simplify=False)
3544 else:
 - 3545 return self.simplify()._repr_(simplify=False)
3546 ops = self._operands
3547 

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread gsage



 (1) Does the file SAGE_ROOT/local/bin/sage-maxima.lisp exist?
yes

 (2) What happens if you do:
sage: !maxima -p $SAGE_ROOT/local/bin/sage-maxima.lisp


sage: !maxima -p $SAGE_ROOT/local/bin/sage-maxima.lisp

*** - invalid byte sequence #xC0 #x01 in CHARSET:UTF-8 conversion
The following restarts are available:
ABORT  :R1  ABORT
ABORT  :R2  ABORT
ABORT  :R3  ABORT
Break 1 [4]

 Does this happen?
NO
 sage: !maxima -p $SAGE_ROOT/local/bin/sage-maxima.lisp
 Maxima 5.12.0http://maxima.sourceforge.net
 Using Lisp CLISP 2.41 (2006-10-13)
 Distributed under the GNU Public License. See the file COPYING.
 Dedicated to the memory of William Schelter.
 This is a development version of Maxima. The function bug_report()
 provides bug reporting information.
 (%i1) sage-display
 sage:


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Sage won't start maxima

2007-08-27 Thread mabshoff



On Aug 28, 1:20 am, gsage [EMAIL PROTECTED] wrote:
  Can you do a pwd in $SAGE_ROOT and post the output here. Please also
  try moving $SAGE_ROOT to /tmp and try again.

 moved folder sage-2.8.2 to /tmp and did a pwd:

 input
 pwd

 output
 /tmp/sage-2.8.2

 running sage in tmp produces same error messages.


That is quite interesting. The problem in the faq indicated a
potential filename problem. But that seems rather unlikely after you
moved your $SAGE_ROOT to tmp. Any chance your username or hostname has
any odd characters in it? I am thinking about anything that is not 7-
bit ASCII.

 I'll look further in the non-utf chars faq stuff. Not sure if I
 understand enough of this process to resolve.

 Thanks

Cheers,

Michael


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Sage won't start maxima

2007-08-25 Thread William Stein

On 8/25/07, gsage [EMAIL PROTECTED] wrote:

 I'm using Kubuntu. I used the binary Sage to run. It all runs fine
 both cli  browser, however, it fails to run Maxima.

 The error message is RuntimeError: Unable to start maxima.

 I can run maxima manually within the Sage folder. I'm assuming the
 path is not set right, but don't know where to start to force the
 correct path.

 Any help would be appreciated.

Please go to the sage directory and type

   ./sage

then send the _complete_ output of the error message.  Also,
send a bunch of info about your computer -- processor type, etc.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Sage won't start maxima

2007-08-25 Thread gsage



On Aug 25, 2:28 pm, William Stein [EMAIL PROTECTED] wrote:
 On 8/25/07, gsage [EMAIL PROTECTED] wrote:



  I'm using Kubuntu. I used the binary Sage to run. It all runs fine
  both cli  browser, however, it fails to run Maxima.

  The error message is RuntimeError: Unable to start maxima.

  I can run maxima manually within the Sage folder. I'm assuming the
  path is not set right, but don't know where to start to force the
  correct path.

  Any help would be appreciated.

 Please go to the sage directory and type

./sage

 then send the _complete_ output of the error message.  Also,
 send a bunch of info about your computer -- processor type, etc.

 William

AMD 1800; 1.5 gig mem. Kubuntu Edgy-Eft

I did not compile it - just tried w/binary i.e. ./sage

whether in cli or browser, I type sqrt(4)  sage tries to start maxima
but fails.
it will do normal computations 3+4^2 ; eratosthenes(20); loads gp ok;

input
sqrt(4);

output
Timeout exceeded in read_nonblocking().
pexpect.spawn instance at 0xaeffbb6c
version: 2.0 ($Revision: 1.151 $)
command:
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
maxima
args:
['/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
maxima\
', '-p',
'/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
sage-ma\
xima.lisp']
patterns:
\(\%i[0-9]+\)
buffer (last 100 chars):
before (last 100 chars):  :R1  ABORT
ABORT  :R2  ABORT
ABORT  :R3  ABORT
Break 1 [4]
after: class 'pexpect.TIMEOUT'
match: None
match_index: None
exitstatus: None
flag_eof: 0
pid: 5519
child_fd: 3
timeout: 30
delimiter: class 'pexpect.EOF'
logfile: None
maxread: 1
searchwindowsize: None
delaybeforesend: 0
Traceback (most recent call last):
  File stdin, line 1, in module
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/sage_notebook/
wor\
ksheets/admin/1/code/2.py, line 4, in module
exec compile(ur'sqrt(Integer(4));' + '\n', '', 'single')
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/data/extcode/
sage\
/, line 1, in module

  File sage_object.pyx, line 87, in sage_object.SageObject.__repr__
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/calculus/calculus.py, line 3545, in _repr_
return self.simplify()._repr_(simplify=False)
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/calculus/calculus.py, line 2020, in simplify
S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/calculus/calculus.py, line 4873, in
evaled_symbolic_expression_from_maxima_string
return symbolic_expression_from_maxima_string(maxima.eval(x))
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/interfaces/expect.py, line 523, in eval
return '\n'.join([self._eval_line(L, **kwds) for L in
code.split('\n') if L != ''])
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/interfaces/maxima.py, line 532, in _eval_line
self._sendline(line)
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/interfaces/maxima.py, line 425, in _sendline
self._sendstr(str)
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/interfaces/maxima.py, line 430, in _sendstr
self._start()
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/interfaces/maxima.py, line 415, in _start
Expect._start(self)
  File
/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
python2\
.5/site-packages/sage/interfaces/expect.py, line 332, in _start
raise RuntimeError, Unable to start %s%self.__name
RuntimeError: Unable to start maxima



--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Sage won't start maxima

2007-08-25 Thread William Stein

Could you please try this binary instead?

http://sagemath.org/SAGEbin/linux/32bit/sage-2.8.2-OLD-32bit-i686-Linux.tar.gz


On 8/25/07, gsage [EMAIL PROTECTED] wrote:



 On Aug 25, 2:28 pm, William Stein [EMAIL PROTECTED] wrote:
  On 8/25/07, gsage [EMAIL PROTECTED] wrote:
 
 
 
   I'm using Kubuntu. I used the binary Sage to run. It all runs fine
   both cli  browser, however, it fails to run Maxima.
 
   The error message is RuntimeError: Unable to start maxima.
 
   I can run maxima manually within the Sage folder. I'm assuming the
   path is not set right, but don't know where to start to force the
   correct path.
 
   Any help would be appreciated.
 
  Please go to the sage directory and type
 
 ./sage
 
  then send the _complete_ output of the error message.  Also,
  send a bunch of info about your computer -- processor type, etc.
 
  William

 AMD 1800; 1.5 gig mem. Kubuntu Edgy-Eft

 I did not compile it - just tried w/binary i.e. ./sage

 whether in cli or browser, I type sqrt(4)  sage tries to start maxima
 but fails.
 it will do normal computations 3+4^2 ; eratosthenes(20); loads gp ok;

 input
 sqrt(4);

 output
 Timeout exceeded in read_nonblocking().
 pexpect.spawn instance at 0xaeffbb6c
 version: 2.0 ($Revision: 1.151 $)
 command:
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
 maxima
 args:
 ['/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
 maxima\
 ', '-p',
 '/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
 sage-ma\
 xima.lisp']
 patterns:
 \(\%i[0-9]+\)
 buffer (last 100 chars):
 before (last 100 chars):  :R1  ABORT
 ABORT  :R2  ABORT
 ABORT  :R3  ABORT
 Break 1 [4]
 after: class 'pexpect.TIMEOUT'
 match: None
 match_index: None
 exitstatus: None
 flag_eof: 0
 pid: 5519
 child_fd: 3
 timeout: 30
 delimiter: class 'pexpect.EOF'
 logfile: None
 maxread: 1
 searchwindowsize: None
 delaybeforesend: 0
 Traceback (most recent call last):
   File stdin, line 1, in module
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/sage_notebook/
 wor\
 ksheets/admin/1/code/2.py, line 4, in module
 exec compile(ur'sqrt(Integer(4));' + '\n', '', 'single')
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/data/extcode/
 sage\
 /, line 1, in module

   File sage_object.pyx, line 87, in sage_object.SageObject.__repr__
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/calculus/calculus.py, line 3545, in _repr_
 return self.simplify()._repr_(simplify=False)
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/calculus/calculus.py, line 2020, in simplify
 S =
 evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/calculus/calculus.py, line 4873, in
 evaled_symbolic_expression_from_maxima_string
 return symbolic_expression_from_maxima_string(maxima.eval(x))
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/interfaces/expect.py, line 523, in eval
 return '\n'.join([self._eval_line(L, **kwds) for L in
 code.split('\n') if L != ''])
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/interfaces/maxima.py, line 532, in _eval_line
 self._sendline(line)
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/interfaces/maxima.py, line 425, in _sendline
 self._sendstr(str)
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/interfaces/maxima.py, line 430, in _sendstr
 self._start()
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/interfaces/maxima.py, line 415, in _start
 Expect._start(self)
   File
 /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
 python2\
 .5/site-packages/sage/interfaces/expect.py, line 332, in _start
 raise RuntimeError, Unable to start %s%self.__name
 RuntimeError: 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 sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Sage won't start maxima

2007-08-25 Thread gsage

I tried dl/link (twice) - but the extraction failed (errors in the
examples folder archive)

I may try to compile the new version when I get a chance...
thanks

On Aug 25, 3:28 pm, William Stein [EMAIL PROTECTED] wrote:
 Could you please try this binary instead?

 http://sagemath.org/SAGEbin/linux/32bit/sage-2.8.2-OLD-32bit-i686-Lin...

 On 8/25/07, gsage [EMAIL PROTECTED] wrote:





  On Aug 25, 2:28 pm, William Stein [EMAIL PROTECTED] wrote:
   On 8/25/07, gsage [EMAIL PROTECTED] wrote:

I'm using Kubuntu. I used the binary Sage to run. It all runs fine
both cli  browser, however, it fails to run Maxima.

The error message is RuntimeError: Unable to start maxima.

I can run maxima manually within the Sage folder. I'm assuming the
path is not set right, but don't know where to start to force the
correct path.

Any help would be appreciated.

   Please go to the sage directory and type

  ./sage

   then send the _complete_ output of the error message.  Also,
   send a bunch of info about your computer -- processor type, etc.

   William

  AMD 1800; 1.5 gig mem. Kubuntu Edgy-Eft

  I did not compile it - just tried w/binary i.e. ./sage

  whether in cli or browser, I type sqrt(4)  sage tries to start maxima
  but fails.
  it will do normal computations 3+4^2 ; eratosthenes(20); loads gp ok;

  input
  sqrt(4);

  output
  Timeout exceeded in read_nonblocking().
  pexpect.spawn instance at 0xaeffbb6c
  version: 2.0 ($Revision: 1.151 $)
  command:
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
  maxima
  args:
  ['/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
  maxima\
  ', '-p',
  '/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/
  sage-ma\
  xima.lisp']
  patterns:
  \(\%i[0-9]+\)
  buffer (last 100 chars):
  before (last 100 chars):  :R1  ABORT
  ABORT  :R2  ABORT
  ABORT  :R3  ABORT
  Break 1 [4]
  after: class 'pexpect.TIMEOUT'
  match: None
  match_index: None
  exitstatus: None
  flag_eof: 0
  pid: 5519
  child_fd: 3
  timeout: 30
  delimiter: class 'pexpect.EOF'
  logfile: None
  maxread: 1
  searchwindowsize: None
  delaybeforesend: 0
  Traceback (most recent call last):
File stdin, line 1, in module
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/sage_notebook/
  wor\
  ksheets/admin/1/code/2.py, line 4, in module
  exec compile(ur'sqrt(Integer(4));' + '\n', '', 'single')
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/data/extcode/
  sage\
  /, line 1, in module

File sage_object.pyx, line 87, in sage_object.SageObject.__repr__
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/calculus/calculus.py, line 3545, in _repr_
  return self.simplify()._repr_(simplify=False)
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/calculus/calculus.py, line 2020, in simplify
  S =
  evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/calculus/calculus.py, line 4873, in
  evaled_symbolic_expression_from_maxima_string
  return symbolic_expression_from_maxima_string(maxima.eval(x))
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/interfaces/expect.py, line 523, in eval
  return '\n'.join([self._eval_line(L, **kwds) for L in
  code.split('\n') if L != ''])
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/interfaces/maxima.py, line 532, in _eval_line
  self._sendline(line)
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/interfaces/maxima.py, line 425, in _sendline
  self._sendstr(str)
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/interfaces/maxima.py, line 430, in _sendstr
  self._start()
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/interfaces/maxima.py, line 415, in _start
  Expect._start(self)
File
  /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/
  python2\
  .5/site-packages/sage/interfaces/expect.py, line 332, in _start
  raise RuntimeError, Unable to start %s%self.__name
  RuntimeError: Unable to start maxima

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://www.williamstein.org


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: