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

[Internal Lua error: Call failure] - [string "LuaRules/Gadgets/unit_target_on_the_move.lua"]:822 #4167

Closed
rekterakathom opened this issue Jan 12, 2025 · 1 comment
Labels
Bug Something isn't working

Comments

@rekterakathom
Copy link

Description

When opening a specific replay from an older game version, the following error is spammed into the log:
Error: [LuaRules::RunCallInTraceback] error=2 (LUA_ERRRUN) callin=DrawWorld trace=[Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_target_on_the_move.lua"]:822: attempt to call global 'drawDecoratons' (a nil value)

Does not happen with all replays from older versions, this is the only replay I've seen with this problem.

Expected Behaviour

No error should be thrown.

Actual Behaviour

The error is spammed into the logs and shown on the screen for the whole replay duration.

Reproduction steps

Download the following zip and view the replay contained inside: BAR_report_1.zip

The error should be visible on screen from the very start of the replay.

Also contained is a log filled with the error.

Other

No response

@rekterakathom rekterakathom added the Bug Something isn't working label Jan 12, 2025
@saurtron
Copy link
Collaborator

Was already fixed at 7f00a0d (#3932), but can't do much with the replay since the lua code is included inside.

The error was there for just a few hours, but it impacted your replay.

Sorry about that (was my fault).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants