Doc generation fails

Marc Richter richter_marc at gmx.net
Mon Jun 10 16:12:37 BST 2013


Hi everyone,

I just cloned the git repo and executed 'make doc'. This results in :

make[1]: Entering directory `/home/mr/offlineimap/offlineimap/docs'
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
FAQ.rst FAQ.html
FAQ.rst:208: (WARNING/2) Definition list ends without a blank line;
unexpected unindent.
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
MANUAL.rst MANUAL.html
MANUAL.rst:470: (WARNING/2) Literal block expected; none found.
MANUAL.rst:606: (ERROR/3) Unknown target name:
"http://dev.gentoo.org/~tomka/mail.html".
MANUAL.rst:664: (ERROR/3) Unknown target name:
"http://dev.gentoo.org/~tomka/mail-setup.tar.bz2".
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
INSTALL.rst INSTALL.html
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
UPGRADE.rst UPGRADE.html
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
HACKING.rst HACKING.html
sphinx-build -b html -d dev-doc/doctrees dev-doc-src dev-doc/html
Making output directory...
Running Sphinx v1.1.3
loading pickled environment... not yet created
loading intersphinx inventory from http://docs.python.org/objects.inv...
building [html]: targets for 4 source files that are out of date
updating environment: 4 added, 0 changed, 0 removed
Traceback (most recent call last):



  File "/usr/lib64/python2.7/site-packages/sphinx/ext/autodoc.py", line
326, in import_object
    obj = self.get_attr(obj, part)
  File "/usr/lib64/python2.7/site-packages/sphinx/ext/autodoc.py", line
232, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/usr/lib64/python2.7/site-packages/sphinx/util/inspect.py", line
70, in safe_getattr
    raise AttributeError(name)
AttributeError: lock
reading sources... [100%] ui



/home/mr/offlineimap/offlineimap/docs/dev-doc-src/index.rst:12: WARNING:
autodoc can't import/find method 'offlineimap.OfflineImap.lock', it
reported error: "lock", please check your spelling and sys.path
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] ui



writing additional files... genindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.
make[1]: Leaving directory `/home/mr/offlineimap/offlineimap/docs'
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
README.rst readme.html
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
SubmittingPatches.rst SubmittingPatches.html
`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
Changelog.rst Changelog.html
Changelog.rst:362: (WARNING/2) Bullet list ends without a blank line;
unexpected unindent.
Changelog.rst:443: (ERROR/3) Unknown target name: "website".

Best regards,
Judge




More information about the OfflineIMAP-project mailing list