Good afternoon all. I've used LTN for a long time and it's been rock solid, which is why I was surprised to see this error today (it's happened a number of times).
Error while running event LogisticTrainNetwork::on_nth_tick(1)
__LogisticTrainNetwork__/script/dispatcher.lua:323: attempt to concatenate field 'name' (a nil value)
stack traceback:
__LogisticTrainNetwork__/script/dispatcher.lua:323: in function 'getFreeTrain'
__LogisticTrainNetwork__/script/dispatcher.lua:502: in function 'ProcessRequest'
__LogisticTrainNetwork__/script/dispatcher.lua:98: in function <__LogisticTrainNetwork__/script/dispatcher.lua:20
Now, I have some work to do on my end - I'm playing with a very large number of stations via Creative mode (trying a new Pyanodon layout). So, this error might be caused by something I've done, but I thought I'd share it. More information as I have it.
*edit* Reverting to version 1.10.15 fixes the issue afaict.
[LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
Moderator: Optera
[LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
Last edited by Optera on Wed Oct 02, 2019 6:28 am, edited 1 time in total.
Reason: Updated title to include meaningful information
Reason: Updated title to include meaningful information
Re: Unrecoverable error in latest version
Please always include version and FULL logfiles in bug reports so I don't have to ask the following and can just start working on the reported bug.
Are using LTN 1.11.1 and have debug logging enabled?
Are using LTN 1.11.1 and have debug logging enabled?
My Mods: mods.factorio.com
Re: Unrecoverable error in latest version
Yes, I was using 1.11.1, but only notifications enabled. I reverted to the last version I had kicking around (1.10.15) and it's fixed the initial problem.
At some point tomorrow, I'll reinstate 1.11.1 and turn debug logging on, to see if that gives more information, which I will then share.
At some point tomorrow, I'll reinstate 1.11.1 and turn debug logging on, to see if that gives more information, which I will then share.
Re: [LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
Updated the title to include useful information.
I can't figure out how you managed to get this error.
1) Line 323 can only be executed with debug logging enabled
https://github.com/Yousei9/Logistic-Tra ... r.lua#L323
2) Even with a cached force having a valid name reference containing a nil value should be impossible.
Update: Please attach the save file producing this error.
I can't figure out how you managed to get this error.
1) Line 323 can only be executed with debug logging enabled
https://github.com/Yousei9/Logistic-Tra ... r.lua#L323
2) Even with a cached force having a valid name reference containing a nil value should be impossible.
Update: Please attach the save file producing this error.
My Mods: mods.factorio.com
Re: [LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
An overnight run has failed to reproduce the bug. Suggest we put it down to an Act of God.
-
- Manual Inserter
- Posts: 1
- Joined: Thu Oct 17, 2019 9:55 pm
- Contact:
Re: [LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
For what it's worth, I got the same error using factorio 0.17.69 & ltn 0.11.2 (4 times already today)
12519.066 Error MainLoop.cpp:1195: Exception at tick 32792384: The mod LTN - Logistic Train Network caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LogisticTrainNetwork::on_nth_tick(2)
__LogisticTrainNetwork__/script/dispatcher.lua:325: attempt to concatenate field 'name' (a nil value)
stack traceback:
__LogisticTrainNetwork__/script/dispatcher.lua:325: in function 'getFreeTrain'
__LogisticTrainNetwork__/script/dispatcher.lua:504: in function 'ProcessRequest'
__LogisticTrainNetwork__/script/dispatcher.lua:98: in function <__LogisticTrainNetwork__/script/dispatcher.lua:20
For the moment, I will disable debug.
12519.066 Error MainLoop.cpp:1195: Exception at tick 32792384: The mod LTN - Logistic Train Network caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LogisticTrainNetwork::on_nth_tick(2)
__LogisticTrainNetwork__/script/dispatcher.lua:325: attempt to concatenate field 'name' (a nil value)
stack traceback:
__LogisticTrainNetwork__/script/dispatcher.lua:325: in function 'getFreeTrain'
__LogisticTrainNetwork__/script/dispatcher.lua:504: in function 'ProcessRequest'
__LogisticTrainNetwork__/script/dispatcher.lua:98: in function <__LogisticTrainNetwork__/script/dispatcher.lua:20
For the moment, I will disable debug.
Re: [LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
Again, I can't do anything about it without having a save where this happens reproducible to check how the array looks internally.
PS: Debug logging should only be enabled when I ask you to do so for bug reports. It takes a lot of performance to write that high verbosity.
PS: Debug logging should only be enabled when I ask you to do so for bug reports. It takes a lot of performance to write that high verbosity.
My Mods: mods.factorio.com
Re: [LTN 1.11.1] dispatcher.lua:323: attempt to concatenate field 'name'
Hi i, just run same issue
here link for debug log and my save file
https://www.dropbox.com/sh/q2tc28p0luro ... Cy_Oa?dl=0
if you try my file, just wait and error will occur
using LTN [1.11.6] , thanks
here link for debug log and my save file
https://www.dropbox.com/sh/q2tc28p0luro ... Cy_Oa?dl=0
if you try my file, just wait and error will occur
using LTN [1.11.6] , thanks