Hello, I've been happily '$ sage -updgrade'ing since sage 2.10 or so, and recently noticed that I couldn't use Maxima (details below). I'm not sure for how long I've had this problem. Knowing the disclaimer that applies to upgrading, I downloaded the linux 32-bit binaries for 3.1.1 from sagemath.org and still had the same problem. I'm running Ubuntu Hardy on an AMD laptop.
If I try any command that calls Maxima, I have to wait for a timeout, and then get an error. Specific system information and a traceback are below. Thanks very much for any help, Jason Bandlow [EMAIL PROTECTED]:~$ uname -a Linux jason-laptop 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux [EMAIL PROTECTED]:~$ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 76 model name : Mobile AMD Sempron(tm) Processor 3500+ stepping : 2 cpu MHz : 800.000 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up pni cx16 lahf_lm extapic cr8_legacy ts fid vid ttp tm stc bogomips : 1597.60 clflush size : 64 sage: log(4,2) Timeout exceeded in read_nonblocking(). <pexpect.spawn instance at 0x9f2fb2c> version: 2.0 ($Revision: 1.151 $) command: /home/jason/sage/local/bin/maxima args: ['/home/jason/sage/local/bin/maxima', '-p', '/home/jason/sage/local/bin/sage-maxima.lisp'] patterns: \(\%i[0-9]+\) buffer (last 100 chars): before (last 100 chars): *** - invalid byte #xFD in CHARSET:UTF-8 conversion, not a Unicode-16 Break 1 [4]> after: <class 'pexpect.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: 0 pid: 14736 child_fd: 3 timeout: 30 delimiter: <class 'pexpect.EOF'> logfile: None maxread: 10000 searchwindowsize: None delaybeforesend: 0 --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) /home/jason/Desktop/sage-3.1.1-debian32-intel-i686-Linux/<ipython console> in <module>() /home/jason/sage/local/lib/python2.5/site-packages/IPython/Prompts.py in __call__(self, arg) 533 534 # and now call a possibly user-defined print mechanism --> 535 manipulated_val = self.display(arg) 536 537 # user display hooks can change the variable to be stored in /home/jason/sage/local/lib/python2.5/site-packages/IPython/Prompts.py in _display(self, arg) 559 return IPython.generics.result_display(arg) 560 except TryNext: --> 561 return self.shell.hooks.result_display(arg) 562 563 # Assign the default display method: /home/jason/sage/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/jason/sage/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/jason/sage/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/jason/sage/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/jason/sage/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/jason/sage/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/jason/sage/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/jason/Desktop/sage-3.1.1-debian32-intel-i686-Linux/sage_object.pyx in sage.structure.sage_object.SageObject.__repr__ (sage/structure/sage_object.c:795)() /home/jason/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py in _repr_(self, simplify) 4922 return self._simp._repr_(simplify=False) 4923 else: -> 4924 return self.simplify()._repr_(simplify=False) 4925 4926 ops = self._operands /home/jason/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py in simplify(self) 3235 return self._simp 3236 except AttributeError: -> 3237 S = evaled_symbolic_expression_from_maxima_string(self._maxima_init_()) 3238 S._simp = None 3239 self._simp = S /home/jason/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py in evaled_symbolic_expression_from_maxima_string(x) 8328 x^e + I + e^pi 8329 """ -> 8330 return symbolic_expression_from_maxima_string(maxima.eval(x)) 8331 8332 def first_var(expr): /home/jason/sage/local/lib/python2.5/site-packages/sage/interfaces/expect.py in eval(self, code, strip, synchronize, **kwds) 915 try: 916 with gc_disabled(): --> 917 return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != '']) 918 except KeyboardInterrupt: 919 # DO NOT CATCH KeyboardInterrupt, as it is being caught /home/jason/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) 573 return repr(a) 574 else: --> 575 self._sendline(line) 576 577 if not wait_for_prompt: /home/jason/sage/local/lib/python2.5/site-packages/sage/interfaces/maxima.py in _sendline(self, str) 444 445 def _sendline(self, str): --> 446 self._sendstr(str) 447 os.write(self._expect.child_fd, os.linesep) 448 /home/jason/sage/local/lib/python2.5/site-packages/sage/interfaces/maxima.py in _sendstr(self, str) 449 def _sendstr(self, str): 450 if self._expect is None: --> 451 self._start() 452 try: 453 os.write(self._expect.child_fd, str) /home/jason/sage/local/lib/python2.5/site-packages/sage/interfaces/maxima.py in _start(self) 434 435 def _start(self): --> 436 Expect._start(self) 437 self._eval_line('0;') 438 /home/jason/sage/local/lib/python2.5/site-packages/sage/interfaces/expect.py in _start(self, alt_message, block_during_init) 462 failed_to_start.append(self.__name) 463 print msg --> 464 raise RuntimeError, "Unable to start %s"%self.__name 465 self._expect.timeout = None 466 with gc_disabled(): 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://www.sagemath.org -~----------~----~----~----~------~----~------~--~---