[Scons-users] error in builder_node_error
Jason Kenny
dragon512 at live.com
Thu May 31 20:37:13 EDT 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20180601/738e75fa/attachment.html>
More information about the Scons-users
mailing list