Testserver crash builtin/common/misc_helpers.lua:622: attempt to concatenate a nil value #4011

Closed
opened 2023-03-16 19:15:14 +00:00 by AliasAlreadyTaken · 5 comments
2023-03-16 16:32:55: ACTION[Server]: /protect invoked, owner=upie AreaName=temp6 StartPos=(3488,-3185,463) EndPos=(3539,-3139,511)
2023-03-16 16:32:55: ACTION[Main]: Server: Shutting down
2023-03-16 16:32:55: ACTION[Server]: [MOD] smart_chat : Module core: *** leaves the World.
2023-03-16 16:32:55: ACTION[Server]: AliasAlreadyTaken leaves game. List of players: 
2023-03-16 16:32:55: ACTION[Server]: [MOD] smart_chat : Module core: *** leaves the World.
2023-03-16 16:32:55: ACTION[Server]: upie leaves game. List of players: 
2023-03-16 16:32:59: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_chat_message(): ...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:622: attempt to concatenate a nil value
2023-03-16 16:32:59: ERROR[Main]: stack traceback:
2023-03-16 16:32:59: ERROR[Main]: 	...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:622: in function <...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:609>
2023-03-16 16:32:59: ERROR[Main]: 	[C]: in function 'gsub'
2023-03-16 16:32:59: ERROR[Main]: 	...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:609: in function 'S'
2023-03-16 16:32:59: ERROR[Main]: 	...t/5.6.1/Minetest_test/bin/../mods/areas/chatcommands.lua:23: in function 'func'
2023-03-16 16:32:59: ERROR[Main]: 	/home/mt/5.6.1/Minetest_test/bin/../builtin/game/chat.lua:79: in function </home/mt/5.6.1/Minetest_test/bin/../builtin/game/chat.lua:52>
2023-03-16 16:32:59: ERROR[Main]: 	.../mt/5.6.1/Minetest_test/bin/../builtin/game/register.lua:432: in function <.../mt/5.6.1/Minetest_test/bin/../builtin/game/register.lua:418>
``` 2023-03-16 16:32:55: ACTION[Server]: /protect invoked, owner=upie AreaName=temp6 StartPos=(3488,-3185,463) EndPos=(3539,-3139,511) 2023-03-16 16:32:55: ACTION[Main]: Server: Shutting down 2023-03-16 16:32:55: ACTION[Server]: [MOD] smart_chat : Module core: *** leaves the World. 2023-03-16 16:32:55: ACTION[Server]: AliasAlreadyTaken leaves game. List of players: 2023-03-16 16:32:55: ACTION[Server]: [MOD] smart_chat : Module core: *** leaves the World. 2023-03-16 16:32:55: ACTION[Server]: upie leaves game. List of players: 2023-03-16 16:32:59: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_chat_message(): ...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:622: attempt to concatenate a nil value 2023-03-16 16:32:59: ERROR[Main]: stack traceback: 2023-03-16 16:32:59: ERROR[Main]: ...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:622: in function <...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:609> 2023-03-16 16:32:59: ERROR[Main]: [C]: in function 'gsub' 2023-03-16 16:32:59: ERROR[Main]: ...6.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:609: in function 'S' 2023-03-16 16:32:59: ERROR[Main]: ...t/5.6.1/Minetest_test/bin/../mods/areas/chatcommands.lua:23: in function 'func' 2023-03-16 16:32:59: ERROR[Main]: /home/mt/5.6.1/Minetest_test/bin/../builtin/game/chat.lua:79: in function </home/mt/5.6.1/Minetest_test/bin/../builtin/game/chat.lua:52> 2023-03-16 16:32:59: ERROR[Main]: .../mt/5.6.1/Minetest_test/bin/../builtin/game/register.lua:432: in function <.../mt/5.6.1/Minetest_test/bin/../builtin/game/register.lua:418> ```
Author
Owner

Question is whether this action really caused the problem:

/protect invoked, owner=upie AreaName=temp6 StartPos=(3488,-3185,463) EndPos=(3539,-3139,511)

And if: why?

Question is whether this action really caused the problem: /protect invoked, owner=upie AreaName=temp6 StartPos=(3488,-3185,463) EndPos=(3539,-3139,511) And if: why?
Member

https://github.com/minetest-mods/areas/blob/master/chatcommands.lua#L23

this is probably because i (or maybe you) overrode areas:canPlayerAddArea and didn't return an error message if there was an error.

https://github.com/minetest-mods/areas/blob/master/chatcommands.lua#L23 this is probably because i (or maybe you) overrode `areas:canPlayerAddArea` and didn't return an error message if there was an error.
flux added the
1. kind/bug
2. prio/critical
labels 2023-03-16 23:57:55 +00:00
Member

should be fixed: 27de04509f

should be fixed: https://gitea.your-land.de/your-land/yl_nether/commit/27de04509f46d07ae922d05fe82752b879d23952
flux added the
4. step/ready to QA test
label 2023-03-17 00:05:50 +00:00
Member

this arose due to the fix in #3870

this arose due to the fix in https://gitea.your-land.de/your-land/bugtracker/issues/3870
flux added the
3. source/integration
label 2023-03-17 00:07:13 +00:00
flux added this to the 1.1.118 milestone 2023-03-17 00:07:18 +00:00
AliasAlreadyTaken added the
ugh/QA main
label 2023-04-13 20:51:45 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-04-25 20:03:36 +00:00
Member

this is live

this is live
flux closed this issue 2023-04-25 20:03:41 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#4011
No description provided.