Python 2.7
epydoc-3.0.1-py2.7-win32.egg
Failure during processing of class definition file:
>epy.bat --debug --config=epy.cfg
Traceback (most recent call last):-] Checking for overridden methods: w...
File "C:\Python27\Scripts\epydoc.py", line 5, in <module>
pkg_resources.run_script('epydoc==3.0.1', 'epydoc.py')
File "C:\Python27\lib\site-packages\pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 1207, in run_script
execfile(script_filename, namespace, namespace)
File "c:\python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\EGG-INFO\scripts\epydoc.py", line 16, in <module>
cli()
File "C:\Python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\epydoc\cli.py", line 965, in cli
main(options, names)
File "C:\Python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\epydoc\cli.py", line 757, in main
exclude_parse=exclude_parse)
File "C:\Python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\epydoc\docbuilder.py", line 275, in build_doc_index
parse_docstring(val_doc, docindex, suppress_warnings)
File "C:\Python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\epydoc\docstringparser.py", line 265, in parse_docstr
ing
api_doc.summary, api_doc.other_docs = api_doc.descr.summary()
File "C:\Python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\epydoc\markup\restructuredtext.py", line 179, in summ
ary
try: self._document.walk(visitor)
File "C:\Python27\lib\site-packages\docutils\nodes.py", line 137, in walk
if child.walk(visitor):
File "C:\Python27\lib\site-packages\docutils\nodes.py", line 129, in walk
visitor.dispatch_visit(self)
File "C:\Python27\lib\site-packages\docutils\nodes.py", line 1601, in dispatch_visit
return method(node)
File "C:\Python27\lib\site-packages\epydoc-3.0.1-py2.7-win32.egg\epydoc\markup\restructuredtext.py", line 307, in visi
t_paragraph
m = self._SUMMARY_RE.match(child.data)
AttributeError: 'Text' object has no attribute 'data'
The system cannot find the file html\index.html.
====
A docutils.nodes.Text instance doesn't have a "data" instance variable, but appears to allow access to the text using the astext() method.
Changing:
Line 307 of ...epydoc\markup\restructuredtext.py
WAS: m = self._SUMMARY_RE.match(child.data)
NOW: m = self._SUMMARY_RE.match(child.astext())
Line 310 of ...epydoc\markup\restructuredtext.py
WAS: other = child.data[m.end():]
NOW: other = child.astext()[m.end():]
allowed the processing to run to completion.