MoreMesecons/moremesecons_entity_detector/init.lua:68: bad argument #2 to 'set_string' (string expected, got table) #7743
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/petz
3. source/testserver
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/possible close
4. step/QA main
4. step/QA NOK
4. step/QA OK
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
kind/standalone
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#7743
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2024-11-28 14:15:59: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mesecons' in callback environment_Step(): .../mods/MoreMesecons/moremesecons_entity_detector/init.lua:68: bad argument #2 to 'set_string' (string expected, got table)
2024-11-28 14:15:59: ERROR[Main]: stack traceback:
2024-11-28 14:15:59: ERROR[Main]: [C]: in function 'set_string'
2024-11-28 14:15:59: ERROR[Main]: .../mods/MoreMesecons/moremesecons_entity_detector/init.lua:68: in function 'action'
2024-11-28 14:15:59: ERROR[Main]: .../5.10.0/Yourland_main/bin/../mods/digilines/internal.lua:106: in function 'transmit'
2024-11-28 14:15:59: ERROR[Main]: ...e/mt/5.10.0/Yourland_main/bin/../mods/digilines/init.lua:60: in function 'receptor_send'
2024-11-28 14:15:59: ERROR[Main]: ....10.0/Yourland_main/bin/../mods/digistuff/ioexpander.lua:68: in function 'ioexp_digiline_send'
2024-11-28 14:15:59: ERROR[Main]: ....10.0/Yourland_main/bin/../mods/digistuff/ioexpander.lua:103: in function 'action_change'
2024-11-28 14:15:59: ERROR[Main]: ...Yourland_main/bin/../mods/mesecons/mesecons/internal.lua:230: in function <...Yourland_main/bin/../mods/mesecons/mesecons/internal.lua:223>
2024-11-28 14:15:59: ERROR[Main]: ...rland_main/bin/../mods/mesecons/mesecons/actionqueue.lua:131: in function 'old_execute'
2024-11-28 14:15:59: ERROR[Main]: .../bin/../mods/mesecons_debug/overrides/mesecons_queue.lua:27: in function 'execute'
2024-11-28 14:15:59: ERROR[Main]: ...rland_main/bin/../mods/mesecons/mesecons/actionqueue.lua:121: in function 'func'
2024-11-28 14:15:59: ERROR[Main]: ...ourland_main/bin/../builtin/profiler/instrumentation.lua:124: in function <...ourland_main/bin/../builtin/profiler/instrumentation.lua:117>
2024-11-28 14:15:59: ERROR[Main]: .../5.10.0/Yourland_main/bin/../builtin/common/register.lua:26: in function <.../5.10.0/Yourland_main/bin/../builtin/common/register.lua:12>
This is the results:
I was able to trigger it on the test server by sneaking and placing a digilines I/O expander against an entity detector, near my snake farm.
Using same modset, I have no issue on 5.8.0 and crash on 5.10.0 and 5.9.1.
I also tried disabling
mesecons_debug- same crash.The difference is in handling of incorrect arguments in case of
meta:set_tring("key", {})- it silently unsets the key on 5.8 and errors on 5.9+Upstream issue moremesecons:
Repro:
"kaputt"to entity_detectordigiline_send("kaputt",{})This doesn't happen in 5.8.0, only in 5.9.1 and 5.10.0 and 5.11.0-dev
The difference is in handling of incorrect arguments in case of
meta:set_string("key", {})- it silently unsets the key on 5.8 and errors on 5.9+Please add a type check
Upstream issue https://github.com/minetest-mods/MoreMesecons/issues/38
also affected:
digiline_send("kaputt",{scanname = {}}))digiline_send("kaputt",{}))Upstream issue mesecons:
Repro:
"kaputt"to object_detectordigiline_send("kaputt",{})This doesn't happen in 5.8.0, only in 5.9.1 and 5.10.0 and 5.11.0-dev
The difference is in handling of incorrect arguments in case of
meta:set_string("key", {})- it silently unsets the key on 5.8 and errors on 5.9+Please add a type check
Upstream issue: https://github.com/minetest-mods/mesecons/issues/691
https://github.com/minetest-mods/MoreMesecons/pull/39
MoreMesecons pr merged, mesecons also pushed a fix :-)
I think this could be closed