'register' command fails with stack trace

Anonymous avatarAnonymous created an issue
python setup.py register --strict
running register
running egg_info
creating mktoc.egg-info
writing mktoc.egg-info/PKG-INFO
writing top-level names to mktoc.egg-info/top_level.txt
writing dependency_links to mktoc.egg-info/dependency_links.txt
writing entry points to mktoc.egg-info/entry_points.txt
writing manifest file 'mktoc.egg-info/SOURCES.txt'
reading manifest file 'mktoc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'mktoc.egg-info/SOURCES.txt'
running check
Traceback (most recent call last):
  File "setup.py", line 51, in <module>
    'Topic :: Multimedia :: Sound/Audio :: Conversion',
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/register.py", line 9, in run
    _register.run(self)
  File "/usr/lib/python2.7/distutils/command/register.py", line 51, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/check.py", line 69, in run
    self.check_restructuredtext()
  File "/usr/lib/python2.7/distutils/command/check.py", line 111, in check_restructuredtext
    for warning in self._check_rst_data(data):
  File "/usr/lib/python2.7/distutils/command/check.py", line 138, in _check_rst_data
    parser.parse(data, document)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/__init__.py", line 157, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 170, in run
    input_source=document['source'])
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 233, in run
    context, state, transitions)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 454, in check_line
    return method(match, context, next_state)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2706, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 329, in section
    self.new_subsection(title, lineno, messages)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 398, in new_subsection
    node=section_node, match_titles=1)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 284, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 233, in run
    context, state, transitions)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 454, in check_line
    return method(match, context, next_state)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 1267, in enumerator
    'auto': sequence == '#'})
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 321, in nested_list_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 233, in run
    context, state, transitions)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 454, in check_line
    return method(match, context, next_state)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2494, in enumerator
    listitem, blank_finish = self.list_item(match.end())
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 1234, in list_item
    node=listitem)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 284, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 233, in run
    context, state, transitions)
  File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 454, in check_line
    return method(match, context, next_state)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2643, in blank
    context, self.state_machine.abs_line_number() - 1)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 421, in paragraph
    textnodes, messages = self.inline_text(text, lineno)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 430, in inline_text
    return self.inliner.parse(text, lineno, self.memo, self.parent)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 516, in parse
    lineno)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 774, in interpreted_or_phrase_ref
    lineno)
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 836, in interpreted
    return ([self.problematic(rawsource, rawsource, msg)],
  File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 716, in problematic
    msgid = self.document.set_id(message, self.parent)
  File "/usr/lib/pymodules/python2.7/docutils/nodes.py", line 998, in set_id
    for id in node['ids']:
TypeError: 'NoneType' object is not subscriptable
make: *** [register] Error 1
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.