[Scons-users] SCons freezes

Sven Lars Tobias Stål smp428 at alumni.ku.dk
Wed May 20 08:49:51 EDT 2015


Dear all, 

I suddenly get a problem. I’d be very grateful if anyone can point me in the right direction. 

I’ve been using SCons for some time now to build seismic work flows without any problems. Today I ran a rather long process and it ended with some kind of error. I checked my SConstruct, didn’t find any particular mistake. 

But now SCons doesn’t work as before. When I run one SConstruct, it reaches 'scons: done building targets.’ but then freeze. 

When I run the same SConstruct in another folder I get:

scons: done building targets.
DBPageNotFoundError: (-30986, 'DB_PAGE_NOTFOUND: Requested page not found'):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Script/Main.py", line 1372:
    _exec_main(parser, values)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Script/Main.py", line 1335:
    _main(parser)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Script/Main.py", line 1099:
    nodes = _build_targets(fs, options, targets, target_top)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Script/Main.py", line 1297:
    jobs.run(postfunc = jobs_postfunc)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Job.py", line 113:
    postfunc()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Script/Main.py", line 1294:
    SCons.SConsign.write()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/SConsign.py", line 102:
    sig_file.write(sync=0)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/SConsign.py", line 250:
    db[path] = pickle.dumps(self.entries, 1)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bsddb/__init__.py", line 279:
    _DeadlockWrap(wrapF)  # self.db[key] = value
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bsddb/dbutils.py", line 68:
    return function(*_args, **_kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bsddb/__init__.py", line 278:
    self.db[key] = value
Exception TypeError: "'NoneType' object is not callable" in  ignored 

And if I run SConstruct again, it builds the same files again. 

Best regards,
Sven


More information about the Scons-users mailing list