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

Maya doesn't load OpenPype workfiles tool #1944

Closed
mkolar opened this issue Aug 18, 2021 · 0 comments · Fixed by #1945
Closed

Maya doesn't load OpenPype workfiles tool #1944

mkolar opened this issue Aug 18, 2021 · 0 comments · Fixed by #1945
Labels
type: bug Something isn't working

Comments

@mkolar
Copy link
Member

mkolar commented Aug 18, 2021

In maya we are accidentally loading default avalon workfiles tool, which is causing troubles in certain situations.

Specifically when trying to create a new file on a task that doesn't yet have work area created, we get nothing with this traceback.

# Traceback (most recent call last):
#   File "C:\Users\milan\code\openpype\repos\avalon-core\avalon\tools\workfiles\app.py", line 613, in on_save_as_pressed
#     self.initialize_work_directory()
#   File "C:\Users\milan\code\openpype\repos\avalon-core\avalon\tools\workfiles\app.py", line 652, in initialize_work_directory
#     app_definition = pipeline.lib.get_application(app_name)
#   File "C:\Users\milan\code\openpype\repos\avalon-core\avalon\lib.py", line 160, in get_application
#     "No application definition could be found for '%s'" % name
# ValueError: No application definition could be found for 'maya/2020'
@mkolar mkolar added the type: bug Something isn't working label Aug 18, 2021
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

Successfully merging a pull request may close this issue.

1 participant