Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot open .glb files with square brackets in the filename #1896

Open
snoyer opened this issue Jan 9, 2025 · 0 comments
Open

cannot open .glb files with square brackets in the filename #1896

snoyer opened this issue Jan 9, 2025 · 0 comments
Labels
source:VTK type:bug Something isn't working

Comments

@snoyer
Copy link
Contributor

snoyer commented Jan 9, 2025

To reproduce:

  • copy f3d.glb from the testing data as /tmp/f3[d].glb
  • open /tmp/f3[d].glb with F3D
  • observe:
Checking files:
Found a reader for "/tmp/f3[d].glb" : "GLTF"

Loading files: 
/tmp/f3[d].glb

ERROR: In vtkURI.cxx, line 379
(nullptr): Invalid character in path component '['


ERROR: In vtkGLTFImporter.cxx, line 437
vtkF3DGLTFImporter (0x32201f40): Error loading model metadata


Some of these files could not be loaded: failed to load scene
  /tmp/f3[d].glb

Looks URI related, parentheses and curly brackets work for glb models, square brackets work in other extensions (for example .vtp, haven't tested any others).

@mwestphal mwestphal added type:bug Something isn't working source:VTK labels Jan 9, 2025
@mwestphal mwestphal added this to F3D Jan 9, 2025
@mwestphal mwestphal moved this to Investigate in F3D Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source:VTK type:bug Something isn't working
Projects
Status: Investigate
Development

No branches or pull requests

2 participants