Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#349 AttributeError: 'Text' object has no attribute 'data'

v3.0
open
nobody
None
5
2014-08-19
2011-11-22
Normand
No

When I use Epidoc V 3.01 with Docutil 0.6 or 0.8.1 and Python 2.7 (32 bits) on Windows 7 (64 bits) I have :
Unhandled exception in thread started by <function document at 0x023632F0>
Traceback (most recent call last):
File "D:\GNU\Python27\Lib\site-packages\epydoc\gui.py", line 226, in document
docindex = build_doc_index(options['modules'], parse, introspect)
File "D:\GNU\Python27\lib\site-packages\epydoc\docbuilder.py", line 275, in build_doc_index
parse_docstring(val_doc, docindex, suppress_warnings)
File "D:\GNU\Python27\lib\site-packages\epydoc\docstringparser.py", line 265, in parse_docstring
api_doc.summary, api_doc.other_docs = api_doc.descr.summary()
File "D:\GNU\Python27\lib\site-packages\epydoc\markup\restructuredtext.py", line 179, in summary
try: self._document.walk(visitor)
File "D:\GNU\Python27\lib\site-packages\docutils\nodes.py", line 137, in walk
if child.walk(visitor):
File "D:\GNU\Python27\lib\site-packages\docutils\nodes.py", line 129, in walk
visitor.dispatch_visit(self)
File "D:\GNU\Python27\lib\site-packages\docutils\nodes.py", line 1604, in dispatch_visit
return method(node)
File "D:\GNU\Python27\lib\site-packages\epydoc\markup\restructuredtext.py", line 307, in visit_paragraph
m = self._SUMMARY_RE.match(child.data)
AttributeError: 'Text' object has no attribute 'data'

Discussion