On 1/1/08, G. Edgar <[EMAIL PROTECTED]> wrote: > > Not working. > > Tried it with > sage-2.9.1-osx10.4-intel-i386-Darwin > No luck. > > ======================================================== > > ---------------------------------------------------------------------- > | SAGE Version 2.9.1, Release Date: 2007-12-24 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > sage: maple('2+3') > --------------------------------------------------------------------------- > <type 'exceptions.IndexError'> Traceback (most recent call ... > /Applications/SAGE/local/lib/python2.5/site-packages/sage/interfaces/ > maple.py in get(self, var) > 421 """ > 422 s = self.eval('%s'%var) > --> 423 if s[0] == '{': > 424 return s > 425 i = s.find('=') > > <type 'exceptions.IndexError'>: string index out of range > sage: >
Could you try the following: (1) start the sage command line by tying "sage", then (2) type %pdb to turn on the interactive debugger, then (3) Type the above command when you get the error type print var print s so we can see what var and s are both equal to. (4) Type maple.eval('2+3') several times and let me know what the output is. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---