[0.17.32] Basic logistic system tutorial crashes after finished loading

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
promarbler
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Feb 01, 2019 8:51 pm
Contact:

[0.17.32] Basic logistic system tutorial crashes after finished loading

Post by promarbler »

Problem occurs after loading the "Basic logistic system" tutorial from within a freeplay game. The tutorial animates its setup and displays the top-left message, then immediately displays a message about a "non-recoverable error". Obviously the tutorial is supposed to run without error.

The message:

Code: Select all

 251.834 Supending game state
 251.834 Entering tutorial: [base]logistic-system-basic
 252.561 Loading level.dat: 564571 bytes.
 252.562 Info Scenario.cpp:161: Map version 0.17.32-1
 253.144 Checksum for script ...factorio/temp/currently-playing-tutorial/control.lua: 4210631720
 253.145 Applying migration: Base Mod: 2018-08-03_Factorio_0.17.0.lua
 253.199 Applying migration: Base Mod: 2018-10-25_Factorio_0.17.0.lua
 259.553 Error MainLoop.cpp:1166: Exception at tick 758: The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_tick (ID 0)
Callable only on entities that have request slots.
stack traceback:
	...factorio/temp/currently-playing-tutorial/control.lua:145: in function 'init'
	...factorio/data/core/lualib/story.lua:66: in function 'story_update'
	...factorio/temp/currently-playing-tutorial/control.lua:590: in function <...factorio/temp/currently-playing-tutorial/control.lua:583>
stack traceback:
	[C]: in function 'set_request_slot'
	...factorio/temp/currently-playing-tutorial/control.lua:145: in function 'init'
	...factorio/data/core/lualib/story.lua:66: in function 'story_update'
	...factorio/temp/currently-playing-tutorial/control.lua:590: in function <...factorio/temp/currently-playing-tutorial/control.lua:583
 721.726 Resuming game state



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

Re: [0.17.32] Basic logistic system tutorial crashes after finished loading

Post by Klonan »

I can't reproduce the problem, it loads and runs just fine for me

Do you have any mods installed? Can you provide the full log?

promarbler
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Feb 01, 2019 8:51 pm
Contact:

Re: [0.17.32] Basic logistic system tutorial crashes after finished loading

Post by promarbler »

No mods, though two incompatible ones that were active in 0.16 were checked. I unchecked them; issue persists.

I created a new world just to see if there was something save-specific, but the problem still persists.

The other tutorials load fine.

I have attached a log with my efforts.
Attachments
apr18-2019-bugreport-logistictutcrash.txt
(23.87 KiB) Downloaded 100 times

promarbler
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Feb 01, 2019 8:51 pm
Contact:

Re: [0.17.32] Basic logistic system tutorial crashes after finished loading

Post by promarbler »

So I tested my issue on a very fresh Factorio install and didn't trigger the problem. However, of the file differences between copies, I found two files that would recreate the issue. The files 2018-08-03_Factorio_0.17.0.lua and 2018-10-25_Factorio_0.17.0.lua, both dated late February and located in data/base/migrations, would cause the issue to appear in the fresh game copy. Removing both files resolves the issue.

Both files have the exact same content, which is as follows:

Code: Select all

for k, force in pairs (game.forces) do
  force.reset_technology_effects()
end

Post Reply

Return to “1 / 0 magic”