OP-6382 - Thumbnail Integration Problem#6156
Conversation
|
Task linked: OP-6382 Thumbnail integration problem |
LiborBatek
left a comment
There was a problem hiding this comment.
Did test the first case using Tray Publisher
and getting this error on Integrate Asset
DEBUG: Establishing staging directory @ C:\Users\lbate\AppData\Local\Temp\traypublisher_70zblecs
DEBUG: Looking for matching profile for: hosts: "traypublisher" | families: "image" | task_names: "art" | task_types: "Art"
DEBUG: "image" not found in "families": ['review', 'render', 'prerender']
DEBUG: "traypublisher" not found in "hosts": ['standalonepublisher']
DEBUG: "traypublisher" not found in "hosts": ['maya']
DEBUG: "image" not found in "families": ['online']
DEBUG: "traypublisher" not found in "hosts": ['max']
DEBUG: Profile selected: {'hosts': [], 'task_types': [], 'task_names': [], 'template_name': 'publish', 'families': []}
DEBUG: Subset: imageReference
DEBUG: http://localhost:5000 "POST /graphql HTTP/1.1" 200 105
DEBUG: Response <RestApiResponse [200]>
INFO: Subset 'imageReference' not found, creating ...
DEBUG: Prepared subset: imageReference
DEBUG: http://localhost:5000 "POST /graphql HTTP/1.1" 200 105
DEBUG: Response <RestApiResponse [200]>
DEBUG: Source: C:\Projects\Temp_Data\volcanoFiction.png
DEBUG: Creating new version ...
DEBUG: Prepared version: v001
DEBUG: http://localhost:5000 "POST /graphql HTTP/1.1" 200 112
DEBUG: Response <RestApiResponse [200]>
DEBUG: Anatomy template name: publish
DEBUG: Anatomy template name: publish
Traceback (most recent call last):
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\plugins\publish\integrate.py", line 183, in process
self.register(instance, file_transactions, filtered_repres)
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\plugins\publish\integrate.py", line 283, in register
file_transactions.add(src, dst)
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\lib\file_transaction.py", line 98, in add
raise DuplicateDestinationError(
openpype.lib.file_transaction.DuplicateDestinationError: Transfer to destination is already in queue: C:\Projects\Temp_Data\volcanoFiction.png -> C:\projects\Ayon_Tests\2d_comps\artwork_A\publish\image\imageReference\v001\ATS_artwork_A_imageReference_v001.png. It's not allowed to be replaced by a new transfer from C:\Projects\Temp_Data\volcanoFiction_prev.png
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\lbate\AppData\Local\Ynput\AYON\dependency_packages\ayon_2401161802_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
runner(*args)
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\plugins\publish\integrate.py", line 188, in process
six.reraise(KnownPublishError,
File "six.py", line 718, in reraise
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\plugins\publish\integrate.py", line 183, in process
self.register(instance, file_transactions, filtered_repres)
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\plugins\publish\integrate.py", line 283, in register
file_transactions.add(src, dst)
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\openpype_3.18.5-nightly.2\openpype\lib\file_transaction.py", line 98, in add
raise DuplicateDestinationError(
openpype.pipeline.publish.publish_plugins.KnownPublishError: Transfer to destination is already in queue: C:\Projects\Temp_Data\volcanoFiction.png -> C:\projects\Ayon_Tests\2d_comps\artwork_A\publish\image\imageReference\v001\ATS_artwork_A_imageReference_v001.png. It's not allowed to be replaced by a new transfer from C:\Projects\Temp_Data\volcanoFiction_prev.png
I was using two PNG images heres my Publisher settings
|
Guess the error above is related to this code: OpenPype/openpype/plugins/publish/integrate.py Lines 179 to 181 in c8e00d4 when allow_queue_requirements set to False
|
|
Did anotther test step (05) and Im getting error on DL for publish job: |
|
In the last testing step with |
@LiborBatek I've replicated here and it works. I can see what you are using |
You can build from within your OP Repo by
then just locate the folder I rather do it this way...to be sure it works really. Not much using developer mode... |
|
@tokejepsen ok I re did the test again and double checked my addons being correctly set and in Went smoothly in Tray Publisher and with thumbnails integrated on Ayon too |
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
this is adding #6156 to 3.17


Changelog Description
This ticket alerted to 3 different cases of integration issues;
ExtractOIIOTranscode.ExtractThumbnailThere might be an issue with this fix, if a studio does not use the
{output}token in theirrenderanatomy template. But thinking if they have customized it, they will be responsible to maintain these edge cases.Testing notes:
Use Tray Publisher to publish

Imagewith two different images of same extension.Publish should succeed.
Setup

ayon+settings://core/publish/ExtractOIIOTranscode/profileswith settings below.Setup single frame render from Maya and publish to Deadline.
Publish on Deadline should succeed.
Setup

ayon+settings://core/publish/ExtractOIIOTranscode/profileswith settings below (just addingreviewtag from above settings).Setup single frame render from Maya and publish to Deadline.
Publish on Deadline should succeed.