Page 1 of 1

minetest poor handling of folder names

PostPosted: Wed Feb 11, 2015 00:20
by dgm5555
Minetest 0.4.11 can't cope with a folder in the mods directory having a space in the name. it fails with the error listed in https://forum.minetest.net/viewtopic.php?f=6&t=11145

Re: minetest poor handling of folder names

PostPosted: Wed Feb 11, 2015 08:03
by rubenwardy
Mod names should not contain spaces. Only a-z, A-Z, 0-9, _

This should give a more meaningful error message though.

Re: minetest poor handling of folder names

PostPosted: Wed Feb 11, 2015 17:31
by Krock
The reason for those restrictions is the way how the enabled mods are saved in the world.mt file.

Re: minetest poor handling of folder names

PostPosted: Wed Feb 11, 2015 18:17
by dgm5555
It was never a problem in 0.4.10 though, it was only when switching to .11 that any issue arose.
The folder which caused the problem wasn't even a mod, I was just using it to store some mod-related spreadsheets.

Re: minetest poor handling of folder names

PostPosted: Wed Feb 11, 2015 18:25
by Krock
dgm5555 wrote:It was never a problem in 0.4.10 though, it was only when switching to .11 that any issue arose.
The folder which caused the problem wasn't even a mod, I was just using it to store some mod-related spreadsheets.

I there was a settings reader/writer change in 0.4.10-dev, that could be the cause.