Page 1 of 1

[0.17.0 - 0.17.2] Error on autosave: "Couldn't remove ..."

Posted: Tue Feb 26, 2019 6:46 pm
by NickKsh
Log in attachments
Image

Code: Select all

3433.576 Info AppManager.cpp:266: Saving to _autosave1 (blocking).
3434.181 Warning WriteFileGuard.cpp:57: Writing C:\Users\Tom\AppData\Roaming\Factorio\player-data.json failed; previous version (if any) should still be available
3434.182 Error FileUtil.cpp:401: Couldn't remove C:\Users\Tom\AppData\Roaming\Factorio\player-data.tmp.json: Неверная функция.

3434.182 Error PlayerData.cpp:318: Failed to save player data: Couldn't remove C:\Users\Tom\AppData\Roaming\Factorio\player-data.bak.json: Неверная функция.
.
3435.305 Warning WriteFileGuard.cpp:57: Writing C:\Users\Tom\AppData\Roaming\Factorio\saves\_autosave1.zip failed; previous version (if any) should still be available
3435.305 Error FileUtil.cpp:401: Couldn't remove C:\Users\Tom\AppData\Roaming\Factorio\saves\_autosave1.tmp.zip: Неверная функция.

3435.306 Error ParallelScenarioSaver.cpp:114: Saving scenario failed: Couldn't remove C:\Users\Tom\AppData\Roaming\Factorio\saves\_autosave1.bak.zip: Неверная функция.

P.S. Russian in log (Неверная функия) -- Invalid function

Re: [0.17.0] Error after autosave

Posted: Tue Feb 26, 2019 6:59 pm
by NickKsh
Save issue with a normal save now.
Can't save my game anymore :C

Edit: Can save if the save has different name

Re: [0.17.0 - 0.17.2] Error on autosave: "Couldn't remove ..."

Posted: Wed Feb 27, 2019 6:26 pm
by NickKsh
Still have this issue in 0.17.2
Image

Re: [0.17.0 - 0.17.2] Error on autosave: "Couldn't remove ..."

Posted: Thu Feb 28, 2019 4:25 am
by Rseding91
Thanks for the report - this is a duplicate of: viewtopic.php?f=23&t=65726

Something about your system is special in that the operating system rejects any attempts to remove files from directories the game should be able to remove files from. If you know what might be causing that please let us know.

Re: [0.17.0 - 0.17.2] Error on autosave: "Couldn't remove ..."

Posted: Thu Feb 28, 2019 9:49 am
by NickKsh
Rseding91 wrote:
Thu Feb 28, 2019 4:25 am
Thanks for the report - this is a duplicate of: viewtopic.php?f=23&t=65726

Something about your system is special in that the operating system rejects any attempts to remove files from directories the game should be able to remove files from. If you know what might be causing that please let us know.
My post was earlier than theirs, I'm not a dublicate :P
Just kidding.

Idk what's wrong with my os, a week before 0.17 I was playing 0.16 and everything was good.
Maybe there's some corruption after update from 0.16 with config files or something else.
I'll try reinstall my game completely after work. I hope this will fix it.

Re: [0.17.0 - 0.17.2] Error on autosave: "Couldn't remove ..."

Posted: Thu Feb 28, 2019 10:02 am
by Rseding91
Bug reports come and go quickly throughout the day/night and post creation order gets lost :P Which one gets marked as a duplicate doesn't really effect anything - it's just a way of handling the posts and getting them either solved or moved out of the main listing.

Re: [0.17.0 - 0.17.2] Error on autosave: "Couldn't remove ..."

Posted: Fri Mar 01, 2019 6:04 pm
by NickKsh
Alright. I did an expetiment.
Completely uninstall and install Steam version of Factorio 0.17.3 and deleted all AppData files.
Still have this issue.

After this I downgraded to a stable version 0.16.51
Everything works perfectly fine. Saves and ini files deleted/rewrites without any issue.
There's nothing that we've changed around this in 0.17 and nothing we can do to prevent the error.
I think you've accidentally broken sometihng in 0.17, and this is a bug. :P
Windows 10, 1607

Log file from 0.16.51 in attachments.

I hope you'll find what the problem is :D

PS. I'll dublicate this post in related post (viewtopic.php?f=23&t=65726) just in case. I'll continue following discussion there :P