[Scons-users] Fwd: scons doc fails with: AttributeError: 'Text' object has no attribute 'data'
Mats Wichmann
mats at wichmann.us
Sun Apr 29 11:23:59 EDT 2018
On 04/29/2018 02:40 AM, Ciro Santilli 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/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.
> _______________________________________________
For what it's worth, an experiment in a different context (scons 3.0.1,
working against current git of scons, Fedora 27 system so different
versions of other pkgs), I still end up with the same AttributeError
though of course the traceback looks different:
File
"/usr/lib/python2.7/site-packages/epydoc/markup/restructuredtext.py",
line 496, in handle_consolidated_bullet_list
if child.data[:1] in ':-':
AttributeError: 'Text' object has no attribute 'data'
Problem with epydoc? or with the way it's being called in the scons tree?
maybe there are more particular setup requirements, we'll have to wait
for the experts.
More information about the Scons-users
mailing list