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

Zarko Coklin zcoklin at hotmail.com
Tue May 10 16:07:55 EDT 2016


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160510/4f62dd82/attachment-0001.html>


More information about the Scons-users mailing list