api_eggs.lua:20: in function 'lay_egg' #3084

Closed
opened 2022-11-20 10:25:15 +00:00 by AliasAlreadyTaken · 9 comments
2022-11-20 10:22:14: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Step(): "petz:moth_egg" is not a registered node!
2022-11-20 10:22:14: ERROR[Main]: stack traceback:
2022-11-20 10:22:14: ERROR[Main]: 	[C]: in function 'set_node'
2022-11-20 10:22:14: ERROR[Main]: 	...6.1/Minetest_live/bin/../mods/petz/petz/api/api_eggs.lua:20: in function 'lay_egg'
2022-11-20 10:22:14: ERROR[Main]: 	...inetest_live/bin/../mods/petz/petz/brains/bh_replace.lua:10: in function 'bh_replace'
2022-11-20 10:22:14: ERROR[Main]: 	...Minetest_live/bin/../mods/petz/petz/brains/br_flying.lua:120: in function 'logic'
2022-11-20 10:22:14: ERROR[Main]: 	.../mt/5.6.1/Minetest_live/bin/../mods/petz/kitz/engine.lua:819: in function 'stepfunc'
2022-11-20 10:22:14: ERROR[Main]: 	...Minetest_live/bin/../mods/petz/petz/petz/moth_mobkit.lua:86: in function 'func'
2022-11-20 10:22:14: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'old_on_step'
2022-11-20 10:22:14: ERROR[Main]: 	...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:27: in function <...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:20>

``` 2022-11-20 10:22:14: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Step(): "petz:moth_egg" is not a registered node! 2022-11-20 10:22:14: ERROR[Main]: stack traceback: 2022-11-20 10:22:14: ERROR[Main]: [C]: in function 'set_node' 2022-11-20 10:22:14: ERROR[Main]: ...6.1/Minetest_live/bin/../mods/petz/petz/api/api_eggs.lua:20: in function 'lay_egg' 2022-11-20 10:22:14: ERROR[Main]: ...inetest_live/bin/../mods/petz/petz/brains/bh_replace.lua:10: in function 'bh_replace' 2022-11-20 10:22:14: ERROR[Main]: ...Minetest_live/bin/../mods/petz/petz/brains/br_flying.lua:120: in function 'logic' 2022-11-20 10:22:14: ERROR[Main]: .../mt/5.6.1/Minetest_live/bin/../mods/petz/kitz/engine.lua:819: in function 'stepfunc' 2022-11-20 10:22:14: ERROR[Main]: ...Minetest_live/bin/../mods/petz/petz/petz/moth_mobkit.lua:86: in function 'func' 2022-11-20 10:22:14: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'old_on_step' 2022-11-20 10:22:14: ERROR[Main]: ...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:27: in function <...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:20> ```
Author
Owner

if not self.type then core.log("action","#3084 self="..dump(self)) return end

if not self.type then core.log("action","#3084 self="..dump(self)) return end
flux added the
1. kind/bug
2. prio/critical
labels 2022-11-20 16:39:08 +00:00
Member

i rebased petz locally, and it seems to have fixed the crash. pulling from https://gitea.your-land.de/your-land/petz/src/branch/yl_stable should fix the issue.

i rebased petz locally, and it seems to have fixed the crash. pulling from https://gitea.your-land.de/your-land/petz/src/branch/yl_stable should fix the issue.
flux added the
4. step/ready to QA test
label 2022-11-20 17:43:31 +00:00
Author
Owner

And again ...

