Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Publishing of Tile render is not working with Draft #3764

Closed
m-u-r-p-h-y opened this issue Aug 31, 2022 · 6 comments
Closed

Publishing of Tile render is not working with Draft #3764

m-u-r-p-h-y opened this issue Aug 31, 2022 · 6 comments
Assignees
Labels
type: bug Something isn't working

Comments

@m-u-r-p-h-y
Copy link
Member

m-u-r-p-h-y commented Aug 31, 2022

Describe the bug

When tile render is submitted to Deadline farm with Draft plugin set in settings:

the tiles are rendered correctly

image

the tiles are assembled correctly

image

but it fails on publish as there is a mismatch of the file name (frame number?)

2022-08-31 12:22:15:  0: STDOUT: ERROR:pyblish.plugin:Traceback (most recent call last):
2022-08-31 12:22:15:  0: STDOUT:   File "d:\REPO\OpenPype\.venv\lib\site-packages\pyblish\plugin.py", line 522, in __explicit_process
2022-08-31 12:22:15:  0: STDOUT:     runner(*args)
2022-08-31 12:22:15:  0: STDOUT:   File "d:\REPO\OpenPype\openpype\modules\deadline\plugins\publish\validate_expected_and_rendered_files.py", line 72, in process
2022-08-31 12:22:15:  0: STDOUT: RuntimeError: Missing expected files: ['Main_beauty.0001.exr']
2022-08-31 12:22:15:  0: STDOUT: Traceback (most recent call last):
2022-08-31 12:22:15:  0: STDOUT:   File "d:\REPO\OpenPype\.venv\lib\site-packages\pyblish\plugin.py", line 522, in __explicit_process
2022-08-31 12:22:15:  0: STDOUT:     runner(*args)
2022-08-31 12:22:15:  0: STDOUT:   File "<string>", line 72, in process
2022-08-31 12:22:15:  0: STDOUT: RuntimeError: Missing expected files: ['Main_beauty.0001.exr']
2022-08-31 12:22:15:  0: STDOUT: !!! ERR: 2022-08-31 12:22:15,464 >>> { CLI-publish }: [  FAILED ValidateExpectedFiles: Missing expected files: ['Main_beauty.0001.exr'] -- ('d:\\REPO\\OpenPype\\openpype\\modules\\deadline\\plugins\\publish\\validate_expected_and_rendered_files.py', 72, 'process', '')  ] 
2022-08-31 12:22:15:  0: STDOUT: >>> run disk mapping command ...

Draft is producing

final output location: D:/PROJECTS/murphy_22101/shots/sh030/work/lighting/renders/maya/22101_sh030_workfileLighting_v011/Main/Main_beauty.1001.exr

But publish is looking for Main_beauty.0001.exr

[cuID:OP-3860]

@m-u-r-p-h-y m-u-r-p-h-y added the type: bug Something isn't working label Aug 31, 2022
@vonbehr
Copy link

vonbehr commented Sep 23, 2022

It works as long as you render frame 1.

@BigRoy
Copy link
Collaborator

BigRoy commented Sep 23, 2022

@vonbehr what were the filenames you ended up with for that single frame? Did those differ from what @m-u-r-p-h-y described?

@m-u-r-p-h-y
Copy link
Member Author

it works if your render sequence starts with frame 0001

that is the issue.
default OP sequence usually starts with 1001 and publish should know that . . .

@BigRoy
Copy link
Collaborator

BigRoy commented Sep 23, 2022

Ah sorry - I read the other comments as "as long as you write 1 frame" instead of "as long as you write frame 1". Thanks for clarifying.

@vonbehr
Copy link

vonbehr commented Oct 17, 2022

@vonbehr what were the filenames you ended up with for that single frame? Did those differ from what @m-u-r-p-h-y described?

If I render frame 0001 as a tile render, I end up with a filename without frame number. But the publishing does work.
E.g. 22035_layoutSet03_renderSetdressSpherical__v024.exr

@tokejepsen
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants