testserver mail_mod/storage.lua:119: attempt to index a nil value #4689
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#4689
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?
mail_mod/storage.lua:119: attempt to index a nil valueto testserver mail_mod/storage.lua:119: attempt to index a nil valueWe're on commit fab6f1a1e5808a4e2821155859b78c7829e36ddf
What I was trying to do is to delete all mails. "Select all" confuses me (do selected mails have darker or lighter color?), so I just selected them all with shift+arrows, then pressed "delete" and nothing happened. After that I pressed "Select all" again and pressed "delete" again and it crashed.
upstream issue: https://github.com/mt-mods/mail/issues/97
2023-06-05 17:14:34: ACTION[Server]: [yl_commons] formspec "snippets:form_1": rheo submitted {"quit":"true"}
2023-06-05 17:14:38: ACTION[Server]: [yl_commons] lua is using 396.4 MB
2023-06-05 17:14:44: ACTION[Server]: [yl_commons] formspec "mail:inbox": rheo submitted {"filter":"","selectall":"(Un)select all","sortdirection":"1","sortfield":"3"}
2023-06-05 17:14:46: ACTION[Server]: [yl_commons] formspec "mail:inbox": rheo submitted {"delete":"L\u00f6schen","filter":"","sortdirection":"1","sortfield":"3"}
2023-06-05 17:14:46: ACTION[Main]: Server: Shutting down
2023-06-05 17:14:46: ACTION[Server]: [MOD] smart_chat : Module core: *** leaves the World.
2023-06-05 17:14:46: ACTION[Server]: rheo leaves game. List of players:
2023-06-05 17:14:49: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mail' in callback on_playerReceiveFields(): .../mt/5.7.0/Minetest_test/bin/../mods/mail_mod/storage.lua:120: attempt to index a nil value
2023-06-05 17:14:49: ERROR[Main]: stack traceback:
2023-06-05 17:14:49: ERROR[Main]: .../mt/5.7.0/Minetest_test/bin/../mods/mail_mod/storage.lua:120: in function 'delete_mail'
2023-06-05 17:14:49: ERROR[Main]: ...t/5.7.0/Minetest_test/bin/../mods/mail_mod/ui/events.lua:190: in function 'func'
2023-06-05 17:14:49: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:108: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:101>
2023-06-05 17:14:49: ERROR[Main]: .../mt/5.7.0/Minetest_test/bin/../builtin/game/register.lua:446: in function <.../mt/5.7.0/Minetest_test/bin/../builtin/game/register.lua:432>
i just did "select all" and then "delete", nothing weird. seems they're still working on this upstream.