minetest poor handling of folder names

dgm5555
Member
 
Posts: 244
Joined: Tue Apr 08, 2014 19:45

minetest poor handling of folder names

by dgm5555 » Wed Feb 11, 2015 00:20

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
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: minetest poor handling of folder names

by rubenwardy » Wed Feb 11, 2015 08:03

Mod names should not contain spaces. Only a-z, A-Z, 0-9, _

This should give a more meaningful error message though.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: minetest poor handling of folder names

by Krock » Wed Feb 11, 2015 17:31

The reason for those restrictions is the way how the enabled mods are saved in the world.mt file.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

dgm5555
Member
 
Posts: 244
Joined: Tue Apr 08, 2014 19:45

Re: minetest poor handling of folder names

by dgm5555 » Wed Feb 11, 2015 18:17

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.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: minetest poor handling of folder names

by Krock » Wed Feb 11, 2015 18:25

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 5 guests

cron