[IPython-dev] Error building the docs

Gökhan Sever gokhansever at gmail.com
Sun Aug 16 20:48:43 EDT 2009


Hello,

Seemingly there is a failure somewhere in the IPy trunk which breaks the
documentation compilation

132 files written
Build API docs finished.
mkdir -p build/html build/doctrees
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v0.6.2
WARNING: extension 'ipython_console_highlighting' has no setup() function;
is it really a Sphinx extension module?
loading pickled environment... not found
building [html]: targets for 168 source files that are out of date
updating environment: 168 added, 0 changed, 0 removed
reading sources... [  5%]
api/generated/IPython.core.fakemodule

Exception occurred:
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/environment.py",
line 656, in read_doc
    pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'module'>: attribute lookup
__builtin__.module failed
The full traceback has been saved in /tmp/sphinx-err-5zWYds.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 sphinx-dev at googlegroups.com. Thanks!
make: *** [html] Error 1


This is the full traceback log:

Traceback (most recent call last):
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/cmdline.py",
line 172, in main
    app.build(all_files, filenames)
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/application.py",
line 130, in build
    self.builder.build_update()
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/builders/__init__.py",
line 265, in build_update
    'out of date' % len(to_build))
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/builders/__init__.py",
line 285, in build
    purple, length):
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/builders/__init__.py",
line 131, in status_iterator
    for item in iterable:
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/environment.py",
line 519, in update_generator
    self.read_doc(docname, app=app)
  File
"/usr/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/environment.py",
line 656, in read_doc
    pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'module'>: attribute lookup
__builtin__.module failed



-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20090816/fa9dad23/attachment.html>


More information about the IPython-dev mailing list