overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
132 stars 47 forks source link

Domain server sporadically fails to load models.json.gz #846

Open JulianGro opened 4 months ago

JulianGro commented 4 months ago

While testing PR #814, I ran into the issue that the Domain server seemingly randomly fails to load the models.json.gz that is used to store the world.

[03/02 09:19:14] [CRITICAL] [default] [11152] [entity-server] Cannot open gzipped json file for reading:  "C:/Users/Julian Gro?/AppData/Roaming/Overte - PR814/assignment-client/entities/models.json.gz"

The ? in the name, suggests that that particular part of the code might not deal with non-ASCII characters. Everywhere else in the log it displays ß properly. ac-20240302.09.17.15.714-stdout.txt However, the issue is somewhat sporadic. Just restarting the server makes it load fine. Another cause I could think of, would be the Windows server not waiting for the file to finish saving before shutting down. Or maybe, not waiting for the old server to finish shutting down before starting the new one, and Windows denying access because of that.