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

Bill Deegan bill at baddogconsulting.com
Sun Apr 29 13:48:31 EDT 2018


I also found an issue with scons docs build and newer versions of epydoc I
believe.

I haven't had the time to resolve it yet.

Please jump in if you have the time.

-Bill

On Sun, Apr 29, 2018 at 11:23 AM, Mats Wichmann <mats at wichmann.us> wrote:

> 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.
>
> _______________________________________________
> 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/d0d87e1a/attachment.html>


More information about the Scons-users mailing list