Posts: 584
Threads: 45
Joined: Dec 2012
Re: Space / M:Tron
2016-03-08, 7:36
Yup, it has to do with the :
I've modified the file storage class of Django for the upload of LDraw files and images. It was making files 'save', reducing all kinds of characters that could produce problems. However, it was also transforming spaces into _ and transforming all uppercase letters in lowercase. Since I'd like to to able to still have a nice folder structure and filenames without the database, I decided to remove that mechanism for the LDraw files. And this is one of the very few cases where things go wrong
Django thought the file was saved in a folder called M:Tron, but the server itself created a folder called M_Tron (because a : in a file or directory name is not possible).
But, since I was moving back the space themes as subthemes (as you suggested), it's not a big problem anymore, because the files aren't in a folder called M:tron anymore. It's not yet fixed, but it's probably in a minute or 10