LDraw.org Discussion Forums
Space / M:Tron - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Official Models (https://forums.ldraw.org/forum-17.html)
+--- Thread: Space / M:Tron (/thread-20779.html)

Pages: 1 2

Re: Space / M:Tron - Damien Roux - 2016-03-07

This set is not showing in the OMR: it says "Error: file could not be found or read".

I have updated it anyway, including the lsynth parts.
Can be reuploaded.

Re: Space / M:Tron - Merlijn Wissink - 2016-03-07

That's interesting. I think you've found a bug (kinda, I know what the problem is at least). All M:Tron sets don't work. I'll fix it as soon as possible. Thanks for pointing it out.

Re: Space / M:Tron - Damien Roux - 2016-03-07

I guess it is the ":" of M:Tron ?? ^^

Please don't forget to reupload 6989.

Re: Space / M:Tron - Merlijn Wissink - 2016-03-08

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 Tongue 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 Wink