Michael Tremer wrote:
Some issue with shutil when overwriting/renaming an existing .db-file. But updating w/o a .db-file works fine.
I cannot exactly decipher why Windows would complain here. We are replacing the file because we cannot change it when it is open using mmap(). Maybe Windows does not allow that?
It was Python's fault; 'os.chmod()' with those bits, made the file read-only. When I did this patch: + if sys.platform != "win32": os.chmod(t.name, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH)
it works fine.