Advertisement
themoosemind

Error from Sphinx argparse extension

Oct 20th, 2014
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.24 KB | None | 0 0
  1. # Sphinx version: 1.2.2
  2. # Python version: 2.7.6
  3. # Docutils version: 0.11 release
  4. # Jinja2 version: 2.7.3
  5. # Loaded extensions:
  6. #   sphinx.ext.autodoc from /usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.pyc
  7. #   sphinx.ext.intersphinx from /usr/lib/python2.7/dist-packages/sphinx/ext/intersphinx.pyc
  8. #   sphinx.ext.mathjax from /usr/lib/python2.7/dist-packages/sphinx/ext/mathjax.pyc
  9. #   sphinx.ext.coverage from /usr/lib/python2.7/dist-packages/sphinx/ext/coverage.pyc
  10. #   sphinxarg.ext from /usr/local/lib/python2.7/dist-packages/sphinxarg/ext.pyc
  11. #   sphinx.ext.todo from /usr/lib/python2.7/dist-packages/sphinx/ext/todo.pyc
  12. #   sphinx.ext.oldcmarkup from /usr/lib/python2.7/dist-packages/sphinx/ext/oldcmarkup.pyc
  13. Traceback (most recent call last):
  14.   File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 254, in main
  15.     app.build(force_all, filenames)
  16.   File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 212, in build
  17.     self.builder.build_update()
  18.   File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 214, in build_update
  19.     'out of date' % len(to_build))
  20.   File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 234, in build
  21.     purple, length):
  22.   File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 134, in status_iterator
  23.     for item in iterable:
  24.   File "/usr/lib/python2.7/dist-packages/sphinx/environment.py", line 477, in update_generator
  25.     self.read_doc(docname, app=app)
  26.   File "/usr/lib/python2.7/dist-packages/sphinx/environment.py", line 624, in read_doc
  27.     pub.publish()
  28.   File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 217, in publish
  29.     self.settings)
  30.   File "/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 72, in read
  31.     self.parse()
  32.   File "/usr/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 78, in parse
  33.     self.parser.parse(self.input, document)
  34.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py", line 172, in parse
  35.     self.statemachine.run(inputlines, document, inliner=self.inliner)
  36.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 171, in run
  37.     input_source=document['source'])
  38.   File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
  39.     context, state, transitions)
  40.   File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
  41.     return method(match, context, next_state)
  42.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2727, in underline
  43.     self.section(title, source, style, lineno - 1, messages)
  44.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 328, in section
  45.     self.new_subsection(title, lineno, messages)
  46.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 396, in new_subsection
  47.     node=section_node, match_titles=True)
  48.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 283, in nested_parse
  49.     node=node, match_titles=match_titles)
  50.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
  51.     results = StateMachineWS.run(self, input_lines, input_offset)
  52.   File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
  53.     context, state, transitions)
  54.   File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
  55.     return method(match, context, next_state)
  56.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2300, in explicit_markup
  57.     nodelist, blank_finish = self.explicit_construct(match)
  58.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2312, in explicit_construct
  59.     return method(self, expmatch)
  60.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2055, in directive
  61.     directive_class, match, type_name, option_presets)
  62.   File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2104, in run_directive
  63.     result = directive_instance.run()
  64.   File "/usr/local/lib/python2.7/dist-packages/sphinxarg/ext.py", line 311, in run
  65.     mod = __import__(module_name, globals(), locals(), [attr_name])
  66. TypeError: Item in ``from list'' not a string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement