generated from ynput/ayon-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues and added correct labels.
Description
Current Behavior
I had tried both approaches: with reparenting settings set to gather all assets within assets folder and also generic one where SG asset tracking was set to be Type>asset. Reparenting way only works if manual synchronization is triggered, but not by events.
Addon default settings works only by events if SG asset is created first, but if it is created at AY side, it is crashing (see bellow log traceback)
Expected Behavior
Synchronization should work in all ways
Steps To Reproduce:
No response
Additional context:
Version
0.6.4
.
What platform were you running when you found the bug?
Windows
You can also provide any additional information relevant to the issue.
Relevant log output:
AY to SG asset event processed by transmitter:
Unable to create Asset <51e6feb0737b11f0862f81d50887a305> in Shotgrid!
Traceback (most recent call last):
File "/service/ayon_shotgrid_hub/update_from_ayon.py", line 84, in create_sg_entity_from_ayon_event
sg_parent_entity = _get_sg_parent_entity(
^^^^^^^^^^^^^^^^^^^^^^
File "/service/ayon_shotgrid_hub/update_from_ayon.py", line 194, in _get_sg_parent_entity
int(sg_parent_id)
ValueError: invalid literal for int() with base 10: 'character'
2025-08-07 10:42:50.498 INFO: Event has been processed... setting to finished!
2025-08-07 10:42:58.711 ERROR: Unable to create Task <5672a150737b11f0862f81d50887a305> in Shotgrid!
Traceback (most recent call last):
File "/service/ayon_shotgrid_hub/update_from_ayon.py", line 84, in create_sg_entity_from_ayon_event
sg_parent_entity = _get_sg_parent_entity(
^^^^^^^^^^^^^^^^^^^^^^
File "/service/ayon_shotgrid_hub/update_from_ayon.py", line 194, in _get_sg_parent_entity
int(sg_parent_id)
ValueError: invalid literal for int() with base 10: 'character'
2025-08-07 10:42:58.712 INFO: Event has been processed... setting to finished!Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working