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

Bill Deegan bill at baddogconsulting.com
Sun Apr 29 13:49:26 EDT 2018


Ciro,

Are you working on SCons itself?
Any reason to build a doc package?
If not, you can just download a 3.0.1 package.

-Bill

On Sun, Apr 29, 2018 at 4:40 AM, Ciro Santilli <ciro.santilli at gmail.com>
wrote:

> 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.
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20180429/1a9c2738/attachment-0001.html>


More information about the Scons-users mailing list