[Scons-users] Scons script stopped working - error: The system cannot find the path specified.

Bill Deegan bill at baddogconsulting.com
Tue May 10 16:33:23 EDT 2016


Zarko,

Do you have any custom SCons tools defined?
Can you try this as follows:

Create a SConstruct with only the following in it
---------------
DefaultEnvironment(tools=[])


Then fun your scons --version in the directory where that file is located.

-Bill


On Tue, May 10, 2016 at 1:07 PM, Zarko Coklin <zcoklin at hotmail.com> wrote:

> Hi all!
>
>
> Long story short, I work on a project and it uses Scons to build the SW.
> On my PC I was using it for a long time. It worked just fine. Lately, some
> change has happened on my PC and now when I run Scons from Python and
> invoke os.system() it keeps failing. The error reported is somewhat
> cryptic: 'The system cannot find the path specified' error. Very annoying!
>
>
> For example, if the Python file invokes:
>
> os.system("scons --version")
>
>
> The output in DOS is:
>
> The system cannot find the path specified.
> SCons by Steven Knight et al.:
>         script: v2.2.0.issue-2856:2676:d23b7a2f45e8[MODIFIED], 2012/08/05
> 15:38:28, by garyo on oberbrunner-dev
>         engine: v2.2.0.issue-2856:2676:d23b7a2f45e8[MODIFIED], 2012/08/05
> 15:38:28, by garyo on oberbrunner-dev
>         engine path:
> ['C:\\Python27\\Scripts\\..\\Lib\\site-packages\\scons-2.2.0\\SCons']
> Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
> 2011, 2012 The SCons Foundation
>
> I am using Pyton 2.7.3 and Scons version 2.2.0. Anybody has any idea what
> path is in question and how to debug the problem? Help is very much
> appreciated.
>
>
> Regards,
>
> Zarko
>
>
>
> _______________________________________________
> 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/20160510/cf35fa3e/attachment.html>


More information about the Scons-users mailing list