Closed unix-system closed 3 years ago
The root cause of this is remodel.rs
, line 193 https://github.com/Roblox/remodel/blob/aed432ce0557bbbda693301063964bb5bc40db97/src/remodel_api/remodel.rs#L193
Looks like it's trying to decode the binary file (as most uploaded models are binary format, not XML)
There are two solutions I can think of:
I'll fork it and work on it - will keep people updated and make a PR, but due to the current state of this project I expect it to take a while to get approved.
Also - as another point, perhaps we could make the error messages more specific?
The error provided is cryptic and doesn't narrow it down to the decoder (the cause of this issue is because it hits the !
in the <!roblox
magic bytes.
Fixed in commit 3319bc30f0ec0f1f12bc231cf22b70f437fa8582.
When running the following line:
This error seems to sometimes resolve itself - I have no idea what causes it - the value for rbxmx_path is a valid assetId string, and sometimes I don't change the code and it just happens. I can't debug it any further because the stack trace is super cryptic.
I'm using the latest version of remodel from Foreman.