minetest-craftsystem/do_registration.lua:52: craft output "farming:dandelion_tea" doesn't exist #4329

Closed
opened 2023-04-28 16:03:40 +00:00 by AliasAlreadyTaken · 12 comments

Main server, when I disable arnea_lib and wormball, I get this error message:

2023-04-28 15:59:26: ACTION[Main]: Server: Shutting down
2023-04-28 15:59:27: ERROR[Main]: ModError: Runtime error from mod '??' in callback on_mods_loaded(): ..._live/worldmods/minetest-craftsystem/do_registration.lua:52: craft output "farming:dandelion_tea" doesn't exist
2023-04-28 15:59:27: ERROR[Main]: stack traceback:
2023-04-28 15:59:27: ERROR[Main]: 	[C]: in function 'error'
2023-04-28 15:59:27: ERROR[Main]: 	..._live/worldmods/minetest-craftsystem/do_registration.lua:52: in function 'analyze_and_register_shaped'
2023-04-28 15:59:27: ERROR[Main]: 	..._live/worldmods/minetest-craftsystem/do_registration.lua:145: in function <..._live/worldmods/minetest-craftsystem/do_registration.lua:140>
2023-04-28 15:59:27: ERROR[Main]: 	.../mt/5.6.1/Minetest_live/bin/../builtin/game/register.lua:431: in function <.../mt/5.6.1/Minetest_live/bin/../builtin/game/register.lua:417>
Main server, when I disable arnea_lib and wormball, I get this error message: ``` 2023-04-28 15:59:26: ACTION[Main]: Server: Shutting down 2023-04-28 15:59:27: ERROR[Main]: ModError: Runtime error from mod '??' in callback on_mods_loaded(): ..._live/worldmods/minetest-craftsystem/do_registration.lua:52: craft output "farming:dandelion_tea" doesn't exist 2023-04-28 15:59:27: ERROR[Main]: stack traceback: 2023-04-28 15:59:27: ERROR[Main]: [C]: in function 'error' 2023-04-28 15:59:27: ERROR[Main]: ..._live/worldmods/minetest-craftsystem/do_registration.lua:52: in function 'analyze_and_register_shaped' 2023-04-28 15:59:27: ERROR[Main]: ..._live/worldmods/minetest-craftsystem/do_registration.lua:145: in function <..._live/worldmods/minetest-craftsystem/do_registration.lua:140> 2023-04-28 15:59:27: ERROR[Main]: .../mt/5.6.1/Minetest_live/bin/../builtin/game/register.lua:431: in function <.../mt/5.6.1/Minetest_live/bin/../builtin/game/register.lua:417> ```
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
labels 2023-04-28 16:04:35 +00:00
Member

craftsystem needs to remember where recipes were registered in order to produce a useful error message. "farming:dandelion_tea" is from yl_seasons is it not? did that somehow get renamed or removed?

craftsystem needs to remember *where* recipes were registered in order to produce a useful error message. "farming:dandelion_tea" is from yl_seasons is it not? did that somehow get renamed or removed?
flux added this to the flux's TODO list project 2023-04-30 01:28:19 +00:00
Member

i guess it's from yl_commons, huh.

i guess it's from yl_commons, huh.
Member

no, it's defined in both places? blech.

no, it's defined in both places? blech.
Author
Owner

The question is why would this error appear suddenly, when a totally unrelated mod is disabled?

Do we depend on arena_lib somewhere where this tea is defined?

The question is why would this error appear suddenly, when a totally unrelated mod is disabled? Do we depend on arena_lib somewhere where this tea is defined?
Member

The question is why would this error appear suddenly, when a totally unrelated mod is disabled?

Do we depend on arena_lib somewhere where this tea is defined?

you should look at the errors at the beginning of the server log, about which mods can't load. my guess is this dependency chain:

  • yl_commons -> quikbild -> arena_lib

from my local logs at some point in time:

2022-10-17 11:57:25: ERROR[Main]: mod "quikbild" has unsatisfied dependencies:  "arena_lib"
2022-10-17 11:57:25: ERROR[Main]: mod "wormball" has unsatisfied dependencies:  "arena_lib"
2022-10-17 11:57:25: ERROR[Main]: mod "yl_church" has unsatisfied dependencies:  "yl_commons"
2022-10-17 11:57:25: ERROR[Main]: mod "yl_commons" has unsatisfied dependencies:  "quikbild"
2022-10-17 11:57:25: ERROR[Main]: mod "yl_faq" has unsatisfied dependencies:  "yl_commons"
2022-10-17 11:57:25: ERROR[Main]: mod "yl_joinmessage" has unsatisfied dependencies:  "yl_commons"
> The question is why would this error appear suddenly, when a totally unrelated mod is disabled? > > Do we depend on arena_lib somewhere where this tea is defined? you should look at the errors at the beginning of the server log, about which mods can't load. my guess is this dependency chain: * yl_commons -> quikbild -> arena_lib from my local logs at some point in time: ``` 2022-10-17 11:57:25: ERROR[Main]: mod "quikbild" has unsatisfied dependencies: "arena_lib" 2022-10-17 11:57:25: ERROR[Main]: mod "wormball" has unsatisfied dependencies: "arena_lib" 2022-10-17 11:57:25: ERROR[Main]: mod "yl_church" has unsatisfied dependencies: "yl_commons" 2022-10-17 11:57:25: ERROR[Main]: mod "yl_commons" has unsatisfied dependencies: "quikbild" 2022-10-17 11:57:25: ERROR[Main]: mod "yl_faq" has unsatisfied dependencies: "yl_commons" 2022-10-17 11:57:25: ERROR[Main]: mod "yl_joinmessage" has unsatisfied dependencies: "yl_commons" ```
Author
Owner

Why would yl_commons depend on quikbuild? Was I drunk?

Why would yl_commons depend on quikbuild? Was I drunk?
Member

probably the solution is to explicitly disable/remove quikbild and wormball when disabling arena_lib

probably the solution is to explicitly disable/remove quikbild and wormball when disabling arena_lib
Member

Why would yl_commons depend on quikbuild? Was I drunk?

i think i added it when i was hiding quikbild items in unified_inventory

> Why would yl_commons depend on quikbuild? Was I drunk? i think i added it when i was hiding quikbild items in unified_inventory
Member

see #1542

see #1542
Author
Owner

Ah :D

If I disable quickbuild, but yl_commons depends on it, will our whole dependency tree collapse?

Ah :D If I disable quickbuild, but yl_commons depends on it, will our whole dependency tree collapse?
Member

Ah :D

If I disable quickbuild, but yl_commons depends on it, will our whole dependency tree collapse?

no, if it's disabled, it's not a problem. it's just a problem if it tries to load and fails.

> Ah :D > > If I disable quickbuild, but yl_commons depends on it, will our whole dependency tree collapse? no, if it's disabled, it's not a problem. it's just a problem if it tries to load and fails.
Author
Owner

Since we removed arena_lib, this is not an issue anymore.

At some point we may want to reenable, but that's going to be tested in another issue.

Until then, due to mod absence, we cannot reproduce.

Since we removed arena_lib, this is not an issue anymore. At some point we may want to reenable, but that's going to be tested in another issue. Until then, due to mod absence, we cannot reproduce.
AliasAlreadyTaken added the
5. result/cannot reproduce
label 2023-12-05 13:53:41 +00:00
flux removed this from the flux's TODO list project 2023-12-22 20:46:29 +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#4329
No description provided.