smart_chat/lib.lua:152: attempt to concatenate local 'color' (a nil value) #1690
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/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/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
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#1690
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
2022-04-05 16:38:51: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_chat_message(): ...tlive/5.5.0/Minetest_live/bin/../mods/smart_chat/lib.lua:152: attempt to concatenate local 'color' (a nil value)
2022-04-05 16:38:51: ERROR[Main]: stack traceback:
2022-04-05 16:38:51: ERROR[Main]: ...tlive/5.5.0/Minetest_live/bin/../mods/smart_chat/lib.lua:152: in function 'channel_report'
2022-04-05 16:38:51: ERROR[Main]: .../5.5.0/Minetest_live/bin/../mods/smart_chat/cmd_move.lua:68: in function <.../5.5.0/Minetest_live/bin/../mods/smart_chat/cmd_move.lua:18>
2022-04-05 16:38:51: ERROR[Main]: ...tlive/5.5.0/Minetest_live/bin/../mods/smart_chat/lib.lua:33: in function 'check'
2022-04-05 16:38:51: ERROR[Main]: ...live/5.5.0/Minetest_live/bin/../mods/smart_chat/init.lua:146: in function 'func'
2022-04-05 16:38:51: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'func'
2022-04-05 16:38:51: ERROR[Main]: .../mtlive/5.5.0/Minetest_live/bin/../builtin/game/chat.lua:79: in function 'func'
2022-04-05 16:38:51: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-04-05 16:38:51: ERROR[Main]: ...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:425: in function <...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:409>
2022-04-06 00:05:21: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_chat_message(): ...tlive/5.5.0/Minetest_live/bin/../mods/smart_chat/lib.lua:152: attempt to concatenate local 'color' (a nil value)
2022-04-06 00:05:21: ERROR[Main]: stack traceback:
2022-04-06 00:05:21: ERROR[Main]: ...tlive/5.5.0/Minetest_live/bin/../mods/smart_chat/lib.lua:152: in function 'channel_report'
2022-04-06 00:05:21: ERROR[Main]: .../5.5.0/Minetest_live/bin/../mods/smart_chat/cmd_move.lua:68: in function <.../5.5.0/Minetest_live/bin/../mods/smart_chat/cmd_move.lua:18>
2022-04-06 00:05:21: ERROR[Main]: ...tlive/5.5.0/Minetest_live/bin/../mods/smart_chat/lib.lua:33: in function 'check'
2022-04-06 00:05:21: ERROR[Main]: ...live/5.5.0/Minetest_live/bin/../mods/smart_chat/init.lua:146: in function 'func'
2022-04-06 00:05:21: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'func'
2022-04-06 00:05:21: ERROR[Main]: .../mtlive/5.5.0/Minetest_live/bin/../builtin/game/chat.lua:79: in function 'func'
2022-04-06 00:05:21: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-04-06 00:05:21: ERROR[Main]: ...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:425: in function <...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:409>
After the first crash is circumvented, anotehr crahs follows. Line 162 is this:
minetest.log("action", "[MOD] " .. lib.modname .. " : Module lib: channel_report: " .. dump(channel) .. ": " .. message)
Crash 1 comes from this part:
Most likely this should have been
Crash 2 comes from this part:
No clue how it can be nil at this point. That's what the log said:
2022-04-06 00:17:50: ACTION[Server]: [MOD] smart_chat : Module lib: channel_report: nil: @#00FF00)*** @#FF6700)Service@#00FF00)@smart_chat) was moved from the channel. ***
2022-04-06 00:17:50: ACTION[Server]: [MOD] smart_chat : Module lib: channel_report: "admsdf": @#00FF00)*** @#FF6700)Service@#00FF00)@smart_chat) was moved into the channel by
@#FFFF00)AliasAlreadyTaken@#00FF00). ***
https://github.com/acmgit/smart_chat/issues/7
Solved upstream