#10527: Implementation of quiver mutation type
-----------------------------------------------+----------------------------
Reporter: stumpc5 | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: combinatorics | Resolution:
Keywords: quiver mutation type days38 | Work issues:
Report Upstream: N/A | Reviewers: Hugh Thomas
Authors: Christian Stump | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------------+----------------------------
Comment (by gmoose05):
Hi all,
To be more precise, the patchbot appears to come up with the doctest error
{{{
sage -t -force_lib devel/sage-10527/sage/misc/sagedoc.py
**********************************************************************
File
"/home/patchbot/Sage/sage-5.3.rc1/devel/sage-10527/sage/misc/sagedoc.py",
line 22:
sage: for line in open(docfilename):
if "#sage.symbolic.expression.Expression.N" in line:
print line
Exception raised:
Traceback (most recent call last):
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner .run_one_example(self, test, example, filename,
compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __ main__ .example_0[3] >", line 1, in <module>
for line in open(docfilename):###line 22:
sage: for line in open(docfilename): IOError: [Errno 2] No such file or
directory:
'/home/patchbot/Sage/sage-5.3.rc1/devel/sage/doc/output/html/en/reference/sage/symbolic/expression.html'
**********************************************************************
File
"/home/patchbot/Sage/sage-5.3.rc1/devel/sage-10527/sage/misc/sagedoc.py",
line 1221:
sage: browse_sage_doc._open("reference", testing=True)[0] # indirect
doctest
Exception raised:
Traceback (most recent call last):
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner .run_one_example(self, test, example, filename,
compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __ main__ .example_19[2] >", line 1, in <module>
browse_sage_doc._open("reference", testing=True)[Integer(0)] #
indirect doctest###line 1221:
sage: browse_sage_doc._open("reference", testing=True)[0] # indirect
doctest
File "/home/patchbot/Sage/sage-5.3.rc1/local/lib/python/site-
packages/sage/misc/sagedoc.py", line 1392, in _open
with 'sage -docbuild %s html --jsmath' and try again.""" %(name,
name)
OSError: The document 'reference' does not exist. Please build it with
'sage -docbuild reference html --jsmath' and try again.
**********************************************************************
File
"/home/patchbot/Sage/sage-5.3.rc1/devel/sage-10527/sage/misc/sagedoc.py",
line 1383:
sage: browse_sage_doc._open("reference", testing=True)[0]
Exception raised:
Traceback (most recent call last):
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner .run_one_example(self, test, example, filename,
compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __ main__ .example_23[2] >", line 1, in <module>
browse_sage_doc._open("reference", testing=True)[Integer(0)]###line
1383:
sage: browse_sage_doc._open("reference", testing=True)[0]
File "/home/patchbot/Sage/sage-5.3.rc1/local/lib/python/site-
packages/sage/misc/sagedoc.py", line 1392, in _open
with 'sage -docbuild %s html --jsmath' and try again.""" %(name,
name)
OSError: The document 'reference' does not exist. Please build it with
'sage -docbuild reference html --jsmath' and try again.
**********************************************************************
File
"/home/patchbot/Sage/sage-5.3.rc1/devel/sage-10527/sage/misc/sagedoc.py",
line 1385:
sage: browse_sage_doc._open("tutorial", testing=True)[1]
Exception raised:
Traceback (most recent call last):
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner .run_one_example(self, test, example, filename,
compileflags)
File "/home/patchbot/Sage/sage-5.3.rc1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __ main__ .example_23[3] >", line 1, in <module>
browse_sage_doc._open("tutorial", testing=True)[Integer(1)]###line
1385:
sage: browse_sage_doc._open("tutorial", testing=True)[1]
File "/home/patchbot/Sage/sage-5.3.rc1/local/lib/python/site-
packages/sage/misc/sagedoc.py", line 1392, in _open
with 'sage -docbuild %s html --jsmath' and try again.""" %(name,
name)
OSError: The document 'tutorial' does not exist. Please build it with
'sage -docbuild tutorial html --jsmath' and try again.
********************************************************************** 3
items had failures:
1 of 5 in __ main__ .example_0 1 of 5 in __ main__ .example_19 2 of
5 in __ main__ .example_23
***Test Failed*** 4 failures.
}}}
However, I just downloaded 5.3.rc1, applied the five patches, and ran
{{{
sage -bt sage/misc
}}}
which returned:
{{{
all All tests passed!
}}}
including:
{{{
sage -t "devel/sage-testing/sage/misc/sagedoc.py"
[24.5 s]
Total time for all tests: 475.7 seconds
}}}
Since we cannot measure whether other tickets (that depend on 10527) are
passing tests with the patchbot until this is resolved, has anyone
encountered this error elsewhere? Or know how to resolve this? It
appears to be a problem with the patchbot itself, rather than the patches.
Nicolas, should we be posting this on devel google-groups?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10527#comment:95>
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.