#12486: Add patchbot to Sage itself.
----------------------------------------------+-----------------------------
Reporter: robertwb | Owner: mvngu
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.1
Component: doctest | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Robert Bradshaw, Dan Drake | Merged in:
Dependencies: | Stopgaps:
----------------------------------------------+-----------------------------
Comment (by jdemeyer):
For the record, here is the verbose output of the failure:
{{{
sage -t --long --verbose "devel/sage/sage/interfaces/maxima_abstract.py"
[...]
Trying:
~f###line 2304:_sage_ >>> ~f
Expecting:
1/sin(x)
**********************************************************************
File
"/padic/scratch/jdemeyer/merger/sage-5.1.beta3/devel/sage/sage/interfaces/maxima_abstract.py",
line ?, in __main__.example_81
Failed example:
~f###line 2304:_sage_ >>> ~f
Exception raised:
Traceback (most recent call last):
File
"/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_81[3]>", line 1, in <module>
~f###line 2304:_sage_ >>> ~f
File "element.pyx", line 1833, in
sage.structure.element.RingElement.__invert__
(sage/structure/element.c:13904)
File "element.pyx", line 1799, in
sage.structure.element.RingElement.__div__
(sage/structure/element.c:13362)
File "coerce.pyx", line 744, in
sage.structure.coerce.CoercionModel_cache_maps.bin_op
(sage/structure/coerce.c:6704)
File "coerce.pyx", line 858, in
sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion
(sage/structure/coerce.c:7892)
File "map.pyx", line 1282, in
sage.categories.map.FormalCompositeMap._call_ (sage/categories/map.c:6190)
File "morphism.pyx", line 159, in
sage.categories.morphism.CallMorphism._call_
(sage/categories/morphism.c:3080)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/interface.py", line 200, in __cal
l__
return self._coerce_from_special_method(x)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/interface.py", line 226, in _coer
ce_from_special_method
return (x.__getattribute__(s))(self)
File "sage_object.pyx", line 527, in
sage.structure.sage_object.SageObject._maxima_
(sage/structure/sage_object.c:5444)
This function may call the magma interpreter when it runs.
File "sage_object.pyx", line 439, in
sage.structure.sage_object.SageObject._interface_
(sage/structure/sage_object.c:3684)
X = I(s)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/interface.py", line 198, in __call__
return cls(self, x, name=name)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/maxima.py", line 1155, in __init__
ExpectElement.__init__(self, parent, value, is_name=False,
name=None)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/expect.py", line 1331, in __init__
self._name = parent._create(value, name=name)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/interface.py", line 388, in _create
self.set(name, value)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/maxima.py", line 1000, in set
self._eval_line(cmd)
File "/padic/scratch/jdemeyer/merger/sage-5.1.beta3/local/lib/python
/site-packages/sage/interfaces/maxima.py", line 756, in _eval_line
assert line_echo.strip() == line.strip()
AssertionError
[...]
4 items had no tests:
__main__
__main__.change_warning_output
__main__.check_with_tolerance
__main__.warning_function
85 items passed all tests:
3 tests in __main__.example_0
6 tests in __main__.example_1
[...]
4 tests in __main__.example_43
4 tests in __main__.example_44
4 tests in __main__.example_45
4 tests in __main__.example_46
4 tesException RuntimeError: RuntimeError('maximum recursion depth
exceeded while calling a Python object',) in ignored
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
while calling a Python object',) in ignored
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
while calling a Python object',) in ignored
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
while calling a Python object',) in ignored
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
while calling a Python object',) in ignored
Exception RuntimeError: RuntimeError('maximum recursion depth exceeded
while calling a Python object',) in ignored
[...goes on forever until killed...]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12486#comment:20>
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.