Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factorio throws up an error when migrating old save files. #39807

Closed
seanparsons opened this issue May 1, 2018 · 3 comments
Closed

Factorio throws up an error when migrating old save files. #39807

seanparsons opened this issue May 1, 2018 · 3 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@seanparsons
Copy link
Contributor

Issue description

When loading a save game from 0.15.34, Factorio runs a migration script, but in the process that craps out with the following error:

 311.186 Loading Level.dat: 17214142 bytes.
 311.193 Info Scenario.cpp:136: Map version 0.15.34-0
 311.197 Info PrototypeMigrationList.cpp:61: Activating migration base/2017-12-03_Factorio_0.16.0.json
 312.348 Applying migration: Base Mod: 2017-08-08_Factorio_0.16.0.lua
 312.352 Applying migration: Base Mod: 2017-11-07_Factorio_0.16.0.lua
 312.358 Applying migration: Base Mod: 2018-01-09_Factorio_0.16.15.lua
 312.359 Warning Scenario.cpp:221: Map loading failed during migrations processing: Error while applying migration: Base Mod: 2018-01-09_Factorio_0.16.15.lua

Error while running reload_script: filesystem error: copy_file "/nix/store/9pyjc84qfx3say7wzwp5q9yjcpfwwb58-factorio-alpha-0.16.36/share/factorio/data/base/scenarios/freeplay/control.lua" to "/home/sean/.factorio/temp/currently-playing/control.lua" failed: Permission denied [/nix/store/9pyjc84qfx3say7wzwp5q9yjcpfwwb58-factorio-alpha-0.16.36/share/factorio/data/base/scenarios/freeplay/control.lua] [/home/sean/.factorio/temp/currently-playing/control.lua]
stack traceback:
        __base__/migrations/2018-01-09_Factorio_0.16.15.lua:1: in main chun
 312.448 Error AppManagerStates.cpp:1304: Error while applying migration: Base Mod: 2018-01-09_Factorio_0.16.15.lua

Error while running reload_script: filesystem error: copy_file "/nix/store/9pyjc84qfx3say7wzwp5q9yjcpfwwb58-factorio-alpha-0.16.36/share/factorio/data/base/scenarios/freeplay/control.lua" to "/home/sean/.factorio/temp/currently-playing/control.lua" failed: Permission denied [/nix/store/9pyjc84qfx3say7wzwp5q9yjcpfwwb58-factorio-alpha-0.16.36/share/factorio/data/base/scenarios/freeplay/control.lua] [/home/sean/.factorio/temp/currently-playing/control.lua]
stack traceback:
        __base__/migrations/2018-01-09_Factorio_0.16.15.lua:1: in main chunk

Steps to reproduce

Run Factorio and load a save game produced with an earlier version of the game.

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.36, NixOS, 18.03.132155.b50443b5c4a (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.1`
 - channels(root): `"nixos-18.03.132155.b50443b5c4a"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
@nyanloutre
Copy link
Member

nyanloutre commented Jan 28, 2019

Get the same when adding new mods to an existing save

Logs:
factorio-previous.log

Migrating with steam version and replacing the save on the server is working

@stale
Copy link

stale bot commented Jun 3, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2020
@raspher
Copy link
Member

raspher commented Feb 21, 2024

4 years from last update in topic, issue is 6 years old. I'm closing as stale, feel free to reopen if it's still relevant.

@raspher raspher closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

3 participants