-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
UsdUtils Pipeline docs example can't be parsed. #2346
Comments
I am using an old version of usd, but the example in the docs is still the same: https://openusd.org/dev/api/pipeline_8h.html If it is of any help I can put a PR in. Really minor, but the example in the Kind docs https://openusd.org/dev/api/kind_page_front.html#mainpage_kind includes the outer "Info" key, which seems to be required for the registered variant sets too. Should the UsdUtils pipeline example match the scope and wording of the Kinds one? |
Unless you already have a CLA in place, Leandro, it _may_ be easier for us
to just fix it. Thanks for pointing it out - yes, it should be like the
Kind plugInfo.
On Thu, Mar 16, 2023 at 1:34 PM Leandro Pedroni ***@***.***> wrote:
I am using an old version of usd, but the example in the docs is still the
same: https://openusd.org/dev/api/pipeline_8h.html
If it is of any help I can put a PR in. Really minor, but the example in
the Kind docs
https://openusd.org/dev/api/kind_page_front.html#mainpage_kind includes
the outer "Info" key, which seems to be required for the registered variant
sets too. Should the UsdUtils pipeline example match the scope and wording
of the Kinds one?
—
Reply to this email directly, view it on GitHub
<#2346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPOU2CN3XOICJPKQLAV34LW4N2O3ANCNFSM6AAAAAAV5WLVPU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
--spiffiPhone
|
Filed as internal issue #USD-8133 |
Description of Issue
When pasting the config example from the UsdUtils Pipeline docs (source)
I get json parsing errors:
With a couple of syntax tweaks everything seems to work.
Steps to Reproduce
/user_data/my_plugin
).env PXR_PLUGINPATH_NAME=$PXR_PLUGINPATH_NAME:/user_data/my_plugin python
from pxr import UsdUtils; UsdUtils.GetRegisteredVariantSets()
System Information (OS, Hardware)
CentOS Linux release 7.6.1810
Package Versions
USD 19.11
The text was updated successfully, but these errors were encountered: