-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest commit(s) causes crash at server start #544
Comments
Recipe has a table of tables of strings.
It should only have a table of strings.
|
After apply this fix, server start ok but if i try to put a gold locked chest the server crash : ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'technic_chests' in callback item_OnPlace(): Runtime error from mod 'technic_chests' in callback node_on_construct(): ...test_5.2/bin/../mods/technic/technic_chests/register.lua:89: attempt to index upvalue 'fs_helpers' (a nil value) stack traceback: ...test_5.2/bin/../mods/technic/technic_chests/register.lua:89: in function 'set_formspec' ...test_5.2/bin/../mods/technic/technic_chests/register.lua:293: in function <...test_5.2/bin/../mods/technic/technic_chests/register.lua:290> [C]: in function 'add_node' ...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:368: in function <...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:258> stack traceback: [C]: in function 'add_node' ...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:368: in function <...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:258> The problem is the same with all the technic chests My server versin : 5.3 |
@d-stephane Are you sure it is because of that commit, this looks unrelated: the responsible part was last touched 3 years ago: |
No, I'm not 100% sure. I will test with version 5.2 of the server |
WIth minetest 5.2 and with just the mods basic_materials - pipeworks - technic 2020-04-27 20:45:51: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'technic_chests' in callback item_OnPlace(): Runtime error from mod 'technic_chests' in callback node_on_construct(): ...test_5.2/bin/../mods/technic/technic_chests/register.lua:91: attem 2020-04-27 20:45:51: ERROR[Main]: pt to index upvalue 'fs_helpers' (a nil value) 2020-04-27 20:45:51: ERROR[Main]: stack traceback: 2020-04-27 20:45:51: ERROR[Main]: ...test_5.2/bin/../mods/technic/technic_chests/register.lua:91: in function 'set_formspec' 2020-04-27 20:45:51: ERROR[Main]: ...test_5.2/bin/../mods/technic/technic_chests/register.lua:316: in function <...test_5.2/bin/../mods/technic/technic_chests/register.lua:313> 2020-04-27 20:45:51: ERROR[Main]: [C]: in function 'add_node' 2020-04-27 20:45:51: ERROR[Main]: ...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:368: in function <...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:258> 2020-04-27 20:45:51: ERROR[Main]: stack traceback: 2020-04-27 20:45:51: ERROR[Main]: [C]: in function 'add_node' 2020-04-27 20:45:51: ERROR[Main]: ...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:368: in function <...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:258> This version of technic works with which version of minetest for you? |
@auouymous's remark about the recipe format is correct, The latest commit (as of this remark) broke it.; @d-stephane you're barking up the wrong tree. |
@d-stephane Both of your logs show 5.2 as version, and the second log has incorrect line numbers (local changes or old version). If you didn't make changes, actually have the latest version and use git to download technic, try |
After loading the commit 4a9ad94 : 2020-04-28 08:06:40: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'technic_chests' in callback item_OnPlace(): Runtime error from mod 'technic_chests' in callback node_on_construct(): ...test_5.2/bin/../mods/technic/technic_chests/register.lua:89: attem 2020-04-28 08:06:40: ERROR[Main]: pt to index upvalue 'fs_helpers' (a nil value) 2020-04-28 08:06:40: ERROR[Main]: stack traceback: 2020-04-28 08:06:40: ERROR[Main]: ...test_5.2/bin/../mods/technic/technic_chests/register.lua:89: in function 'set_formspec' 2020-04-28 08:06:40: ERROR[Main]: ...test_5.2/bin/../mods/technic/technic_chests/register.lua:293: in function <...test_5.2/bin/../mods/technic/technic_chests/register.lua:290> 2020-04-28 08:06:40: ERROR[Main]: [C]: in function 'add_node' 2020-04-28 08:06:40: ERROR[Main]: ...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:368: in function <...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:258> 2020-04-28 08:06:40: ERROR[Main]: stack traceback: 2020-04-28 08:06:40: ERROR[Main]: [C]: in function 'add_node' 2020-04-28 08:06:40: ERROR[Main]: ...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:368: in function <...games/minetest/minetest_5.2/bin/../builtin/game/item.lua:258> which version of minetest do you use? |
Your problem has nothing to do with this issue. By changing to 4a9ad94, you removed the faulty code this issue is about and that @BuckarooBanzay's patch fixes. You should open a new issue and post the entire log there. But read the entire log first, it might reveal a missing dependency, such as no mesecons. |
I did not have the latest version of pipeworks. After updating there is no more problem. |
Got exacly same trace as @katp32. Server version 5.2.0. Rolling back to 4a9ad94 "fixes" server boot. |
Since i could not find a pull request to fix this bug, i made one. I have confirmed that the fix works with 5.2.0 and 5.3.0 versions of minetest. |
The latest commit (I think) breaks the pack. Relevant logs:
The text was updated successfully, but these errors were encountered: