Error message: scons: warning: Ignoring missing SConscript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arthur Tinka
    New Member
    • Oct 2010
    • 1

    Error message: scons: warning: Ignoring missing SConscript

    Hello,

    Code:
    build_dir = build.build_dir
    if not isinstance(build, BuildTypes.DoxygenCoverage):
        # Build each component.
        for toplevel_dir in components:
            bld_dir = os.path.join(toplevel_dir, 'build', build_dir)
            if not os.path.exists(bld_dir):
                os.mkdir(bld_dir)
            script = os.path.join(toplevel_dir, 'SConscript')
            (test_logs, lib) = SConscript(script, src_dir=toplevel_dir, variant_dir=bld_dir,
                                          duplicate=0)
    building with scons..outcome is:

    scons: warning: Ignoring missing SConscript 'global/build/debug/SConscript'
    File "/Users/Arthur/chaste/SConstruct", line 369, in <module>
    TypeError: 'NoneType' object is not iterable:
    File "/Users/Arthur/chaste/SConstruct", line 369:
    duplicate=0)

    I have no idea what to do..can someone help?

    Arthur
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Whenever you encounter an error like this, strategically place print statements to see what values (if any) and value types are assigned to identifiers. In this case, I would guess that component is None.

    Comment

    Working...