Source: python-django Version: 1.2.1-1 User: python-modules-t...@lists.alioth.debian.org 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), Django failed to build. Here are the relevant parts of the build log:
[…] | sphinx-build -b djangohtml -d _build/doctrees . _build/html | Making output directory... | Running Sphinx v1.0b1 | loading pickled environment... not yet created | building [djangohtml]: targets for 187 source files that are out of date | updating environment: 187 added, 0 changed, 0 removed | reading sources... [ 0%] contents | reading sources... [ 1%] faq/admin | reading sources... [ 1%] faq/contributing | reading sources... [ 2%] faq/general | reading sources... [ 2%] faq/help | reading sources... [ 3%] faq/index | reading sources... [ 3%] faq/install | reading sources... [ 4%] faq/models | /tmp/buildd/python-django-1.2.1/docs.debian/_ext/djangodocs.py:91: DeprecationWarning: xfileref_role is deprecated, use XRefRole | xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno, state) | | Exception occurred: | File "/tmp/buildd/python-django-1.2.1/docs.debian/_ext/djangodocs.py", line 103, in parse_version_directive | env.note_versionchange(node['type'], node['version'], node, lineno) | AttributeError: BuildEnvironment instance has no attribute 'note_versionchange' | The full traceback has been saved in /tmp/sphinx-err-l4rW6E.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 218, in build purple, length): File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 120, in status_iterator for item in iterable: File "/usr/lib/pymodules/python2.6/sphinx/environment.py", line 502, in update_generator self.read_doc(docname, app=app) File "/usr/lib/pymodules/python2.6/sphinx/environment.py", line 642, in read_doc pub.publish() File "/usr/lib/pymodules/python2.6/docutils/core.py", line 203, in publish self.settings) File "/usr/lib/pymodules/python2.6/docutils/readers/__init__.py", line 69, in read self.parse() File "/usr/lib/pymodules/python2.6/docutils/readers/__init__.py", line 75, in parse self.parser.parse(self.input, document) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/__init__.py", line 157, in parse self.statemachine.run(inputlines, document, inliner=self.inliner) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 170, in run input_source=document['source']) File "/usr/lib/pymodules/python2.6/docutils/statemachine.py", line 233, in run context, state, transitions) File "/usr/lib/pymodules/python2.6/docutils/statemachine.py", line 454, in check_line return method(match, context, next_state) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 2706, in underline self.section(title, source, style, lineno - 1, messages) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 329, in section self.new_subsection(title, lineno, messages) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 398, in new_subsection node=section_node, match_titles=1) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 284, in nested_parse node=node, match_titles=match_titles) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 195, in run results = StateMachineWS.run(self, input_lines, input_offset) File "/usr/lib/pymodules/python2.6/docutils/statemachine.py", line 233, in run context, state, transitions) File "/usr/lib/pymodules/python2.6/docutils/statemachine.py", line 454, in check_line return method(match, context, next_state) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 2706, in underline self.section(title, source, style, lineno - 1, messages) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 329, in section self.new_subsection(title, lineno, messages) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 398, in new_subsection node=section_node, match_titles=1) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 284, in nested_parse node=node, match_titles=match_titles) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 195, in run results = StateMachineWS.run(self, input_lines, input_offset) File "/usr/lib/pymodules/python2.6/docutils/statemachine.py", line 233, in run context, state, transitions) File "/usr/lib/pymodules/python2.6/docutils/statemachine.py", line 454, in check_line return method(match, context, next_state) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 2281, in explicit_markup nodelist, blank_finish = self.explicit_construct(match) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 2293, in explicit_construct return method(self, expmatch) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 2035, in directive directive_class, match, type_name, option_presets) File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/states.py", line 2086, in run_directive result = directive_instance.run() File "/usr/lib/pymodules/python2.6/docutils/parsers/rst/__init__.py", line 370, in run self.state, self.state_machine) File "/tmp/buildd/python-django-1.2.1/docs.debian/_ext/djangodocs.py", line 103, in parse_version_directive env.note_versionchange(node['type'], node['version'], node, lineno) AttributeError: BuildEnvironment instance has no attribute 'note_versionchange'
signature.asc
Description: Digital signature