mt-mods / fancy_vend

A full-featured, fully-integrated vendor mod for Minetest.
MIT License
0 stars 1 forks source link

formspecs.lua:21: attempt to index a nil value #5

Open Festus1965 opened 2 years ago

Festus1965 commented 2 years ago

server 5.5.0

client 5.4.2 Android, then test with my own 5.5.0 linux

BUT vendor from August 2020 - version, so IF fixed, close

I download and install this version : [Mod] fancy_vend (0bed2e5 / 03.08.2021) and klick didn't crash now but that shown crash didn't happen with vendor for long time even under 5.2.0 ... so wondering.

2022-05-01 20:59:06: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback item_OnPlace(): /home/thomas/minetest/bin/../mods/fancy_vend/formspecs.lua:21: attempt to index a nil value ERROR[Main]: stack traceback: ERROR[Main]: /home/thomas/minetest/bin/../mods/fancy_vend/formspecs.lua:21: in function 'get_vendor_buyer_fs' ERROR[Main]: /home/thomas/minetest/bin/../mods/fancy_vend/formspecs.lua:194: in function 'show_buyer_formspec' ERROR[Main]: /home/thomas/minetest/bin/../mods/fancy_vend/formspecs.lua:216: in function 'show_vendor_formspec' ERROR[Main]: ...e/thomas/minetest/bin/../mods/fancy_vend/vendor_node.lua:185: in function 'on_rightclick' ERROR[Main]: /home/thomas/minetest/bin/../builtin/game/item.lua:455: in function </home/thomas/minetest/bin/../builtin/game/item.lua:448>

then: 2022-05-01 21:03:43: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_playerReceiveFields(): .../thomas/minetest/bin/../mods/fancy_vend/node_helpers.lua:58: attempt to index a nil value 2022-05-01 21:03:43: ERROR[Main]: stack traceback: 2022-05-01 21:03:43: ERROR[Main]: .../thomas/minetest/bin/../mods/fancy_vend/node_helpers.lua:58: in function 'refresh_vendor' 2022-05-01 21:03:43: ERROR[Main]: ...homas/minetest/bin/../mods/fancy_vend/receive_fields.lua:65: in function 'func' 2022-05-01 21:03:43: ERROR[Main]: ...mas/minetest/bin/../builtin/profiler/instrumentation.lua:107: in function <...mas/minetest/bin/../builtin/profiler/instrumentation.lua:100> 2022-05-01 21:03:43: ERROR[Main]: /home/thomas/minetest/bin/../builtin/game/register.lua:425: in function </home/thomas/minetest/bin/../builtin/game/register.lua:409>