Page 1 of 1

[0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 12:32 am
by internetrush

Code: Select all

   0.001 2015-07-20 19:21:27; Factorio 0.11.22 (Build 14011, win64)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Read data path: C:/Program Files/Factorio/data
   0.001 Write data path: C:/Users/Internetrush/AppData/Roaming/Factorio
   0.001 Binaries path: C:/Program Files/Factorio/bin
   0.072 Initialised video: NVIDIA GeForce GTX 480
   0.119 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all]
   0.198 Loading mod core 0.0.0 (data.lua)
   0.213 Loading mod base 0.11.22 (data.lua)
   0.459 Loading mod base 0.11.22 (data-updates.lua)
   1.164 Initial atlas bitmap size is 16384
   1.167 Created atlas bitmap 16384x6555
  11.343 Info Updater.cpp:717: Downloading https://www.factorio.com/updater/get-available-versions?username=internetrush1&token=<private>&apiVersion=2
  11.763 1 packages available to download (experimental updates enabled).
  11.813 Factorio initialised
  49.722 Info Updater.cpp:717: Downloading https://www.factorio.com/updater/get-download-link?username=internetrush1&token=<private>&package=core-win64&from=0.11.22&to=0.12.0&isTarget=true&apiVersion=2
  50.028 Info Updater.cpp:198: Downloading https://us3.factorio.com/updates/core-win64-0.11.22-0.12.0-update.zip?key=sMnXUWrxfdw-ZRYZVa1b2g&expires=1437438144 to C:/Users\Internetrush\AppData\Roaming\Factorio\temp\core-win64-0.11.22-0.12.0-update.zip
 406.830 Info Updater.cpp:209:  => 200
 421.956 Error Util.cpp:43: Error when opening C:/Program Files\Factorio\data/../tests/run-tests-x64.bat for reading: No such file or directory

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 12:36 am
by internetrush
Think its this line of JSON in the info json file:
{
"file": "__PATH__read-data__\/..\/tests\/run-tests-x64.bat",
"action": "differs",
"old_crc": "3143058977",
"crc": "1261141452"
},

Just a wild guess though.

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 12:47 am
by internetrush
Copied the tests from %appdata% where the zip is extrated to C:\Program Files\Factorio\tests:

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 1:01 am
by internetrush
uninstalled and deleted directory, base .12 download works fine.

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 7:05 am
by BrickVoidFCT
I'm getting the same requester when I go to update Factorio. I hope the devs are fixing their autopatcher, as I really don't like messing around in unfamiliar software installers or their components.

Cheers ...

BrickVoid

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 7:16 am
by yeganer
It's a known problem that the autopatcher failed and the workaround so far is to uninstall the game and reinstall or to just download the zip archive and replace the old install and all files with the ones from the zip archive.
Autoupdating might be fixed with 0.12.1 but who knows

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 8:52 am
by posila
Thanks for the report.
I just tested updating from fresh install of 0.11.22 to 0.12 and it worked fine. I don't know why you were missing tests folder in your Factorio directory. I am glad you solved it.

For anyone who has problem with update - uninstalling and dowloading new version from website is the only solution. But let us know that you had problem with updating, so we know how widespread the issue is.

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Jul 21, 2015 7:50 pm
by BrickVoidFCT
posila wrote:Thanks for the report.
I just tested updating from fresh install of 0.11.22 to 0.12 and it worked fine. I don't know why you were missing tests folder in your Factorio directory. I am glad you solved it.

For anyone who has problem with update - uninstalling and dowloading new version from website is the only solution. But let us know that you had problem with updating, so we know how widespread the issue is.
Thanks! That did indeed fix my problem, as if you download the updater from the website, it will automatically uninstall the previous version of Factorio you may have installed on your system, and install the new version.

I think there should be some sort of automated feedback report so that, for instance, if the automatic updater encounters a problem it should automatically file a report to the Factorio devs so they could fix it, where possible, without people making errors reporting what they think is the problem, or in the case of more severe errors, tell the user they need to check or update something on their system. Perhaps I'll find where to post that if I get the time, I'm usually too busy playing Factorio! :D

Cheers ...

BrickVoid

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Wed Jul 22, 2015 12:03 am
by internetrush
posila wrote:Thanks for the report.
I just tested updating from fresh install of 0.11.22 to 0.12 and it worked fine. I don't know why you were missing tests folder in your Factorio directory. I am glad you solved it.

For anyone who has problem with update - uninstalling and dowloading new version from website is the only solution. But let us know that you had problem with updating, so we know how widespread the issue is.

Yea ive been playing for a while now (before the auto-patcher came out) so might have just been a fluke because of the older file base.

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Thu Jul 23, 2015 6:42 am
by Acius
I had this problem as well ("Error when opening C:/Program Files\Factorio\data/../tests/run-tests-x64.bat for reading: No such file or directory"). That tests/ directory exists, but there is no batch file in that directory. Actually, there are no files at all, just an x64/ directory (and that's it).

I think I will have to download a fresh install then.

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Fri Jul 24, 2015 8:11 pm
by Chi
I have exactly the same problem!
Image

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Wed Jul 29, 2015 4:03 pm
by kovarex
That was a bug that we hope to fix in the next versions.

Re: [0.12] Updating to .12 from .11.22 - Cannot run Auto-Updater

Posted: Tue Sep 22, 2015 3:02 am
by Paul
posila wrote:Thanks for the report.
I just tested updating from fresh install of 0.11.22 to 0.12 and it worked fine. I don't know why you were missing tests folder in your Factorio directory. I am glad you solved it.

For anyone who has problem with update - uninstalling and dowloading new version from website is the only solution. But let us know that you had problem with updating, so we know how widespread the issue is.
I haven't played for a long time and it upgraded just fine every other time

This time I get this error going from 0.11.20 to 0.12.8