[Scons-users] SCons freezes
Sven Lars Tobias Stål
smp428 at alumni.ku.dk
Wed May 20 17:28:55 EDT 2015
It’s a very good question, but yes, I did...
I also reinstalled SCons 2.3.3, twice.
What confuses me is that this problem just occurred. As mentioned it might have been related to that I forgot that a slow build was going on in the background and I started it again, I’m not sure. When I got back the build had stopped, I restarted, checked my SContruct file, reinstalled 2.3.3. Installed 2.3.4, and now again 2.3.3.
I’m grateful for any advice, I’d be happy to admit a stupid mistake just to get it to work.
Tobbe
On 20 May 2015, at 22:59 , Vasily <just.one.man at yandex.ru<mailto:just.one.man at yandex.ru>> wrote:
This might be rather strange question, but did you tried rebooting your machine?.. Maybe some resource was taken and not freed...
Thanks,
Vasily
2015-05-20 21:01 GMT+03:00 Sven Lars Tobias Stål <smp428 at alumni.ku.dk<mailto:smp428 at alumni.ku.dk>>:
Usually not and not by purpose, but it might actually have happen before the first crash.
Tobbe
On 20 May 2015, at 19:45 , Bill Deegan <bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>> wrote:
Are you running multiple instances of SCons against the same SConstruct at the same time (in the same base directory)?
-Bill
On Wed, May 20, 2015 at 10:02 AM, Sven Lars Tobias Stål <smp428 at alumni.ku.dk<mailto:smp428 at alumni.ku.dk>> wrote:
Thank you for your advice!
That sounded like a plausible solution, but unfortunately it didn’t help. I should also clarify that no build works anymore, or rather, everything freezes in the end or give the error report about DB_PAGE NOTFOUND. I need to rebuild every time I run.
I’ve tried to reinstall and starting with new SConstruct files but the problem stays.
I grateful for any advice of how I can continue, I’ve only used SCons in this limited way, so I don’t know much about the construction tool works.
I’m on Mac OS 10.9.5
Best regards,
Tobbe
On 20 May 2015, at 15:40 , Gary Oberbrunner <garyo at oberbrunner.com<mailto:garyo at oberbrunner.com>> wrote:
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<mailto: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<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
--
Gary
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto:Scons-users at scons.org>
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto: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/20150520/4dbdeadc/attachment.html>
More information about the Scons-users
mailing list