[sage-devel] Sage 5.7 on ARM

2013-03-01 Thread Julien Puydt
Hi, sage 5.7 compiles on ARM (but libm4rie's conversion.c is still problematic), and I made a bdist available as /home/jpuydt/bdist/sage-5.7čarmv7l-Linux.tar.gz. I'll run "make ptestlong" later, and report in this thread. Snark on #sagemath -- You received this message because you are subsc

[sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Nils Bruin
On Mar 1, 6:17 am, Jan Groenewald wrote: > This problem is inside the ECL call (maxima_ecal) in maxima_lib.py. I tried > not sending the stdout to dev null, and in the same place setting > debugmode=true, but then got dropped in a shell whose syntax I don't know > at all. That's the ECL debugger

Re: [sage-devel] Purpose of SAGE64

2013-03-01 Thread Jean-Pierre Flori
On Friday, March 1, 2013 11:47:33 AM UTC+1, Jean-Pierre Flori wrote: > > > > On Friday, March 1, 2013 12:31:43 AM UTC+1, Jean-Pierre Flori wrote: >> >> But only on one of the two machines. >> On the other one it segfaulted later during gc build: >> /sage-5.7-lame5/local/sparc-unknown-linux-gnu/sy

Re: [sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Jan Groenewald
Hi Yes, ticket at http://trac.sagemath.org/sage_trac/ticket/14209 . Maxima does call defint if you specify limits. This problem is inside the ECL call (maxima_ecal) in maxima_lib.py. I tried not sending the stdout to dev null, and in the same place setting debugmode=true, but then got dropped in

Re: [sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread kcrisman
On Friday, March 1, 2013 7:52:12 AM UTC-5, Jan Groenewald wrote: > > This reproduces the error: > > sage: from sage.interfaces.maxima_lib import sr_to_max > sage: sr_to_max(integral(e^(-abs(x))/cosh(x),x,-infinity,infinity)) > > sage: sr_to_max(integral(e^(-abs(x))/cosh(x),x,-infini

Re: [sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Jan Groenewald
This reproduces the error: sage: from sage.interfaces.maxima_lib import sr_to_max sage: sr_to_max(integral(e^(-abs(x))/cosh(x),x,-infinity,infinity)) sage: sr_to_max(integral(e^(-abs(x))/cosh(x),x,-infinity,infinity)) --- Val

Re: [sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Christian Nassau
On 03/01/2013 11:34 AM, Jan Groenewald wrote: Something is weird there though. The way I see it looking for "Principal Value" is commented out. Sage only looks for [Dd]ivergent.So when maxima gives this: 0 jan@muizenberg:/var/autofs/misc/home/jan$sage --maxima ;;; Loading #P"/usr/lib/sagemath/l

Re: [sage-devel] Purpose of SAGE64

2013-03-01 Thread Jean-Pierre Flori
On Friday, March 1, 2013 12:31:43 AM UTC+1, Jean-Pierre Flori wrote: > > But only on one of the two machines. > On the other one it segfaulted later during gc build: > /sage-5.7-lame5/local/sparc-unknown-linux-gnu/sys-include-g -O2 -O2 > -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qua

Re: [sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Jan Groenewald
Something is weird there though. The way I see it looking for "Principal Value" is commented out. Sage only looks for [Dd]ivergent.So when maxima gives this: 0 jan@muizenberg:/var/autofs/misc/home/jan$sage --maxima ;;; Loading #P"/usr/lib/sagemath/local/lib/ecl/sb-bsd-sockets.fas" ;;; Loading #P"/

Re: [sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Christian Nassau
On 03/01/2013 11:14 AM, Jan Groenewald wrote: Hi If you look a few lines before, the if statement is there; so I don't think it is that. You're right, of course... I should go back to sleep. Sorry for the noise, C. -- You received this message because you are subscribed to the Google Groups

[sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Jan Groenewald
Hi If you look a few lines before, the if statement is there; so I don't think it is that. try: return max_to_sr(maxima_eval(([max_integrate],[sr_to_max(SR(a)) for a in args]))) except RuntimeError, error: s = str(error) *if "Divergent" in s or

Re: [sage-devel] Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Christian Nassau
Looks like the comment sign in line 738 is the culprit: the code raises an unconditional exception since the "if" has been commented out. If true you could just remove the "#", see if it works, create a patch and open a ticket for this. I wonder why it works the first time, though... Cheers,

[sage-devel] Re: Running integral twice breaks pexpect to maxima?

2013-03-01 Thread Jan Groenewald
Hi The maxima part should probably be: 0 jan@muizenberg:/srv/local/Disk_Space/sage-5.7$ maxima # system maxima 5.24 Maxima 5.24.0 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the