DarkflameUniverse / NexusDashboard

Dashboard for Complete Management of a DLU game server
GNU Affero General Public License v3.0
47 stars 7 forks source link

BUG: Property rendering can't load the models #83

Open BrandVV opened 10 months ago

BrandVV commented 10 months ago

When I try to view a propertie over the NexusDashboard, it will show me the Content under: Property Content with the correct items. As soon as I try to render a singe item or view the XML of the model I will get a 500 error from Nginx, and when I try to render the full propertie, I will just get the green sqare empty.

The Console of the Dashbaord throws this error: [ERROR] Exception on /properties/get_model/70368744177671/mtl/2 [GET] -> FileNotFoundError: [Errno 2] No such file or directory: 'app/cache/BrickModels/mesh\\ftcommunityitems\\rew_modularcastlealtcolor_gate.lod2.mtl'

When I check, all of the folders under app/cache do contain what they should, but the BrickModels folder is empty.

I do not know how to sole this unfortunately, and would appreciate every help.

aronwk-aaron commented 10 months ago

It has to do with file path mismatching. DLU server had the same and it was solved recently. I just need to implement the same logic

Mainly affects some FT (free trial) release models and ninjago release models

BrandVV commented 10 months ago

Okay, thank you very much for your fast answer. I really appreciate it.

aronwk-aaron commented 1 month ago

closing as a environmental issue

aronwk-aaron commented 1 month ago

actually, I do need to fix this