[Mod] Basic Materials [git][basic_materials]
Re: [Mod] Basic Materials [git][basic_materials]
Apologies as I'm new to Minetest; this mod is not staying enabled, and other mods are throwing an error as if this mod is missing. (technic mod pack for example) Indeed, I click "enable", save the change, but going back into the mod list shows the mod is disabled again.
Now, is this a problem with the mod, with minetest, another mod, with muh brain or what? :D Thanks a lot, I'm a bit stuck (clueless)
Cheers!
Now, is this a problem with the mod, with minetest, another mod, with muh brain or what? :D Thanks a lot, I'm a bit stuck (clueless)
Cheers!
Re: [Mod] Basic Materials [git][basic_materials]
see viewtopic.php?p=406050#p406050 please
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o
Re: [Mod] Basic Materials [git][basic_materials]
Just caught this. When I updated the basic_materials mod via git pull, the server would crash at startup with the error that it couldn't find /sound_api_core/init.lua. The sound_api_core directory was empty. After looking on Github, I found that sound_api_core was separated from basic_materials. I had to copy the files from there into the empty local directory, and then the server started without error.
Re: [Mod] Basic Materials [git][basic_materials]
It is a git repository with a submodule.T6C wrote: ↑Mon Feb 14, 2022 04:23Just caught this. When I updated the basic_materials mod via git pull, the server would crash at startup with the error that it couldn't find /sound_api_core/init.lua. The sound_api_core directory was empty. After looking on Github, I found that sound_api_core was separated from basic_materials. I had to copy the files from there into the empty local directory, and then the server started without error.
Command git pull is not enough to get it.
You should use this command git pull --recurse-submodules for example.
cdb_3P0AYqjEIn68
Re: [Mod] Basic Materials [git][basic_materials]
Most Minetest mods do not include submodules. So I think It is good to know, but not necessary to be used always. But I expect no problems if you use it always when cloning/pulling without local changes.
cdb_3P0AYqjEIn68
- Blockhead
- Member
- Posts: 1620
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: [Mod] Basic Materials [git][basic_materials]
You can tell if a mod uses git submodules by looking for the file .gitmodules. If you've pulled and see you're missing the contents of submodules, there's a handy quick reference on what commands to run over at pandora-box mods README. You can also see on that page that submodules are listed on GitHub with an @ <commit-hash> showing their version and a hyperlink if they're also on GitHub; other git hosts like GitLab, NotABug etc. may have similar functionality. This is something that might clue you in on submodules before you clone.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
- Linuxdirk
- Member
- Posts: 3216
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: [Mod] Basic Materials [git][basic_materials]
Yaaay, more complexity.
Re: [Mod] Basic Materials [git][basic_materials]
hi
this error appears 2022-02-27 12:04:40: ERROR[Main]: ModError: Failed to load and run script from C:\Users\rozco.PC\Downloads\minetest-5.4.1-win64\minetest-5.4.1-win64\bin\..\mods\basic_materials-master\init.lua:
2022-02-27 12:04:40: ERROR[Main]: C:\Users\rozco.PC\Downloads\minetest-5.4.1-win64\minetest-5.4.1-win64\bin\..\mods\basic_materials-master/sound_api_core/init.lua: No such file or directory
2022-02-27 12:04:40: ERROR[Main]: stack traceback:
2022-02-27 12:04:40: ERROR[Main]: [C]: in function 'dofile'
2022-02-27 12:04:40: ERROR[Main]: ...5.4.1-win64\bin\..\mods\basic_materials-master/nodes.lua:2: in main chunk
2022-02-27 12:04:40: ERROR[Main]: [C]: in function 'dofile'
2022-02-27 12:04:40: ERROR[Main]: ...-5.4.1-win64\bin\..\mods\basic_materials-master\init.lua:11: in main chunk
this error appears 2022-02-27 12:04:40: ERROR[Main]: ModError: Failed to load and run script from C:\Users\rozco.PC\Downloads\minetest-5.4.1-win64\minetest-5.4.1-win64\bin\..\mods\basic_materials-master\init.lua:
2022-02-27 12:04:40: ERROR[Main]: C:\Users\rozco.PC\Downloads\minetest-5.4.1-win64\minetest-5.4.1-win64\bin\..\mods\basic_materials-master/sound_api_core/init.lua: No such file or directory
2022-02-27 12:04:40: ERROR[Main]: stack traceback:
2022-02-27 12:04:40: ERROR[Main]: [C]: in function 'dofile'
2022-02-27 12:04:40: ERROR[Main]: ...5.4.1-win64\bin\..\mods\basic_materials-master/nodes.lua:2: in main chunk
2022-02-27 12:04:40: ERROR[Main]: [C]: in function 'dofile'
2022-02-27 12:04:40: ERROR[Main]: ...-5.4.1-win64\bin\..\mods\basic_materials-master\init.lua:11: in main chunk
Re: [Mod] Basic Materials [git][basic_materials]
you need the sound api core submodule, please read up for instructions on how to do thisroscoeb wrote: ↑Sun Feb 27, 2022 12:06hi
this error appears 2022-02-27 12:04:40: ERROR[Main]: ModError: Failed to load and run script from C:\Users\rozco.PC\Downloads\minetest-5.4.1-win64\minetest-5.4.1-win64\bin\..\mods\basic_materials-master\init.lua:
2022-02-27 12:04:40: ERROR[Main]: C:\Users\rozco.PC\Downloads\minetest-5.4.1-win64\minetest-5.4.1-win64\bin\..\mods\basic_materials-master/sound_api_core/init.lua: No such file or directory
2022-02-27 12:04:40: ERROR[Main]: stack traceback:
2022-02-27 12:04:40: ERROR[Main]: [C]: in function 'dofile'
2022-02-27 12:04:40: ERROR[Main]: ...5.4.1-win64\bin\..\mods\basic_materials-master/nodes.lua:2: in main chunk
2022-02-27 12:04:40: ERROR[Main]: [C]: in function 'dofile'
2022-02-27 12:04:40: ERROR[Main]: ...-5.4.1-win64\bin\..\mods\basic_materials-master\init.lua:11: in main chunk
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o
Re: [Mod] Basic Materials [git][basic_materials]
ok thanks, will do :)
Who is online
Users browsing this forum: Amazon [Bot] and 2 guests