[Scons-users] SCons freezes

Bill Deegan bill at baddogconsulting.com
Wed May 20 13:45:31 EDT 2015


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
> 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>
> 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> 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
>  _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
>
> _______________________________________________
> Scons-users mailing list
> 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/2a77b3db/attachment-0001.html>


More information about the Scons-users mailing list