wine/init.lua:577: attempt to index a nil value #3575

Closed
opened 2023-01-21 00:39:00 +00:00 by AliasAlreadyTaken · 3 comments

Repro:

Add a bottle of bourbon and drinking glass (vessels:drinking_glass) to the fermenting barrel

2023-01-21 00:35:21: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'wine' in callback node_on_timer(): /home/mt/5.6.1/Minetest_test/bin/../mods/wine/init.lua:577: attempt to index a nil value
2023-01-21 00:35:21: ERROR[Main]: stack traceback:
2023-01-21 00:35:21: ERROR[Main]: 	/home/mt/5.6.1/Minetest_test/bin/../mods/wine/init.lua:577: in function </home/mt/5.6.1/Minetest_test/bin/../mods/wine/init.lua:462>
Repro: Add a bottle of bourbon and drinking glass (vessels:drinking_glass) to the fermenting barrel ``` 2023-01-21 00:35:21: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'wine' in callback node_on_timer(): /home/mt/5.6.1/Minetest_test/bin/../mods/wine/init.lua:577: attempt to index a nil value 2023-01-21 00:35:21: ERROR[Main]: stack traceback: 2023-01-21 00:35:21: ERROR[Main]: /home/mt/5.6.1/Minetest_test/bin/../mods/wine/init.lua:577: in function </home/mt/5.6.1/Minetest_test/bin/../mods/wine/init.lua:462> ```
Author
Owner

Reason is that

recipe[2] = "wine:glass_mead 4"

but line 577:

local desc = minetest.registered_items[recipe[2]].description or ""

Reason is that recipe[2] = "wine:glass_mead 4" but line 577: local desc = minetest.registered_items[recipe[2]].description or ""
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
3. source/mod upstream
labels 2023-01-21 01:50:02 +00:00
Author
Owner
https://notabug.org/TenPlus1/wine/issues/21
flux added the
4. step/ready to QA test
label 2023-02-01 17:04:07 +00:00
flux added this to the 1.1.117.1 milestone 2023-02-01 17:04:11 +00:00
AliasAlreadyTaken added the
ugh/QA OK
label 2023-02-10 23:09:47 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-02-12 18:50:26 +00:00
Member

this is fixed... ish. it still only takes 1 glass to produce 4 glasses of honey mead...

this is fixed... ish. it still only takes 1 glass to produce 4 glasses of honey mead...
flux closed this issue 2023-02-12 18:51:04 +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#3575
No description provided.