-
Notifications
You must be signed in to change notification settings - Fork 0
Use representation traits #3
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
Conversation
|
modelThumb_meta_data.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not quite working as we dont have the backward compatibility for integrator.
publish-report-251221-15-11.json
I also got this when loading the data
During load error happened on Product: "modelObj" Representation: "obj" Version: 1
Error message: the JSON object must be str, bytes or bytearray, not NoneType
Traceback (most recent call last):
File "D:\ayon-core\client\ayon_core\tools\loader\models\actions.py", line 1005, in _load_representations_by_loader
load_with_repre_context(
File "D:\ayon-core\client\ayon_core\pipeline\load\utils.py", line 327, in load_with_repre_context
return loader.load(repre_context, name, namespace, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ayon-core\client\ayon_core\pipeline\load\plugins.py", line 419, in wrapped_method
result = original_method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ayon-addon_template\ayon-marvelous-designer\client\ayon_marvelousdesigner\plugins\load\load_pointcache.py", line 48, in load
trait_data=json.loads(traits_raw),
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Public/Documents/MarvelousDesigner/Configuration/python311/Lib\json\__init__.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
…o feature/use-traits
…ntext data and representation trait
…o feature/use-traits
|
I have tested with ynput/ayon-core#1627 and but the integrator is still errored out with two different errors respectively when testing to publish with different product types. |
…o feature/use-traits
…o feature/use-traits
…o feature/use-traits
This one is because you are integrating 3 representations with the same name "pointcache"
This one is easy - representation has invalid name - |
Thank you! |
Changelog Description
This PR demonstrate use of representation traits for data published and loaded to Marvelous Designer.
Note
This PR is targeting #2