I've some trouble compiling the doc:
tomahawk-*e/sage-3.4/devel $ sage -clone doc
[...]
tomahawk-*e/sage-3.4/devel $ cd sage-doc
tomahawk-*4/devel/sage-doc $ sage -b doc
[...]
tomahawk-*4/devel/sage-doc $ sage -docbuild reference html
Traceback (most recent call last):
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 668, in <module>
getattr(get_builder(name), type)()
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 349, in _wrapper
self.write_auto_rest_file(module_name.replace(os.path.sep, '.'))
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 529, in write_auto_rest_file
title = self.get_module_docstring_title(module_name)
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 498, in get_module_docstring_title
__import__(module_name)
ImportError: No module named quaternion_order
tomahawk-*4/devel/sage-doc $ sage -docbuild reference pdf
Traceback (most recent call last):
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 668, in <module>
getattr(get_builder(name), type)()
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 210, in pdf
self.latex()
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 349, in _wrapper
self.write_auto_rest_file(module_name.replace(os.path.sep, '.'))
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 529, in write_auto_rest_file
title = self.get_module_docstring_title(module_name)
File "/usr/local/sage/sage/devel/sage/doc/common/builder.py", line 498, in get_module_docstring_title
__import__(module_name)
ImportError: No module named quaternion_order
Am I doing something wrong ?
Cheers,
Florent
Strange !!! My install is a brand new one from the following tar I downloaded
from the French mirror if I didn't mix things up... Is it possible that the
mistake reach this tarball ?
tomahawk-/usr/local/sage $ md5sum sage-3.4.tar
2613a702a388aba701c95598cdd29705 sage-3.4.tar
Cheers,
Florent
This would happen if you pushed/applied a patch that added
quaternion_order.pyx (and a reference to quaternion_order.rst from one
of the main reference manual files), built the documentation, and then
popped/reverted the patch.
Maybe the right fix is to find the code that generates the WARNING
message, and make it just delete the .rst file instead.
Carl
> There is a quaternion_order.rst in devel/sage/doc/en/reference/sage/
> algebras that seems to be autogenerated.
>
> After nuking the output directory rebuilding all documentation
> repeatedly works.
I tried this one... But on my computation server:
sage/algebras/steenrod_algebra_element sage/calculus/calculus sage/calculus/equations Exception occurred:
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/subprocess.py", line 1003, in _execute_child
errpipe_read, errpipe_write = os.pipe()
OSError: [Errno 24] Too many open files
The full traceback has been saved in /tmp/sphinx-err--kaK6F.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to sphin...@googlegroups.com. Thanks!
Build finished. The built documents can be found in /home/combi/hivert/Sage/sage/devel/sage/doc/output/html/en/reference
Is this really a bug of sphinx ?
Here is the complete traceback:
massena-*el/sage-main/doc $ cat /tmp/sphinx-err--kaK6F.log
Traceback (most recent call last):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/cmdline.py", line 151, in main
app.build(all_files, filenames)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/application.py", line 138, in build
self.builder.build_update()
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/builder.py", line 250, in build_update
'out of date' % len(to_build))
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/builder.py", line 290, in build
self.write(docnames, updated_docnames, method)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/builder.py", line 328, in write
self.write_doc(docname, doctree)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/builder.py", line 522, in write_doc
self.docwriter.write(doctree, destination)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/writers/__init__.py", line 76, in write
self.translate()
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/htmlwriter.py", line 37, in translate
self.document.walkabout(visitor)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 176, in walkabout
if child.walkabout(visitor):
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 168, in walkabout
visitor.dispatch_visit(self)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/docutils/nodes.py", line 1535, in dispatch_visit
return method(node)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/ext/pngmath.py", line 181, in html_visit_math
fname, depth = render_math(self, '$'+node['latex']+'$')
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg/sphinx/ext/pngmath.py", line 115, in render_math
p = Popen(ltx_args, stdout=PIPE, stderr=PIPE)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/home/combi/hivert/Sage/sage-3.4/local/lib/python2.5/subprocess.py", line 1003, in _execute_child
errpipe_read, errpipe_write = os.pipe()
OSError: [Errno 24] Too many open files
massena-*el/sage-main/doc $
Florent
massena-*el/sage-main/doc $ ulimit -a
-t: cpu time (seconds) unlimited
-f: file size (blocks) unlimited
-d: data seg size (kbytes) unlimited
-s: stack size (kbytes) 8192
-c: core file size (blocks) 0
-m: resident set size (kbytes) unlimited
-u: processes 268288
-n: file descriptors 1024
-l: locked-in-memory size (kb) 32
-v: address space (kb) unlimited
-x: file locks unlimited
-i: pending signals 268288
-q: bytes in POSIX msg queues 819200
-e: max nice 0
-r: max rt priority 0
massena-*el/sage-main/doc $ ulimit -n 1025
ulimit: value exceeds hard limit
I can't give it more...
Is there a way to know it some process leaks file handles ? From a regular
account / from root ? I tried lsof but it only answered my file 192 of them (I
don't have a root account).
Cheers,
Florent