On Ubuntu 16.04, make ptestlong failed on building the documentation with
the following error:
Building reference manual, first pass.
Error building the documentation.
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python2.7/runpy.py", line 174,
in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/slabbe/GitBox/sage/local/lib/python2.7/runpy.py", line 72, in
_run_code
exec code in run_globals
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py",
line 2, in <module>
main()
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 1675, in main
builder()
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 310, in _wrapper
getattr(get_builder(document), 'inventory')(*args, **kwds)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 505, in _wrapper
build_many(build_ref_doc, L)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 246, in build_many
ret = x.get(99999)
File
"/home/slabbe/GitBox/sage/local/lib/python2.7/multiprocessing/pool.py",
line 567, in get
raise self._value
AttributeError: 'module' object has no attribute 'WarningStream'
Note: incremental documentation builds sometimes cause spurious
error messages. To be certain that these are real errors, run
"make doc-clean" first and try again.
I did a make doc-clean and make ptestlong again, I then get:
----------------------------------------------------------------------
sage -t --long --warn-long 45.8 src/sage/misc/sagedoc.py # 3 doctests
failed
----------------------------------------------------------------------
that I copied below
sage -t --long --warn-long 45.8 src/sage/misc/sagedoc.py
**********************************************************************
File "src/sage/misc/sagedoc.py", line 794, in sage.misc.sagedoc.?
Failed example:
'abvar/homology' in _search_src_or_doc('doc', 'homology', 'variety',
interact=False) # long time (4s on sage.math, 2012)
Expected:
True
Got:
Warning, the following Sage documentation hasn't been built,
so documentation search results may be incomplete:
<BLANKLINE>
/home/slabbe/GitBox/sage/local/share/doc/sage/html/es/a_tour_of_sage
<BLANKLINE>
You can build this with 'sage -docbuild es/a_tour_of_sage html'.
True
**********************************************************************
File "src/sage/misc/sagedoc.py", line 1162, in sage.misc.sagedoc.?
Failed example:
len(search_doc('tree', interact=False).splitlines()) > 4000 # long time
Expected:
True
Got:
Warning, the following Sage documentation hasn't been built,
so documentation search results may be incomplete:
<BLANKLINE>
/home/slabbe/GitBox/sage/local/share/doc/sage/html/es/a_tour_of_sage
<BLANKLINE>
You can build this with 'sage -docbuild es/a_tour_of_sage html'.
True
**********************************************************************
File "src/sage/misc/sagedoc.py", line 1164, in sage.misc.sagedoc.?
Failed example:
len(search_doc('tree', whole_word=True, interact=False).splitlines()) <
2000 # long time
Expected:
True
Got:
Warning, the following Sage documentation hasn't been built,
so documentation search results may be incomplete:
<BLANKLINE>
/home/slabbe/GitBox/sage/local/share/doc/sage/html/es/a_tour_of_sage
<BLANKLINE>
You can build this with 'sage -docbuild es/a_tour_of_sage html'.
True
**********************************************************************
1 item had failures:
3 of 28 in sage.misc.sagedoc.?
5 tests skipped
[106 tests, 3 failures, 89.11 s]
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.