[0.13.9] [Pending] Import savegame

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Androkai
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Oct 31, 2014 5:20 pm
Contact:

[0.13.9] [Pending] Import savegame

Post by Androkai »

I want to import a savegame from my Windows-PC to host it with a headless server. Then starting the savegame it crashs with this output:

Code: Select all

   2.004 Loading map ../../saves/xxxxx.zip
   2.017 Info Scenario.cpp:127: Map version 0.13.8-1
   2.020 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-01-09_Factorio_0.9.0.json
   2.020 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "big-tree" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-03-17_Factorio_0.9.4.json
   2.020 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.020 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   2.942 Applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua
   2.943 Warning Scenario.cpp:202: Map loading failed during migrations processing: Error while applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua

Cannot execute command. Error: [string "if game.is_demo() then..."]:5: attempt to index field 'player' (a nil value)
   3.208 Error MultiplayerManager.cpp:129: MultiplayerManager failed: "Error while applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua

Cannot execute command. Error: [string "if game.is_demo() then..."]:5: attempt to index field 'player' (a nil value)"
   3.208 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
   3.208 Error Main.cpp:417: Couldn't load the game for MP: Error while applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua

Cannot execute command. Error: [string "if game.is_demo() then..."]:5: attempt to index field 'player' (a nil value)
I expected the problem also with previous versions of 0.13.x

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5151
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.13.9] Import savegame

Post by Klonan »

You're trying to migrate a game from 0.9.0 to 0.13?

You will need to first migrate it to 0.11, and then from 0.11 to 0.13 :)

User avatar
Androkai
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Oct 31, 2014 5:20 pm
Contact:

Re: [0.13.9] Import savegame

Post by Androkai »

No. It's a fresh 0.13.x map I played with 0.13.8 today.

Edit: Like you can see in the log

Code: Select all

2.017 Info Scenario.cpp:127: Map version 0.13.8-1
Edit2: The map was original created with an 0.13.6 Linux headless server and updated till version 0.13.8. Now I uploaded the autosave (created with my Windows-full-version of Factorio) to another 0.13.9 Linux headless server to load it which shows the given error. I also expected the problem with version 0.13.3 (server and client) but had no time to report it.

Edit3: The savegame: https://www.dropbox.com/s/5zn45pj4ag748 ... 1.zip?dl=0

Rseding91
Factorio Staff
Factorio Staff
Posts: 13232
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.9] [Pending] Import savegame

Post by Rseding91 »

Why does your server have "2014-01-09_Factorio_0.9.0.json"? That's a looong since deleted migration script that shouldn't be on the server.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Androkai
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Oct 31, 2014 5:20 pm
Contact:

Re: [0.13.9] [Pending] Import savegame

Post by Androkai »

Rseding91 wrote:Why does your server have "2014-01-09_Factorio_0.9.0.json"? That's a looong since deleted migration script that shouldn't be on the server.
The server was used for a long time and only updated every time. Seems like old files in data-folder produce this problem. Did a fresh install -> works now. Thx, problem solved.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.13.9] [Pending] Import savegame

Post by daniel34 »

Rseding91 wrote:Why does your server have "2014-01-09_Factorio_0.9.0.json"? That's a looong since deleted migration script that shouldn't be on the server.
This migration script is included in 0.12.35 (current stable).

Related:
viewtopic.php?f=35&t=27992 (Kajanor had the migration files in the Steam directory for some reason, the video is not available anymore but it showed that error when loading the save)
viewtopic.php?f=49&t=28000 (same error, as client)
quick links: log file | graphical issues | wiki

Post Reply

Return to “Resolved Problems and Bugs”