minetest-smartshop/api/shop_class.lua:146: attempt to call upvalue 'table_is_empty' (a nil value) #2912

Closed
opened 2022-10-24 10:11:57 +00:00 by AliasAlreadyTaken · 4 comments

Unclear how that happened. I observed an odd lagspike for about 10 seconds before.

2022-10-24 10:07:29: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback LuaLBM::trigger(): ...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: attempt to call upvalue 'table_is_empty' (a nil value)
2022-10-24 10:07:29: ERROR[Main]: stack traceback:
2022-10-24 10:07:29: ERROR[Main]: 	...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: in function 'set_refund'
2022-10-24 10:07:29: ERROR[Main]: 	...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:88: in function 'try_refund'
2022-10-24 10:07:29: ERROR[Main]: 	...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:127: in function 'do_refund'
2022-10-24 10:07:29: ERROR[Main]: 	...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:142: in function 'func'
2022-10-24 10:07:29: ERROR[Main]: 	...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100>
Unclear how that happened. I observed an odd lagspike for about 10 seconds before. ``` 2022-10-24 10:07:29: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback LuaLBM::trigger(): ...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: attempt to call upvalue 'table_is_empty' (a nil value) 2022-10-24 10:07:29: ERROR[Main]: stack traceback: 2022-10-24 10:07:29: ERROR[Main]: ...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: in function 'set_refund' 2022-10-24 10:07:29: ERROR[Main]: ...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:88: in function 'try_refund' 2022-10-24 10:07:29: ERROR[Main]: ...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:127: in function 'do_refund' 2022-10-24 10:07:29: ERROR[Main]: ...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:142: in function 'func' 2022-10-24 10:07:29: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100> ```
AliasAlreadyTaken added the
1. kind/bug
3. source/mod upstream
labels 2022-10-24 10:12:17 +00:00
Member

this also requires an updated version of futil.

this also requires an updated version of futil.
flux added the
4. step/ready to QA test
label 2022-10-24 17:46:51 +00:00
Author
Owner

Happened on futil 164612d51d0a5bbdca01696168b0c075e185c817
smartshop e5a691fa717720d224c4797d26b90462a850bf6a

2022-10-24 20:17:59: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback LuaLBM::trigger(): ...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: attempt to call upvalue 'table_is_empty' (a nil value)
2022-10-24 20:17:59: ERROR[Main]: stack traceback:
2022-10-24 20:17:59: ERROR[Main]: 	...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: in function 'set_refund'
2022-10-24 20:17:59: ERROR[Main]: 	...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:88: in function 'try_refund'
2022-10-24 20:17:59: ERROR[Main]: 	...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:127: in function 'do_refund'
2022-10-24 20:17:59: ERROR[Main]: 	...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:142: in function 'func'
2022-10-24 20:17:59: ERROR[Main]: 	...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100>
Happened on futil 164612d51d0a5bbdca01696168b0c075e185c817 smartshop e5a691fa717720d224c4797d26b90462a850bf6a ``` 2022-10-24 20:17:59: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback LuaLBM::trigger(): ...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: attempt to call upvalue 'table_is_empty' (a nil value) 2022-10-24 20:17:59: ERROR[Main]: stack traceback: 2022-10-24 20:17:59: ERROR[Main]: ...t_test/bin/../mods/minetest-smartshop/api/shop_class.lua:146: in function 'set_refund' 2022-10-24 20:17:59: ERROR[Main]: ...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:88: in function 'try_refund' 2022-10-24 20:17:59: ERROR[Main]: ...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:127: in function 'do_refund' 2022-10-24 20:17:59: ERROR[Main]: ...bin/../mods/minetest-smartshop/compat/old_smartshops.lua:142: in function 'func' 2022-10-24 20:17:59: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100> ```
Member

smartshop needs to be updated 1 or 2 more commits, e.g. d64f29c0fc

smartshop needs to be updated 1 or 2 more commits, e.g. https://github.com/fluxionary/minetest-smartshop/commit/d64f29c0fc5e6453cf443f53b0091ed7a22c6317
AliasAlreadyTaken added this to the 1.1.116 milestone 2022-10-25 19:59:26 +00:00
Member

this is live

this is live
flux closed this issue 2022-11-16 16:35:22 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2022-11-16 16:35:32 +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#2912
No description provided.