Skip to content
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

Invalid workspace images file rule value: 'renders\maya' #235

Open
1 task done
johhnry opened this issue Feb 5, 2025 · 0 comments
Open
1 task done

Invalid workspace images file rule value: 'renders\maya' #235

johhnry opened this issue Feb 5, 2025 · 0 comments

Comments

@johhnry
Copy link

johhnry commented Feb 5, 2025

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

Currently with ayon-maya 0.4.2, if I create a basic scene and publish, I get the following error:

DEBUG: Staging dir found: "C:\Users\JOSEPH~1.HEN\AppData\Local\Temp\ay_tmp_dp2pu9mn". Ignoring setting from `project_settings/maya/render_settings/default_render_image_folder`.
Traceback (most recent call last):
  File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\dependency_packages\ayon_2501211400_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\joseph.henry\AppData\Local\Ynput\AYON\addons\maya_0.4.2\ayon_maya\plugins\publish\validate_render_image_rule.py", line 40, in process
    raise PublishValidationError(
ayon_core.pipeline.publish.publish_plugins.PublishValidationError: Invalid workspace `images` file rule value: 'renders\maya'. Must be set to: 'C:\Users\JOSEPH~1.HEN\AppData\Local\Temp\ay_tmp_dp2pu9mn'

Then if I use the Repair button, this is the next error:

Invalid workspace `images` file rule value: 'C:\Users\JOSEPH~1.HEN\AppData\Local\Temp\ay_tmp_dp2pu9mn'. Must be set to: 'C:\Users\JOSEPH~1.HEN\AppData\Local\Temp\ay_tmp_726ku8fd'

Then the Repair action does nothing

Expected Behavior

I don't really understand the why

Steps To Reproduce:

  1. Create a new Maya scene
  2. Publish a render product

Additional context:

Version

ayon-core: 1.0.14
ayon-maya: 0.4.2

What platform were you running when you found the bug?

Windows 10

What is strange is that the workspace value for images is defined here:

'workspace -fr "images" "renders/maya";',

but then it is set to a temporary folder. Why is that?

Relevant log output:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant