[Scons-users] Scanner / Builder Race Condition?

William Blevins wblevins001 at gmail.com
Mon Feb 22 18:00:07 EST 2016


I do see what you are saying though...

On Mon, Feb 22, 2016 at 10:43 PM, William Blevins <wblevins001 at gmail.com>
wrote:

> I get this error after I created 2 *.dat file(s) with junk data:
> "TypeError: Tried to lookup Dir '.' as a File."
>
> On Mon, Feb 22, 2016 at 10:35 PM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> I am missing the source files to trace the program, but it's a more
>> concrete example :)
>>
>> On Mon, Feb 22, 2016 at 9:53 PM, Brian Cody <brian.j.cody at gmail.com>
>> wrote:
>>
>>> William,
>>>
>>> Source code and instructions found within:
>>> http://pastebin.com/KSkjkszp
>>>
>>> It produced the error on the first try. While the project file was being
>>> scanned, it was rebuilt out from under it. Given the simplicity of the test
>>> app, nothing broke, but it should be obvious why it could!
>>>
>>> c:\workdir\software2\projects\test>scons -j 2
>>> scons: Reading SConscript files ...
>>> scons: done reading SConscript files.
>>> scons: Building targets ...
>>> scanning project.prj
>>> done scanning project.prj
>>> >scanning project.prj
>>> >>>>create_project_file(["project.prj"], ["source_1.dat",
>>> "source_2.dat"])
>>> >>>>building project.prj
>>> >done scanning project.prj
>>> done building project.prj
>>> scanning project.prj
>>> done scanning project.prj
>>> version_action(["derp.txt"], ["project.prj"])
>>> compiler_action(["out.bin"], ["project.prj", "derp.txt"])
>>> creating out.bin
>>> done creating out.bin
>>> scons: done building targets.
>>>
>>>
>>> Thanks!
>>>
>>>
>>> _______________________________________________
>>> 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/20160222/5c7e02ce/attachment.html>


More information about the Scons-users mailing list