Page 1 of 1

[Update] [Twinsen] "Error when opening"

Posted: Fri Sep 16, 2016 7:14 am
by cva
Hi,
when I try to update Factorio I got this error:
FactoUpdateError.PNG
FactoUpdateError.PNG (6.63 KiB) Viewed 2746 times
When I look in the directory the file "Builtin-Types.html" is missing.
The "Permission denied" error is strange, I'm able to create files inside this folder with the explorer.

Also, after I restart the game (it was not automatically restarted), It's showed as Updated to 0.14.7. Do I have a corrupt game now?
16.158 Loading sounds...
18.341 Custom inputs active: 0
18.607 Factorio initialized
71.590 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-availa ... iVersion=2
72.592 2 packages available to download (experimental updates enabled).
74.926 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-downlo ... iVersion=2
75.699 Info Updater.cpp:232: Downloading http://eu3.factorio.com/updates/core-wi ... 1474008792 to D:\Spiele\Factorio_latest\temp\core-win64-0.14.5-0.14.6-update.zip
101.569 Info Updater.cpp:243: => 200
107.059 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-downlo ... iVersion=2
107.293 Info Updater.cpp:232: Downloading http://eu3.factorio.com/updates/core-wi ... 1474008823 to D:\Spiele\Factorio_latest\temp\core-win64-0.14.6-0.14.7-update.zip
126.335 Info Updater.cpp:243: => 200
127.091 Goodbye
0.000 2016-09-16 08:53:55; Factorio 0.14.5 (build 24594, win64, alpha)
0.001 Operating system: Windows 10
0.001 Not rotating logs.
0.001 Info Updater-win32.cpp:129: Starting updater
0.001 Info Updater.cpp:388: Applying update D:\Spiele\Factorio_latest\temp\core-win64-0.14.5-0.14.6-update.zip
5.764 Info Updater.cpp:388: Applying update D:\Spiele\Factorio_latest\temp\core-win64-0.14.6-0.14.7-update.zip
10.179 Error Updater-win32.cpp:152: Error when opening D:\Spiele\Factorio_latest\data\..\doc-html\Builtin-Types.html for writing: Permission denied
10.179 Error Util.cpp:57: Error when opening D:\Spiele\Factorio_latest\data\..\doc-html\Builtin-Types.html for writing: Permission denied
45.179 Goodbye
I've attached a list of all files of my Factorio folder.

cva

Re: [Update] "Error when opening"

Posted: Fri Sep 16, 2016 8:01 am
by Loewchen
Please post the complete log.

Re: [Update] "Error when opening"

Posted: Fri Sep 16, 2016 8:32 am
by cva
See Attachment

Re: [Update] [Twinsen] "Error when opening"

Posted: Tue Sep 20, 2016 2:18 pm
by Twinsen
3 files seem to have mysteriously disappeared from your doc-html folder.

Your game can not be updated so you will have to manually get the latest version from the website.

Without a way of reproducing the problem I'm afraid I don't know what really happened. It looks like a hard drive problem.

Re: [Update] [Twinsen] "Error when opening"

Posted: Tue Sep 20, 2016 3:47 pm
by cva
Error when opening D:\Spiele\Factorio_latest\data\..\doc-html\Builtin-Types.html for writing: Permission denied
Any reason why opening causing a "Permission denied" error when there is no file? Does the updater check if the file exist before opening or result each failure in a "Permission denied"?

cva

PS: For future users who see this error, is there anything, that could help you to identify it?

Edit: Just to note, "chkdsk" does not find an error. But maybe the files got deleted by another program....

Re: [Update] [Twinsen] "Error when opening"

Posted: Wed Sep 21, 2016 1:10 pm
by Twinsen
Deleting the files prior to the update gives the correct error message, so I don't understand why the "Permission denied" error appeared and the file disappeared.