[Scons-users] error in builder_node_error

Bill Deegan bill at baddogconsulting.com
Thu May 31 20:58:21 EDT 2018


What's t, and what does t.get_executor() return?
Looks like it's None...


On Thu, May 31, 2018 at 5:37 PM, Jason Kenny <dragon512 at live.com> wrote:

> I just realized I gave you a stack with Parts in it. … here it is without
> “Parts” trying to figure out if this is an error ( help report which part
> is having the issue to the user). It just call the scons API as it would be
> called normally
>
>
>
>   File "/home/jkenny/code/build-env/lib/python2.7/site-packages/scons-3.0.1/SCons/Builder.py",
> line 567, in _execute
>
>     _node_errors(self, env, tlist, slist)
>
>   File "/home/jkenny/code/parts/parts/overrides/dup_node_builder_env.py",
> line 20, in parts_node_errors
>
>     scons_node_errors(builder, env, tlist, slist)
>
>   File "/home/jkenny/code/build-env/lib/python2.7/site-packages/scons-3.0.1/SCons/Builder.py",
> line 320, in _node_errors
>
>     if t.get_executor().get_all_targets() != tlist:
>
>
>
> Same error… just wanting to clear up this was not Parts monkey patching
> stuff 😊
>
>
>
> Jason
>
>
>
> *From:* Jason Kenny
> *Sent:* Thursday, May 31, 2018 7:30 PM
> *To:* 'SCons users mailing list' <scons-users at scons.org>
> *Subject:* error in builder_node_error
>
>
>
> Hi Bill,
>
>
>
> Working on a new builder ( hopefully will get it working soon)  I am
> getting an error out of SCons with this trace
>
>
>
> scons: *** [_build/build_debug_posix-x86_64/openssl/_rpm/openssl-1.1.0-25.x86_64.rpm]
> AttributeError : 'NoneType' object has no attribute 'get_all_targets'
>
> … <skipping for brevity>
>
>   File "/home/jkenny/code/build-env/lib/python2.7/site-packages/scons-3.0.1/SCons/Builder.py",
> line 645, in __call__
>
>     return self._execute(env, target, source, OverrideWarner(kw), ekw)
>
>   File "/home/jkenny/code/build-env/lib/python2.7/site-packages/scons-3.0.1/SCons/Builder.py",
> line 567, in _execute
>
>     _node_errors(self, env, tlist, slist)
>
>   File "/home/jkenny/code/parts/parts/overrides/dup_node_builder_env.py",
> line 71, in parts_node_errors
>
>     if t.get_executor().get_all_targets() != tlist:
>
>
>
>
>
> I am not sure at the moment what I did to upset SCons ( I am 100% sure I
> did something wrong) . However it look like there is a more serious error
> in reporting to the user. Have you seen anything like this before?
>
>
>
> Jason
>
> _______________________________________________
> 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/20180531/25190c5c/attachment-0001.html>


More information about the Scons-users mailing list