Skip to content

pxrInternal error when testing on MacOS #10

@ptc-rgrasset

Description

@ptc-rgrasset

repro case:

  • setup python 3.10 (3.11 is not supported by usd-core)
  • checkout repo
  • pip3 install -e . from root
  • usd2gltf -i tests/box/box_animation.usda -o box.gltf

Result:
Converting: tests/box/box_animation.usda
To: box.gltf
Traceback (most recent call last):
File "/opt/homebrew/bin/usd2gltf", line 8, in
sys.exit(main())
File "/Users/raphaelgrasset/Documents/Common/usd2gltf/src/usd2gltf/cli.py", line 73, in main
args.func(args)
File "/Users/raphaelgrasset/Documents/Common/usd2gltf/src/usd2gltf/cli.py", line 16, in run
stage = factory.load_usd(args.input)
File "/Users/raphaelgrasset/Documents/Common/usd2gltf/src/usd2gltf/converter.py", line 164, in load_usd
return Usd.Stage.Open(path)
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_23__pxrReserved__::UsdStage::Open' at line 922 in file /Users/runner/work/1/s/pxr/usd/usd/stage.cpp : 'Failed to open layer @tests/box/box_animation.usda@'

Expected:
no error.

Tested on MacBook PRo, Apple M1, Ventura 13.4.1

Installed dependencies from pip3: gltflib-1.0.13-py3-none-any.whl, usd_core-23.8-cp310-none-macosx_10_9_universal2.whl, numpy-1.26.0-cp310-cp310-macosx_11_0_arm64.whl.metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions