[Scons-users] Need help to debug, problem with Alias()

Bill Deegan bill at baddogconsulting.com
Wed Jun 26 15:19:15 EDT 2019


which plaform, version of python, version of SCons?

On Wed, Jun 26, 2019 at 12:06 PM Pierre-Luc Boily <pierreluc.boily at gmail.com>
wrote:

> Hello,
>
> I have the following error at the end of the compilation process :
> scons: *** [bin] AttributeError : 'NoneType' object has no attribute
> 'get_contents'
>
> I am not sure where this error is coming from.
>
> 1. I am suspecting that it is coming from a sconscript that generates a
> header file with SVN revision written as a define :
> https://pastebin.com/ZL7tw8p6
>
> 2. This generated include file is used by this sconscript :
> https://pastebin.com/xdDsV9zp.  I am using Depends functions to force the
> generation of the header file at step 1.
>
> 3. Something weird though, if I re-launched the build, it gives no error.
> In order to get the error message, I have to change file at step 1.
>
> 4. --debug=stacktrace:https://pastebin.com/Vscxc6aT.  I see the stack
> trace
> going through implicit dependency scanner.  This is the reason why I think
> it could be related with the file generation at step 1.
>
> thx for your idea!
>
>
>
>
>
>
>
>
> --
> Sent from: http://scons.1086193.n5.nabble.com/Users-f16930.html
> _______________________________________________
> 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/20190626/4b5b9ded/attachment.html>


More information about the Scons-users mailing list