error transferring map from windows to headless

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
batboy
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Dec 10, 2016 6:51 pm
Contact:

error transferring map from windows to headless

Post by batboy »

I'm running factorio 0.14.21 on both my windows machine and my headless ubuntu linux machine.

I started a multiplayer map hosting it on windows, then I tried to transfer it to linux and it won't start. It seems to have a problem with PrototypeMigrationList.cpp.

Can anyone offer any advice? We put a lot of work into this map, we don't want to have to restart.

I start factorio with this command:
./factorio/bin/x64/factorio --start_server plane3

Save is attached.

Log is:

Code: Select all

 0.000 2016-12-10 18:49:20; Factorio 0.14.21 (build 25327, linux64, headless)
   0.038 Operating system: Linux (Ubuntu 16.04)
   0.038 Program arguments: "./factorio/bin/x64/factorio" "--start-server" "plane3" 
   0.038 Read data path: /home/ubuntu/factorio/data
   0.038 Write data path: /home/ubuntu/factorio
   0.038 Binaries path: /home/ubuntu/factorio/bin
   0.047 System info: [CPU:       Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz, 1 core, RAM: 992MB]
   0.047 Running in headless mode
   0.049 Loading mod core 0.0.0 (data.lua)
   0.053 Loading mod base 0.14.21 (data.lua)
   0.134 Checksum for core: 1291735968
   0.135 Checksum for mod base: 786624017
   0.501 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1481395608
   0.501 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.502 Custom inputs active: 0
   0.503 Factorio initialised
   0.503 Warning FileUtil.cpp:490: plane3 not found; using /home/ubuntu/factorio/saves/plane3.zip
   0.504 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.504 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.504 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.508 Loading map /home/ubuntu/factorio/saves/plane3.zip
   0.536 Info Scenario.cpp:152: Map version 0.14.21-0
   0.544 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-01-09_Factorio_0.9.0.json
   0.544 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   0.544 Warning PrototypeMigrationList.cpp:152: "big-tree" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   0.544 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   0.544 Warning PrototypeMigrationList.cpp:152: "pump" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   0.544 Warning PrototypeMigrationList.cpp:152: "small-storage-tank" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   0.544 Info PrototypeMigrationList.cpp:87: Activating migration base/2014-03-17_Factorio_0.9.4.json
   0.544 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   0.544 Warning PrototypeMigrationList.cpp:152: "logistic-chest-provider" mentioned as FROM in prototype migration was not found in the map prototype dictionary, ignoring ...
   1.692 Applying migration: Base Mod: 2014-01-28_Factorio_0.9.0.lua
   1.695 Warning Scenario.cpp:227: 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)
   1.977 Error ServerMultiplayerManager.cpp:93: 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)"
   1.977 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
   1.997 Error Main.cpp:509: 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)
Attachments
plane3.zip
(7.52 MiB) Downloaded 76 times
Loewchen
Global Moderator
Global Moderator
Posts: 10262
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: error transferring map from windows to headless

Post by Loewchen »

Your save is fine, the installation of factorio is defect it seems, those migration files should not even be existing in 14.21 afaik. Simply install 14.21 new again and it should work fine.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: error transferring map from windows to headless

Post by daniel34 »

Loewchen wrote:Your save is fine, the installation of factorio is defect it seems, those migration files should not even be existing in 14.21 afaik. Simply install 14.21 new again and it should work fine.
Correct. Just delete the folder the factorio installation is in and re-download the headless version.
Related: viewtopic.php?f=11&t=29110

Although I'm wondering why you get this error at all, did you maybe not choose the headless version or did you have an older version of Factorio installed on the linux client?
quick links: log file | graphical issues | wiki
Post Reply

Return to “Technical Help”