-
Notifications
You must be signed in to change notification settings - Fork 259
Description
Describe the bug
If you attempt to publish a scene with an underscore in its name it will fail to publish.
If you are using the Spoke editor, then the reported error will be: Network Error: 422 Unknown Error. Possibly a CORS error.
If you are using the Blender scene part of Spoke to create a GLB scene, then the reported error will be: Network Error: 500 Unknown Error. Possibly a CORS error.
To Reproduce
Steps to reproduce the behavior:
Spoke Editor
- Create a new empty project.
- Remove the
Terrain_Crater1.glbfrom the scene. - Add the
Ground Planeelement. - Click on the
Publish Scenebutton. - Enter
test_underscoresin theProject Namefield and then click on theSave Projectbutton. - Ensure that the
Scene Namefield containstest_underscoresand then click on theSave and Publishbutton. - In the
Performance Checkdialog that appears, click on thePublish Scenebutton. - See the error dialog appear.
Note: I believe you can safely delete the project after the publish fails because a scene wasn't created that would be orphaned.
Blender scene
- Create a new project and instead of choosing a new empty project, choose to import from Blender.
- Click on the rectangle that says
Click to select a thumbnail (16:9 .png)and choose any PNG image you have. - Enter
test_underscoresin theScene Namefield. - Click on the
Select a scene model file (max 128mb .glb)and choose any glb file you have. - Click on the
Publishbutton. - See the error appear beneath the
Publishbutton.
Expected behavior
Either scene names with underscores should be rejected and the user notified that they can't be used (e.g. by field pattern matching) or underscores should be allowed and everything should work (which may require changes to Reticulum because it may not support them).
Screenshots
Spoke Editor interface warning:
Spoke Blender scene interface warning:
Desktop (please complete the following information):
- OS: GNU/Linux
- Browser: Firefox/Chromium
- Version: All versions that I've used.
Additional context
This has been a longstanding bug that looks to have been previously reported and solved, but then was re-introduced at some point and has been an infamous known (but not officially re-documented) issue ever since.
Previous related issues/commits:
#328
#329
c283a12
8825517
Possible duplicate of this issue:
#1282