On Monday, November 27, 2017 at 11:20:52 AM UTC, Nils Bruin wrote: > > On Monday, November 27, 2017 at 10:34:03 AM UTC+1, Dima Pasechnik wrote: >> >> >> see the attachment (all the ~59 screens) in >> https://groups.google.com/d/msg/sage-devel/3sN7gVTdNuY/Bj-dcnIWAwAJ >> I suppose that in order to feed it into Maxima one needs to replace '=' >> by ':' and add ';' at the end. >> (and drop the 1st line) >> >> > An easy way of getting a little closer to feeding this directly to maxima > is by using a real expect interface, rather than the maxima_lib instance. >
hmm, the call in question is *._maxima_() rather than *._maxima_lib(). Isn't the former a pexpect call, rather than maxima_lib call? > By executing > sage: maxima(ex).trigsimp() > it gets fed into a proper maxima instance, without any of the special > settings that go into the sage calculus version of maxima. We still get an > error: > > TypeError: Error executing code in Maxima > CODE: > sage4 : trigsimp(sage0)$ > Maxima ERROR: > > Polynomial quotient is not exact > -- an error. To debug this try: debugmode(true); > > it seems something goes wrong in signalling and catching this error in > maxima_lib. Perhaps we're missing a catch in our maxima_lib routine to > execute maxima code? > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
