Page 1 of 1

[Pending] Autosave failed due to locking

Posted: Sun Jul 10, 2016 5:39 pm
by iamwyza
This is something new in .13.6. Periodically autosave fails, not sure why since as far as i know, nothing other than factorio should be holding a lock on that file.
Capture.PNG
Capture.PNG (178.94 KiB) Viewed 1692 times

Re: Autosave failed due to locking

Posted: Sun Jul 10, 2016 6:56 pm
by steinio
Had this also recently but updating to 0.13.6 fixed it for me.

Do you have an anti-Virus, espacially Avast?

Re: Autosave failed due to locking

Posted: Sun Jul 10, 2016 7:06 pm
by TruePikachu
Possibly, an eventual fix for this could be to detect if the file got locked by some external process and indicate that in the Saving progress window ("Waiting for file access (antivirus?)...").

Re: Autosave failed due to locking

Posted: Sun Jul 10, 2016 8:03 pm
by iamwyza
It's possible it could be antivirus, but literally the only change was going from .5 to .6. Also, incidentally manually saving doesn't throw the error. (also the auto save does indeed save, but you still get that error)

Edit: this is the error from the log:

10004.283 Warning WriteFileGuard.cpp:26: Writing C:/Users\jonathon\Downloads\Factorio_x64_0.13.0\Factorio_0.13.0\saves\_autosave3.zip failed; previous version (if any) should still be available

Re: Autosave failed due to locking

Posted: Mon Jul 11, 2016 12:24 pm
by Oxyd
Can you reproduce this in .7?