Skip to content

Resolve breaks if not installed in /opt/resolve #48

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

Open
ddesmond opened this issue Jan 23, 2025 · 2 comments
Open

Resolve breaks if not installed in /opt/resolve #48

ddesmond opened this issue Jan 23, 2025 · 2 comments

Comments

@ddesmond
Copy link

ddesmond commented Jan 23, 2025

Resolve breaks if not installed in /opt/resolve

We dont ship resolve as /opt/resolve, which can be dealt with a symlink, but a better option would be not to have hardcoded paths.

expected_path = "/opt/resolve/libs/Fusion/Modules"

@BigRoy
Copy link
Contributor

BigRoy commented Jan 23, 2025

I believe you're best of specifying the relevant PYTHONPATH in app settings if not existing in that location, as described here: https://github.com/ynput/ayon-resolve/blob/577b75ea436b3a16a03cfbf71294e9877f9b9df7/client/ayon_resolve/api/utils.py#L24C13-L24C24

Would that suit your needs?

I'm not sure we could best dynamically find the correct path otherwise regardless of where it's installed - if you do, a PR is welcome!

@BigRoy BigRoy added the type: bug Something isn't working label Jan 23, 2025
@ddesmond
Copy link
Author

App settings is ok and python is ok - that part works. The hardcoded paths then fall apart...

Ill see what i can do :)

@mkolar mkolar removed the type: bug Something isn't working label Feb 25, 2025
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

3 participants