Opened 14 years ago
Closed 14 years ago
#14109 closed (fixed)
can't create django docs - ImportError
Reported by: | dvdx | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
# Sphinx version: 1.0.1 # Docutils version: 0.7 release # Jinja2 version: 2.5 Traceback (most recent call last): File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\cmdline.py", line 173, in main app.build(force_all, filenames) File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\application.py", line 207, in build self.builder.build_update() File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\builders\__init__.py", line 198, in build_update 'out of date' % len(to_build)) File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\builders\__init__.py", line 218, in build purple, length): File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\builders\__init__.py", line 120, in status_iterator for item in iterable: File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\environment.py", line 515, in update_generator self.read_doc(docname, app=app) File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\environment.py", line 655, in read_doc pub.publish() File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\core.py", line 203, in publish self.settings) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\readers\__init__.py", line 69, in read self.parse() File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\readers\__init__.py", line 75, in parse self.parser.parse(self.input, document) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\__init__.py", line 157, in parse self.statemachine.run(inputlines, document, inliner=self.inliner) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 170, in run input_source=document['source']) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\statemachine.py", line 233, in run context, state, transitions) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\statemachine.py", line 454, in check_line return method(match, context, next_state) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 2940, in text self.section(title.lstrip(), source, style, lineno + 1, messages) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 329, in section self.new_subsection(title, lineno, messages) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 398, in new_subsection node=section_node, match_titles=1) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 284, in nested_parse node=node, match_titles=match_titles) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 195, in run results = StateMachineWS.run(self, input_lines, input_offset) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\statemachine.py", line 233, in run context, state, transitions) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\statemachine.py", line 454, in check_line return method(match, context, next_state) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 2706, in underline self.section(title, source, style, lineno - 1, messages) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 329, in section self.new_subsection(title, lineno, messages) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 398, in new_subsection node=section_node, match_titles=1) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 284, in nested_parse node=node, match_titles=match_titles) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 195, in run results = StateMachineWS.run(self, input_lines, input_offset) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\statemachine.py", line 233, in run context, state, transitions) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\statemachine.py", line 454, in check_line return method(match, context, next_state) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 2281, in explicit_markup nodelist, blank_finish = self.explicit_construct(match) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 2293, in explicit_construct return method(self, expmatch) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 2035, in directive directive_class, match, type_name, option_presets) File "C:\Python26\lib\site-packages\docutils-0.7-py2.6.egg\docutils\parsers\rst\states.py", line 2086, in run_directive result = directive_instance.run() File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\domains\__init__.py", line 191, in run return BaseDirective.run(self) File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\directives\__init__.py", line 143, in run name = self.handle_signature(sig, signode) File "C:\Python26\lib\site-packages\sphinx-1.0.1-py2.6.egg\sphinx\domains\std.py", line 41, in handle_signature name = self.parse_node(self.env, sig, signode) File "E:\Downloads\Django-1.2.1\Django-1.2.1\docs\_ext\djangodocs.py", line 215, in parse_django_adminopt_node ImportError: No module named desc
Note:
See TracTickets
for help on using tickets.
This was fixed in [13445] for the 1.2.X branch (and in [13446] for trunk) and the fix will be part of 1.2.2. There is no possibility to get this fix on 1.2.1 at this point, so your choices would be a) to patch your Django installation, b) install it from a checkout of the 1.2.X branch or c) wait for 1.2.2.