[Scons-users] Visual Studio : The process cannot access the file because it is being used by another process: '.sconsign.dblite'
Bill Deegan
bill at baddogconsulting.com
Wed Feb 1 10:59:41 EST 2017
Yes.
Let SCons handle the parallel build.
On Tue, Jan 31, 2017 at 6:58 PM, Pierre-Luc Boily <pierreluc.boily at gmail.com
> wrote:
> Hello,
>
> I know that there is not much VS users, but I give a try. When I do a full
> build within visual studio, I often get following error at random : "The
> process cannot access the file because it is being used by another process:
> '.sconsign.dblite'"
>
> My theory is because Visual Studio launch 4 processes in parallel and it is
> not supported by SCons being called like that. I should instead compile
> one
> project at a time with -j4. Am I right?
>
> thx
>
> 7> WindowsError: [Error 32] The process cannot access the file because it
> is being used by another process: '.sconsign.dblite':
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\
> Script\Main.py",
> line 1346:
> 7> _exec_main(parser, values)
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\
> Script\Main.py",
> line 1309:
> 7> _main(parser)
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\
> Script\Main.py",
> line 1091:
> 7> nodes = _build_targets(fs, options, targets, target_top)
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\
> Script\Main.py",
> line 1283:
> 7> jobs.run(postfunc = jobs_postfunc)
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\Job.py", line
> 113:
> 7> postfunc()
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\
> Script\Main.py",
> line 1280:
> 7> SCons.SConsign.write()
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\SConsign.py",
> line 109:
> 7> syncmethod()
> 7> File "C:\Python27\Lib\site-packages\scons-2.5.1\SCons\dblite.py",
> line
> 129:
> 7> self._os_unlink(self._file_name)
> 7>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error
> MSB3073: The command "echo Starting SCons &&
> "C:\Python27\Scripts\..\python.exe" -c "from os.path import join; import
> sys; sys.path = [ join(sys.prefix, 'Lib', 'site-packages', 'scons-2.5.1'),
> join(sys.prefix, 'scons-2.5.1'), join(sys.prefix, 'Lib', 'site-packages',
> 'scons'), join(sys.prefix, 'scons') ] + sys.path; import SCons.Script;
> SCons.Script.main()" -C "C:\svn\products\faa_mx\sconsPLB4" -f SConstruct
> "C:\svn\products\faa_mx\sconsPLB4\build\debug\sr\
> speech\ASRNetworkLayer\common\win32\libsr_speech_
> ASRNetworkLayer_common-debug.lib""
> exited with code 2.
>
>
>
>
> --
> View this message in context: http://scons.1086193.n5.
> nabble.com/Visual-Studio-The-process-cannot-access-the-
> file-because-it-is-being-used-by-another-process-sconsig-tp40980.html
> Sent from the Users mailing list archive at Nabble.com.
> _______________________________________________
> 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/20170201/ba9bc3e1/attachment.html>
More information about the Scons-users
mailing list