ynput / ayon-ftrack

Apache License 2.0
3 stars 9 forks source link

Action Delivery Error when delivery published item from multiple Root #106

Closed zafrs closed 3 months ago

zafrs commented 4 months ago

Current Behavior:

issue : ayon_ftrack\event_handlers_user\action_delivery.py

When have Multiple Root

its throw error when delivery file from root[render] to root[work] image

its because, anatomy_data has not enough data to fill data on delivery template from representative file image

example file want to delivery: R:\SNBXA\rnd\developer\publish\render\render_compositing\v017\developer_render_compositing_v017_prores.mov

Expected Behavior:

When have Multiple Root its can deliver file from root[render] to root[work] another drive

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. setting Roots image
  2. Publish file on root[render]
  3. Create config delivery template path to root[work]
  4. Open Action Delivery on Ftrack
  5. Delivery representative

Additional context:

I was tried to add some line to update anatomy data on ayon_ftrack\event_handlers_user\action_delivery.py image

and its work expected, but i dont know maybe is there any best option to fix it

zafrs commented 3 months ago

image

im just realizing this feature, i think will use this