Opened 13 years ago

Last modified 16 months ago

#6317 new defect

optional doctest failure -- maple interface

Reported by: was Owned by: tbd
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: optional Keywords: maple
Cc: mkoeppe Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by chapoton)

Evidently the maple interface is even completely broken on sage.math right now!

sage -t -long --optional devel/sage/sage/calculus/calculus.py
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/calculus/calculus.py", line 479:
    sage: g = maple(f); g                             # optional -- requires maple
Expected:
    sin(x^2)+y^z
Got:
    <BLANKLINE>
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/calculus/calculus.py", line 481:
    sage: g.integrate(x)                              # optional -- requires maple
Expected:
    1/2*2^(1/2)*Pi^(1/2)*FresnelS(2^(1/2)/Pi^(1/2)*x)+y^z*x
Got:
    read "/scratch/wstein/sage//temp/sage.math.washington.edu/2399//interface//tmp2399";
    read "/scratch/wstein/sage//temp/sage.math.washington.edu/2399//interface//tmp2399";
    read "/scratch/wstein/sage//temp/sage.math.washington.edu/2399//interface//tmp2399";
    sage2
**********************************************************************
1 items had failures:
   2 of  56 in __main__.example_1
***Test Failed*** 2 failures.
For whitespace errors, see the file /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_calculus.py
 [13.3 s]

Change History (10)

comment:1 Changed 13 years ago by was

More doctest failures caused by the Maple interface being broken:

sage -t -long --optional devel/sage/sage/modules/free_module_element.pyx
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/modules/free_module_element.pyx", line 839:
    sage: maple(v)                                  #optional
Expected:
    Vector[row](4, [0,1,2,3])
Got:
    <BLANKLINE>
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/modules/free_module_element.pyx", line 845:
    sage: maple(v)                                  #optional
Expected:
    Vector[row](3, [2/3,0,5/4])
Got:
    <BLANKLINE>
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/modules/free_module_element.pyx", line 852:
    sage: maple(v)                                           #optional
Expected:
    Vector[row](3, [x^2+2,2*x+1,-2*x^2+4*x])
Got:
    <BLANKLINE>
**********************************************************************
1 items had failures:
   3 of   9 in __main__.example_22
***Test Failed*** 3 failures.
For whitespace errors, see the file /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_free_module_element.py
	 [8.7 s]

comment:2 Changed 13 years ago by was

And more:

sage -t -long --optional devel/sage/sage/symbolic/constants.py
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/symbolic/constants.py", line 51:
    sage: maple(pi)                   # optional
Expected:
    Pi
Got:
    <BLANKLINE>
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/symbolic/constants.py", line 1210:
    sage: m.N(200)                                 # optional
Expected:
    2.6854520010653064453097148354817956938203822939944629530511523455572188595371520028011411749318476979951534659052880900828976777164109630517925334832596683818523154213321194996260393285220448194096181                
Got:
    2.68545200106530644530971483548179569382038229399446295305115234555721885953715200280114117493184769799515346590528809008289767771641096305179253348325966838185231542133211949962603932852204481940961807
**********************************************************************
2 items had failures:
   1 of  58 in __main__.example_0
   1 of   5 in __main__.example_62
***Test Failed*** 2 failures.
For whitespace errors, see the file /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_constants.py
	 [6.4 s]

comment:3 Changed 13 years ago by was

And of course there are many more failures, including a total hang:

sage -t -long --optional devel/sage/sage/interfaces/maple.py
*** *** Error: TIMED OUT! PROCESS KILLED! *** ***
*** *** Error: TIMED OUT! *** ***
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/interfaces/maple.py", line 27:
    sage: maple('3 * 5')                                 # optional - maple
Expected:
    15
Got:
    <BLANKLINE>
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/interfaces/maple.py", line 29:
    sage: maple.eval('ifactor(2005)')                    # optional - maple
Expected:
    '"(5)*"(401)'
Got:
    ''
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/interfaces/maple.py", line 31:
    sage: maple.ifactor(2005)                            # optional - maple
Expected:
    "(5)*"(401)
Got:
    <BLANKLINE>
... hundreds more...

comment:4 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:5 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:6 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:7 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:8 Changed 6 years ago by chapoton

  • Description modified (diff)
  • Report Upstream set to N/A

comment:9 Changed 6 years ago by chapoton

  • Keywords maple added
  • Milestone changed from sage-6.4 to sage-6.9

comment:10 Changed 16 months ago by chapoton

  • Cc mkoeppe added
  • Milestone changed from sage-6.9 to sage-duplicate/invalid/wontfix

obsolete ?

Note: See TracTickets for help on using tickets.