[Scons-users] SCons freezes
Gary Oberbrunner
garyo at oberbrunner.com
Wed May 20 09:40:56 EDT 2015
This is related to the .sconsign.dblite file I think, where SCons records
the build signatures from previous builds. Could be a permissions issue or
file corruption due to the previous error. I recommend deleting that file,
which will cause a complete rebuild, and then you should be OK.
On Wed, May 20, 2015 at 8:49 AM, Sven Lars Tobias Stål <smp428 at alumni.ku.dk>
wrote:
> 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
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150520/1f855714/attachment-0001.html>
More information about the Scons-users
mailing list