2022-11-23 06:53:20: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Step(): "petz:moth_egg" is not a registered node!
2022-11-23 06:53:20: ERROR[Main]: stack traceback:
2022-11-23 06:53:20: ERROR[Main]: 	[C]: in function 'set_node'
2022-11-23 06:53:20: ERROR[Main]: 	...6.1/Minetest_live/bin/../mods/petz/petz/api/api_eggs.lua:21: in function 'lay_egg'
2022-11-23 06:53:20: ERROR[Main]: 	...inetest_live/bin/../mods/petz/petz/brains/bh_replace.lua:10: in function 'bh_replace'
2022-11-23 06:53:20: ERROR[Main]: 	...Minetest_live/bin/../mods/petz/petz/brains/br_flying.lua:120: in function 'logic'
2022-11-23 06:53:20: ERROR[Main]: 	.../mt/5.6.1/Minetest_live/bin/../mods/petz/kitz/engine.lua:819: in function 'stepfunc'
2022-11-23 06:53:20: ERROR[Main]: 	...Minetest_live/bin/../mods/petz/petz/petz/moth_mobkit.lua:86: in function 'func'
2022-11-23 06:53:20: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'old_on_step'
2022-11-23 06:53:20: ERROR[Main]: 	...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:27: in function <...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:20>
And again ... ``` 2022-11-23 06:53:20: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'petz' in callback luaentity_Step(): "petz:moth_egg" is not a registered node! 2022-11-23 06:53:20: ERROR[Main]: stack traceback: 2022-11-23 06:53:20: ERROR[Main]: [C]: in function 'set_node' 2022-11-23 06:53:20: ERROR[Main]: ...6.1/Minetest_live/bin/../mods/petz/petz/api/api_eggs.lua:21: in function 'lay_egg' 2022-11-23 06:53:20: ERROR[Main]: ...inetest_live/bin/../mods/petz/petz/brains/bh_replace.lua:10: in function 'bh_replace' 2022-11-23 06:53:20: ERROR[Main]: ...Minetest_live/bin/../mods/petz/petz/brains/br_flying.lua:120: in function 'logic' 2022-11-23 06:53:20: ERROR[Main]: .../mt/5.6.1/Minetest_live/bin/../mods/petz/kitz/engine.lua:819: in function 'stepfunc' 2022-11-23 06:53:20: ERROR[Main]: ...Minetest_live/bin/../mods/petz/petz/petz/moth_mobkit.lua:86: in function 'func' 2022-11-23 06:53:20: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function 'old_on_step' 2022-11-23 06:53:20: ERROR[Main]: ...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:27: in function <...ve/bin/../mods/yl_commons/bugfixes/petz_spawn_height.lua:20> ```
AliasAlreadyTaken added this to the 1.1.117 milestone 2022-11-23 07:00:37 +00:00
Member

And again ...

@AliasAlreadyTaken was the update live when it crashed again? locally i was able to replicate the crash before the update, and it didn't happen after the update, but petz has gotten so buggy lately i want to throw it out a window.

> And again ... @AliasAlreadyTaken was the update live when it crashed again? locally i was able to replicate the crash before the update, and it didn't happen after the update, but petz has gotten so buggy lately i want to throw it out a window.
Author
Owner

It's still on 74864e092b25e93a8c2cf878620939e336264dea , I don't dare update in between.

It's still on 74864e092b25e93a8c2cf878620939e336264dea , I don't dare update in between.
flux added
3. source/mod upstream
ugh/petz
and removed
4. step/ready to QA test
labels 2022-11-25 17:40:05 +00:00
Member

had this happen on my local server. no idea how.

created an upstream issue:

https://github.com/runsy/petz/issues/129

i think we can patch this temporarily by creating an alias of petz:moth_egg to petz:silkworm_eggs.

had this happen on my local server. no idea how. created an upstream issue: https://github.com/runsy/petz/issues/129 i think we can patch this temporarily by creating an alias of `petz:moth_egg` to `petz:silkworm_eggs`.
Member

temporary fix: c5b83377f3

temporary fix: https://gitea.your-land.de/your-land/yl_commons/commit/c5b83377f35724f8b1dfe553a24aed54951a6872
flux added the
4. step/ready to QA test
4. step/partially fixed
labels 2022-11-25 17:44:44 +00:00
flux removed the
4. step/partially fixed
label 2022-11-26 19:11:42 +00:00
Member

upstream issue is supposedly fixed.

upstream issue is supposedly fixed.
AliasAlreadyTaken added the
ugh/QA main
label 2023-01-18 08:07:33 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-01-25 22:30:17 +00:00
Member

this should be live

this should be live
flux closed this issue 2023-01-25 22:30:33 +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#3084
No description provided.