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

UNC paths don't work on Houdini template paths #66

Closed
2 tasks done
MustafaJafar opened this issue Aug 8, 2024 · 1 comment · Fixed by #74
Closed
2 tasks done

UNC paths don't work on Houdini template paths #66

MustafaJafar opened this issue Aug 8, 2024 · 1 comment · Fixed by #74
Labels
type: bug Something isn't working

Comments

@MustafaJafar
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

This line is the responsible for this weird behavior

path = hou.text.expandString(path)

Where it trims all the slashes (except one) at the beginning of the path.

Will looking for alternatives.

Expected Behavior:

UNC paths should work

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. Set your houdini template path to a UNC path
  2. Build workflie from template
  3. Houdini should complain, it can't find the template path.

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "E:\Ynput\ayon-houdini\client\ayon_houdini\api\workfile_template_builder.py", line 245, in build_workfile_template
    builder.build_template()
  File "E:\Ynput\ayon-core\client\ayon_core\pipeline\workfile\workfile_template_builder.py", line 523, in build_template
    template_preset = self.get_template_preset()
  File "E:\Ynput\ayon-houdini\client\ayon_houdini\api\workfile_template_builder.py", line 135, in get_template_preset
    raise TemplateNotFound(
ayon_core.pipeline.workfile.workfile_template_builder.TemplateNotFound: Template found in AYON settings for task 'cfx' with host 'houdini' does not exists. (Not found : \storage\studio\templates\my_houdini_template.hip)

Additional context:

No response

@MustafaJafar MustafaJafar added the type: bug Something isn't working label Aug 8, 2024
@MustafaJafar
Copy link
Contributor Author

Currently, there's a work around. This works on my side.

  1. Added a new Houdini Var.
  2. Used it in the template profile path

image

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