#10187: Update ecl and maxima
----------------------------------------------+-----------------------------
   Reporter:  vbraun                          |       Owner:  tbd               
                      
       Type:  defect                          |      Status:  needs_work        
                      
   Priority:  major                           |   Milestone:  sage-4.6.1        
                      
  Component:  packages                        |    Keywords:                    
                      
     Author:  Volker Braun, David Kirkby      |    Upstream:  Workaround found; 
Bug reported upstream.
   Reviewer:  Karl-Dieter Crisman             |      Merged:                    
                      
Work_issues:  new interface patch needs help  |  
----------------------------------------------+-----------------------------
Changes (by kcrisman):

  * status:  needs_review => needs_work
  * reviewer:  => Karl-Dieter Crisman
  * work_issues:  => new interface patch needs help


Comment:

 I get a LOT of timeouts on PPC OS X 10.4.  I think that basically any time
 Maxima is invoked inside Sage, it times out or does something else weird.
 E.g.
 {{{
 sage: integrate(x^2,x)
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded in
 cmp',) in Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded in
 cmp',) in Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded in
 cmp',) in Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
  ignored
 Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
 Exception RuntimeError: RuntimeError('maximum recursion depth exceeded in
 cmp',) in Exception RuntimeError: 'maximum recursion depth exceeded in
 __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
  ignored
 }}}
 I also get the following:
 {{{
 sage -t -long "devel/sage/sage/calculus/functions.py"
 **********************************************************************
 File
 "/Users/student/Desktop/sage-4.6/devel/sage/sage/calculus/functions.py",
 line 46:
     sage: wronskian(*[x^k for k in range(1, 5)])
         assert len(self._before())==0, 'Maxima expect interface is
 confused!'
     AssertionError: Maxima expect interface is confused!
 }}}
 What the heck?  I assume the change to the Maxima interface is to blame;
 reverting that patch only (not the doctest one) seems to fix the problem.

 Though in that case I do get
 {{{
 File
 "/Users/student/Desktop/sage-4.6/devel/sage/sage/calculus/calculus.py",
 line 343:
     sage: taylor(gamma(1/3+x),x,0,3)
 Expected:
     -1/432*((36*(pi*sqrt(3) + 9*log(3))*euler_gamma^2 + 27*pi^2*log(3) +
 72*euler_gamma^3 + 243*log(3)^3 + 18*(6*pi*sqrt(3)*log(3) + pi^2 +
 27*log(3)^2 + 12*psi(1, 1/3))*euler_gamma + 324*psi(1, 1/3)*log(3) + (pi^3
 + 9*(9*log(3)^2 + 4*psi(1, 1/3))*pi)*sqrt(3))*gamma(1/3) -
 72*gamma(1/3)*psi(2, 1/3))*x^3 + 1/24*(6*pi*sqrt(3)*log(3) + 4*(pi*sqrt(3)
 + 9*log(3))*euler_gamma + pi^2 + 12*euler_gamma^2 + 27*log(3)^2 +
 12*psi(1, 1/3))*x^2*gamma(1/3) - 1/6*(6*euler_gamma + pi*sqrt(3) +
 9*log(3))*x*gamma(1/3) + gamma(1/3)
 Got:
     -1/432*((36*(pi*sqrt(3) + 9*log(3))*euler_gamma^2 + 27*pi^2*log(3) +
 72*euler_gamma^3 + 243*log(3)^3 + 18*(6*pi*sqrt(3)*log(3) + pi^2 +
 27*log(3)^2 + 12*psi(1, 1/3))*euler_gamma + 324*log(3)*psi(1, 1/3) + (pi^3
 + 9*(9*log(3)^2 + 4*psi(1, 1/3))*pi)*sqrt(3))*gamma(1/3) -
 72*gamma(1/3)*psi(2, 1/3))*x^3 + 1/24*(6*pi*sqrt(3)*log(3) + 4*(pi*sqrt(3)
 + 9*log(3))*euler_gamma + pi^2 + 12*euler_gamma^2 + 27*log(3)^2 +
 12*psi(1, 1/3))*x^2*gamma(1/3) - 1/6*(6*euler_gamma + pi*sqrt(3) +
 9*log(3))*x*gamma(1/3) + gamma(1/3)
 **********************************************************************
 }}}
 which is interesting; if you find where they differ (hint - transposed
 multiplication), you win the Where's Waldo award.

 I'll report back if there are any other errors without it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10187#comment:33>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to