Skip to content

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

Open
@snoyer

Description

@snoyer

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Investigate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions