personal_log/init.lua:523: attempt to concatenate a nil value #925

Closed
opened 2021-10-08 21:26:54 +00:00 by AliasAlreadyTaken · 5 comments
2021-10-08 23:11:01: ACTION[Main]: Server: Shutting down
2021-10-08 23:11:13: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'personal_log' in callback on_playerReceiveFields(): /home/mtlive1/.minetest/mods/personal_log/init.lua:523: attempt to concatenate a nil value
2021-10-08 23:11:13: ERROR[Main]: stack traceback:
2021-10-08 23:11:13: ERROR[Main]: 	/home/mtlive1/.minetest/mods/personal_log/init.lua:523: in function 'make_personal_log_formspec'
2021-10-08 23:11:13: ERROR[Main]: 	/home/mtlive1/.minetest/mods/personal_log/init.lua:685: in function 'update_callback'
2021-10-08 23:11:13: ERROR[Main]: 	/home/mtlive1/.minetest/mods/personal_log/init.lua:577: in function 'on_player_receive_fields'
2021-10-08 23:11:13: ERROR[Main]: 	/home/mtlive1/.minetest/mods/personal_log/init.lua:684: in function 'func'
2021-10-08 23:11:13: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:106: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2021-10-08 23:11:13: ERROR[Main]: 	...ve1/5.4.1/Minetest_live/bin/../builtin/game/register.lua:422: in function <...ve1/5.4.1/Minetest_live/bin/../builtin/game/register.lua:406>

``` 2021-10-08 23:11:01: ACTION[Main]: Server: Shutting down 2021-10-08 23:11:13: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'personal_log' in callback on_playerReceiveFields(): /home/mtlive1/.minetest/mods/personal_log/init.lua:523: attempt to concatenate a nil value 2021-10-08 23:11:13: ERROR[Main]: stack traceback: 2021-10-08 23:11:13: ERROR[Main]: /home/mtlive1/.minetest/mods/personal_log/init.lua:523: in function 'make_personal_log_formspec' 2021-10-08 23:11:13: ERROR[Main]: /home/mtlive1/.minetest/mods/personal_log/init.lua:685: in function 'update_callback' 2021-10-08 23:11:13: ERROR[Main]: /home/mtlive1/.minetest/mods/personal_log/init.lua:577: in function 'on_player_receive_fields' 2021-10-08 23:11:13: ERROR[Main]: /home/mtlive1/.minetest/mods/personal_log/init.lua:684: in function 'func' 2021-10-08 23:11:13: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:106: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100> 2021-10-08 23:11:13: ERROR[Main]: ...ve1/5.4.1/Minetest_live/bin/../builtin/game/register.lua:422: in function <...ve1/5.4.1/Minetest_live/bin/../builtin/game/register.lua:406> ```
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
3. source/mod upstream
labels 2021-10-08 21:27:05 +00:00
Author
Owner

Quickfix line


        formspec[#formspec+1] = "textarea[0.5,6.0;9,2.25;entry_data;;".. minetest.formspec_escape(entry) .."]"

to


                formspec[#formspec+1] = "textarea[0.5,6.0;9,2.25;entry_data;;".. minetest.formspec_escape(entry) or "" .."]"
Quickfix line ``` formspec[#formspec+1] = "textarea[0.5,6.0;9,2.25;entry_data;;".. minetest.formspec_escape(entry) .."]" ``` to ``` formspec[#formspec+1] = "textarea[0.5,6.0;9,2.25;entry_data;;".. minetest.formspec_escape(entry) or "" .."]" ```
Styxcolor added the
4. step/question
label 2021-12-08 16:30:49 +00:00
Author
Owner
https://github.com/minetest-mods/personal_log/issues/4
Author
Owner

Happened again here:

#1350

Only that this time a user remembers what they did:

karlbrock says:

details: i was trying the location notes, created one and i didnt like it so deleted, didnt delete so tried again (spammed) and boo,

Happened again here: #1350 Only that this time a user remembers what they did: karlbrock says: details: i was trying the location notes, created one and i didnt like it so deleted, didnt delete so tried again (spammed) and boo,
Author
Owner

2022-04-22 10:37:26: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'unified_inventory' in callback on_playerReceiveFields(): ...ve/5.5.0/Minetest_live/bin/../mods/personal_log/init.lua:520: attempt to concatenate a nil value
2022-04-22 10:37:26: ERROR[Main]: stack traceback:
2022-04-22 10:37:26: ERROR[Main]: ...ve/5.5.0/Minetest_live/bin/../mods/personal_log/init.lua:520: in function 'make_personal_log_formspec'
2022-04-22 10:37:26: ERROR[Main]: ...ve/5.5.0/Minetest_live/bin/../mods/personal_log/init.lua:702: in function 'action'
2022-04-22 10:37:26: ERROR[Main]: ...inetest_live/bin/../mods/unified_inventory/callbacks.lua:116: in function 'func'
2022-04-22 10:37:26: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-04-22 10:37:26: 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-22 10:37:26: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'unified_inventory' in callback on_playerReceiveFields(): ...ve/5.5.0/Minetest_live/bin/../mods/personal_log/init.lua:520: attempt to concatenate a nil value 2022-04-22 10:37:26: ERROR[Main]: stack traceback: 2022-04-22 10:37:26: ERROR[Main]: ...ve/5.5.0/Minetest_live/bin/../mods/personal_log/init.lua:520: in function 'make_personal_log_formspec' 2022-04-22 10:37:26: ERROR[Main]: ...ve/5.5.0/Minetest_live/bin/../mods/personal_log/init.lua:702: in function 'action' 2022-04-22 10:37:26: ERROR[Main]: ...inetest_live/bin/../mods/unified_inventory/callbacks.lua:116: in function 'func' 2022-04-22 10:37:26: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100> 2022-04-22 10:37:26: 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>
Author
Owner

Which is also fixed again by now: d849f4c190 until upstream

Which is also fixed again by now: https://gitea.your-land.de/your-land/personal_log/commit/d849f4c1905fa5beaca5f65600a066d28368b6d5 until upstream
AliasAlreadyTaken added the
5. result/fixed
label 2022-05-01 13:38:28 +00:00
AliasAlreadyTaken added this to the 1.1.110 milestone 2022-05-01 13:38:32 +00:00
flux removed the
4. step/question
label 2022-10-01 02:16:37 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#925
No description provided.