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

Warning: in _CreateNewUsdzPackage #179

Open
ghost opened this issue Oct 31, 2019 · 1 comment
Open

Warning: in _CreateNewUsdzPackage #179

ghost opened this issue Oct 31, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 31, 2019

We are getting this error more and more often on our implementation.

Is this a known issue?

Conversion complete!
created /tmp/tmpcpipak/dist.usdc
created /tmp/tmpcpipak/dist.usdc
Warning: in _CreateNewUsdzPackage at line 1130 of /tmp/USD-19.07/pxr/usd/lib/usdUtils/dependencies.cpp -- Failed to add temporary layer at '/var/tmp/dist.usdc' to the package at path 'dist.usdz'.
Traceback (most recent call last):
  File "/usr/local/gltf2usd/Source/gltf2usd.py", line 923, in <module>
    convert_to_usd(os.path.expanduser(args.gltf_file), os.path.abspath(os.path.expanduser(args.usd_file)), args.fps, args.scale, args.arkit, args.verbose, args.use_euler_rotation, args.optimize_textures, args.generate_texture_transform_texture, args.scale_texture)
  File "/usr/local/gltf2usd/Source/gltf2usd.py", line 878, in convert_to_usd
    success = UsdUtils.CreateNewUsdzPackage(resolved_asset, temp_usd_file) and success
pxr.Tf.ErrorException: 
    Error in 'pxrInternal_v0_19__pxrReserved__::UsdZipFileWriter::AddFile' at line 814 in file /tmp/USD-19.07/pxr/usd/lib/usd/zipFile.cpp : 'Failed to map '/var/tmp/dist.usdc': No such file or directory'```
@ephb
Copy link

ephb commented Dec 5, 2019

The warning about the temporary files is a known issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant