Source: python-gevent
Version: 0.12.2-6
User: [email protected]
Usertags: sphinx1.0+docutils0.7
Severity: important

Hello,

When rebuilt with python-sphinx 1.0~b1-1 and python-docutils 0.7-1 (both available in experimental), python-gevent failed to build. Here are the relevant parts of the build log:

[…]
| sphinx-build -b html -d _build/doctrees   . _build/html
| Making output directory...
| Running Sphinx v1.0b1
| Linking ../changelog.rst to changelog.rst
| loading pickled environment... not yet created
| loading intersphinx inventory from http://docs.python.org/dev/objects.inv...
| building [html]: targets for 18 source files that are out of date
| updating environment: 18 added, 0 changed, 0 removed
| reading sources... [  5%] changelog
| reading sources... [ 11%] contents
| reading sources... [ 16%] gevent
| reading sources... [ 22%] gevent.core
| reading sources... [ 27%] gevent.dns
| reading sources... [ 33%] gevent.event
| reading sources... [ 38%] gevent.http
| reading sources... [ 44%] gevent.hub
| reading sources... [ 50%] gevent.monkey
| reading sources... [ 55%] gevent.pool
| reading sources... [ 61%] gevent.queue
| reading sources... [ 66%] gevent.rawgreenlet
| reading sources... [ 72%] gevent.socket
| reading sources... [ 77%] gevent.ssl
| reading sources... [ 83%] gevent.util
| reading sources... [ 88%] gevent.wsgi
| reading sources... [ 94%] intro
| reading sources... [100%] reference
|
| /tmp/buildd/python-gevent-0.12.2/gevent/hub.py:docstring of 
gevent.hub.Waiter:7: (WARNING/2) Inline interpreted text or phrase reference 
start-string without end-string.
|
| /tmp/buildd/python-gevent-0.12.2/doc/gevent.ssl.rst:4: (WARNING/2) missing 
attribute mentioned in :members: or __all__: module gevent.ssl, attribute none
|
| /tmp/buildd/python-gevent-0.12.2/doc/gevent.ssl.rst:: (ERROR/3) Anonymous 
hyperlink mismatch: 0 references but 1 targets.
| See "backrefs" attribute for IDs.
|
| looking for now-outdated files... none found
| pickling environment... done
| checking consistency... /tmp/buildd/python-gevent-0.12.2/doc/gevent.hub.rst:: 
WARNING: document isn't included in any toctree
| /tmp/buildd/python-gevent-0.12.2/doc/gevent.rawgreenlet.rst:: WARNING: 
document isn't included in any toctree
| /tmp/buildd/python-gevent-0.12.2/doc/gevent.ssl.rst:: WARNING: document isn't 
included in any toctree
| done
| preparing documents... done
| writing output... [  5%] changelog
|
| Exception occurred:
|   File "/usr/lib/pymodules/python2.6/docutils/nodes.py", line 534, in 
__getitem__
|     return self.attributes[key]
| KeyError: 'modname'
| The full traceback has been saved in /tmp/sphinx-err-QvZ9PW.log, if you want 
to report the issue to the developers.
| Please also report this if it was a user error, so that a better error 
message can be provided next time.
| Either send bugs to the mailing list at 
<http://groups.google.com/group/sphinx-dev/>,
| or report them in the tracker at 
<http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!

If you believe that this failure is caused by a bug in python-sphinx or python-docutils, feel free to reassign the bug.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--
Jakub Wilk
# Sphinx version: 1.0b1
# Docutils version: 0.7 release
# Jinja2 version: 2.5
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/sphinx/cmdline.py", line 173, in main
    app.build(force_all, filenames)
  File "/usr/lib/pymodules/python2.6/sphinx/application.py", line 205, in build
    self.builder.build_update()
  File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 198, in 
build_update
    'out of date' % len(to_build))
  File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 254, in 
build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 292, in 
write
    doctree = self.env.get_and_resolve_doctree(docname, self)
  File "/usr/lib/pymodules/python2.6/sphinx/environment.py", line 1085, in 
get_and_resolve_doctree
    self.resolve_references(doctree, docname, builder)
  File "/usr/lib/pymodules/python2.6/sphinx/environment.py", line 1294, in 
resolve_references
    'missing-reference', self, node, contnode)
  File "/usr/lib/pymodules/python2.6/sphinx/application.py", line 313, in 
emit_firstresult
    for result in self.emit(event, *args):
  File "/usr/lib/pymodules/python2.6/sphinx/application.py", line 309, in emit
    results.append(callback(self, *args))
  File "./mysphinxext.py", line 21, in missing_reference
    modname = node['modname']
  File "/usr/lib/pymodules/python2.6/docutils/nodes.py", line 534, in 
__getitem__
    return self.attributes[key]
KeyError: 'modname'

Attachment: signature.asc
Description: Digital signature

Reply via email to