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

Non-recoverable error/crash #3

Open
jenden0 opened this issue Jan 18, 2022 · 0 comments
Open

Non-recoverable error/crash #3

jenden0 opened this issue Jan 18, 2022 · 0 comments

Comments

@jenden0
Copy link

jenden0 commented Jan 18, 2022

When trying to copy/paste a particular train provider station I'm getting a crash from Bot Prioritizer. Stack trace is

Error while running event BotPrioritizer::on_tick (ID 0)
Expected source_wire_id for entities with more than one wire connection.
stack traceback:
[C]: in function 'connect_neighbour'
BotPrioritizer/circuit_manager.lua:16: in function 'copy_circuit_connections'
BotPrioritizer/control.lua:40: in function 'reprioritize'
BotPrioritizer/control.lua:163: in function 'no_tool'
BotPrioritizer/control.lua:209: in function <BotPrioritizer/control.lua:200>

Blueprint causing the crash is at https://pastebin.com/F6zPKKuB

I believe the issue in particular is being caused by an electric pole or power switch with a cable connection to another entity outside of connection range. Specifically removing the two big electric poles and the power switch between them from the blueprint is sufficient to prevent the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant