mabshoff wrote:
> Hello folks,
> 
> here we go with Sage 2.10.1.rc2. We finally have the eclib.spkg
[...]
> 
> If you have been suffering from the sage0 doctest failure please
> try out the patch attached to #1958. It hasn't made it in to rc2,
> but the way it currently looks it will be in there.
> 
> The tarball [201MB] is available at the ususal place:
> 
> http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.1/sage-2.10.1.rc2.tar
> 

On Fedora 7 and 8 interfaces/maple.py failed:

Maple is installed on FC7, but not on Fedora 8

This is the FC7 case:

[EMAIL PROTECTED] sage-2.10.1.rc2]$ ./sage -t 
devel/sage-main/sage/interfaces/maple.py
sage -t  devel/sage-main/sage/interfaces/maple.py           
**********************************************************************
File "maple.py", line 598:
     sage: m.__hash__()
Exception raised:
     Traceback (most recent call last):
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/doctest.py", line 
1212, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_18[1]>", line 1, in <module>
         m.__hash__()###line 598:
     sage: m.__hash__()
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 608, in __hash__
         return int(maple.eval('StringTools:-Hash(convert(%s, 
string));'%self.name())[1:-1],16)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 707, in eval
         return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') 
if L != ''])
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 385, in _eval_line
         wait_for_prompt=wait_for_prompt).replace('\\\n','').strip()
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 609, in _eval_line
         return self._eval_line_using_file(line)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 594, in _eval_line_using_file
         s = self._eval_line(self._read_in_file_command(tmp_to_use), 
allow_use_file=False)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 399, in _eval_line
         raise RuntimeError, "An error occured running a Maple 
command:\nINPUT:\n%s\nOUTPUT:\n%s"%(line, z)
     RuntimeError: An error occured running a Maple command:
     INPUT:
     read "/home/jaap/.sage//temp/paix/533//interface//tmp";
     OUTPUT:
     Error, module does not export `Hash`

**********************************************************************
File "maple.py", line 600:
     sage: hash(m)
Exception raised:
     Traceback (most recent call last):
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/doctest.py", line 
1212, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_18[2]>", line 1, in <module>
         hash(m)###line 600:
     sage: hash(m)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 608, in __hash__
         return int(maple.eval('StringTools:-Hash(convert(%s, 
string));'%self.name())[1:-1],16)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 707, in eval
         return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') 
if L != ''])
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 385, in _eval_line
         wait_for_prompt=wait_for_prompt).replace('\\\n','').strip()
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 609, in _eval_line
         return self._eval_line_using_file(line)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 594, in _eval_line_using_file
         s = self._eval_line(self._read_in_file_command(tmp_to_use), 
allow_use_file=False)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 399, in _eval_line
         raise RuntimeError, "An error occured running a Maple 
command:\nINPUT:\n%s\nOUTPUT:\n%s"%(line, z)
     RuntimeError: An error occured running a Maple command:
     INPUT:
     read "/home/jaap/.sage//temp/paix/533//interface//tmp";
     OUTPUT:
     Error, module does not export `Hash`

**********************************************************************
File "maple.py", line 603:
     sage: m.__hash__()
Exception raised:
     Traceback (most recent call last):
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/doctest.py", line 
1212, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_18[4]>", line 1, in <module>
         m.__hash__()###line 603:
     sage: m.__hash__()
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 608, in __hash__
         return int(maple.eval('StringTools:-Hash(convert(%s, 
string));'%self.name())[1:-1],16)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 707, in eval
         return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') 
if L != ''])
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 385, in _eval_line
         wait_for_prompt=wait_for_prompt).replace('\\\n','').strip()
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 609, in _eval_line
         return self._eval_line_using_file(line)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 594, in _eval_line_using_file
         s = self._eval_line(self._read_in_file_command(tmp_to_use), 
allow_use_file=False)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 399, in _eval_line
         raise RuntimeError, "An error occured running a Maple 
command:\nINPUT:\n%s\nOUTPUT:\n%s"%(line, z)
     RuntimeError: An error occured running a Maple command:
     INPUT:
     read "/home/jaap/.sage//temp/paix/533//interface//tmp";
     OUTPUT:
     Error, module does not export `Hash`

**********************************************************************
File "maple.py", line 605:
     sage: hash(m)
Exception raised:
     Traceback (most recent call last):
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/doctest.py", line 
1212, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_18[5]>", line 1, in <module>
         hash(m)###line 605:
     sage: hash(m)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 608, in __hash__
         return int(maple.eval('StringTools:-Hash(convert(%s, 
string));'%self.name())[1:-1],16)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 707, in eval
         return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') 
if L != ''])
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 385, in _eval_line
         wait_for_prompt=wait_for_prompt).replace('\\\n','').strip()
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 609, in _eval_line
         return self._eval_line_using_file(line)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/expect.py",
 line 594, in _eval_line_using_file
         s = self._eval_line(self._read_in_file_command(tmp_to_use), 
allow_use_file=False)
       File 
"/home/jaap/downloads/sage-2.10.1.rc2/local/lib/python2.5/site-packages/sage/interfaces/maple.py",
 line 399, in _eval_line
         raise RuntimeError, "An error occured running a Maple 
command:\nINPUT:\n%s\nOUTPUT:\n%s"%(line, z)
     RuntimeError: An error occured running a Maple command:
     INPUT:
     read "/home/jaap/.sage//temp/paix/533//interface//tmp";
     OUTPUT:
     Error, module does not export `Hash`

**********************************************************************
File "maple.py", line 636:
     sage: Mm < 5
Expected:
     True
Got:
     False
**********************************************************************
File "maple.py", line 638:
     sage: (Mm < 5) == (M < 5)
Expected:
     True
Got:
     False
**********************************************************************
File "maple.py", line 640:
     sage: 5 < Mm
Expected:
     False
Got:
     True
**********************************************************************
File "maple.py", line 688:
     sage: Mm*Mm
Expected:
     Matrix(2, 2, [[2,3],[6,11]])
Got:
     Matrix(2, 2, [[2,3],[6,11]], datatype = anything, storage = rectangular, 
order = Fortran_order, shape = [])
**********************************************************************
File "maple.py", line 693:
     sage: vm*Mm
Expected:
     Vector[row](2, [6,11])
Got:
     Vector[row](2, [6,11], datatype = anything, storage = rectangular, order = 
Fortran_order, shape = [])
**********************************************************************
File "maple.py", line 696:
     sage: t*Mm
Expected:
     Matrix(2, 2, [[0,5],[10,15]])
Got:
     Matrix(2, 2, [[0,5],[10,15]], datatype = anything, storage = rectangular, 
order = Fortran_order, shape = [])
**********************************************************************
File "maple.py", line 719:
     sage: maple(M)
Expected:
     Matrix(2, 2, [[0,1],[2,3]])
Got:
     Matrix(2, 2, [[0,1],[2,3]], datatype = anything, storage = rectangular, 
order = Fortran_order, shape = [])
**********************************************************************
4 items had failures:
    4 of   6 in __main__.example_18
    3 of  19 in __main__.example_19
    3 of   9 in __main__.example_20
    1 of   5 in __main__.example_21
***Test Failed*** 11 failures.
For whitespace errors, see the file .doctest_maple.py
          [2.8 s]
exit code: 256

----------------------------------------------------------------------
The following tests failed:


         sage -t  devel/sage-main/sage/interfaces/maple.py
Total time for all tests: 2.8 seconds
[EMAIL PROTECTED] sage-2.10.1.rc2]$



Jaap


--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to