You need to add "pycraft" to your trusted mods setting in minetest.conf, like so:
secure.trusted_mods = pycraft This is because pycraft needs to do things which could be used maliciously, such as use UDP sockets and greater access to the system. By default, Minetest doesn't allow this using a feature call mod security (Lua sandboxing) On Sun, 11 Aug 2019 21:20:08 +0200 cacat...@tuxfamily.org wrote: > Package: minetest-mod-pycraft > Version: 0.22-1 > > Hello, > > I am getting this error after enabling the mod for a world: > > 2019-08-11 21:03:50: ERROR[Main]: ModError: Failed to load and run script from /usr/share/games/minetest/mods/pycraft/init.lua: > 2019-08-11 21:03:50: ERROR[Main]: /usr/share/games/minetest/mods/pycraft/init.lua:15: attempt to index global 'ie' (a nil value) > 2019-08-11 21:03:50: ERROR[Main]: stack traceback: > 2019-08-11 21:03:50: ERROR[Main]: /usr/share/games/minetest/mods/pycraft/init.lua:15: in main chunk > 2019-08-11 21:03:50: ERROR[Main]: Voir debug.txt pour plus d'informations. > > ~/.minetest/debug.txt doesn't show more infos. > > Thanks. > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (500, 'testing'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores) > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages minetest-mod-pycraft depends on: > ii lua-bitop 1.0.2-5 > ii lua-socket 3.0~rc1+git+ac3201d-4 > ii minetest 5.0.1+repack-2 > ii python3-minecraftpi 0.22-1 > > minetest-mod-pycraft recommends no packages. > > minetest-mod-pycraft suggests no packages. > > -- no debconf information > >
pEpkey.asc
Description: application/pgp-keys