[Scons-users] Fwd: scons doc fails with: AttributeError: 'Text' object has no attribute 'data'

Ciro Santilli ciro.santilli at gmail.com
Sun Apr 29 04:40:29 EDT 2018


4d2f1e1c2b35d4908067a36cba6850371017c105 Ubuntu 17.10 run `scons doc`, outcome:

Warning: No information available for
         SCons.Variables.ListVariable._ListVariable's base
         collections.UserList
  [....................Traceback (most recent call last):
  File "/home/ciro/.local/bin/epydoc", line 13, in <module>
    cli()
  File "/home/ciro/.local/lib/python2.7/site-packages/epydoc/cli.py",
line 965, in cli
    main(options, names)
  File "/home/ciro/.local/lib/python2.7/site-packages/epydoc/cli.py",
line 757, in main
    exclude_parse=exclude_parse)
  File "/home/ciro/.local/lib/python2.7/site-packages/epydoc/docbuilder.py",
line 275, in build_doc_index
    parse_docstring(val_doc, docindex, suppress_warnings)
  File "/home/ciro/.local/lib/python2.7/site-packages/epydoc/docstringparser.py",
line 265, in parse_docstring
    api_doc.summary, api_doc.other_docs = api_doc.descr.summary()
  File "/home/ciro/.local/lib/python2.7/site-packages/epydoc/markup/restructuredtext.py",
line 179, in summary
    try: self._document.walk(visitor)
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 138, in walk
    if child.walk(visitor):
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 130, in walk
    visitor.dispatch_visit(self)
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line
1882, in dispatch_visit
    return method(node)
  File "/home/ciro/.local/lib/python2.7/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'
scons: *** [build/doc/HTML/scons-api/index.html] Error 1
scons: building terminated because of errors.


More information about the Scons-users mailing list