ynput / ayon-maya

Maya addon for AYON
Apache License 2.0
6 stars 9 forks source link

AY-6092_ma mb representation interchange #111

Closed ynbot closed 1 month ago

ynbot commented 2 months ago

Please describe the issue you have acountered?

There is an issue when settings are changed for Maya format from .ma to .mb in the middle of version stream

Loader is always expecting the extension for which the original product was loaded

# File read in  0.024 seconds.
Using existing QApplication..
# Traceback (most recent call last):
#   File "c:\Users\murph\Documents\Ayon\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 366, in <lambda>
#     lambda: self._show_version_dialog(item_ids, active_repre_id)
#             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#   File "c:\Users\murph\Documents\Ayon\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 843, in _show_version_dialog
#     self._update_containers_to_version(
#   File "c:\Users\murph\Documents\Ayon\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 1032, in _update_containers_to_version
#     self._update_containers(item_ids, versions)
#   File "c:\Users\murph\Documents\Ayon\REPO\ayon-core\client\ayon_core\tools\sceneinventory\view.py", line 1007, in _update_containers
#     update_container(container, item_version)
#   File "c:\Users\murph\Documents\Ayon\REPO\ayon-core\client\ayon_core\pipeline\load\utils.py", line 513, in update_container
#     raise ValueError(
# ValueError: Representation 'mb' wasn't found on requested version

How to replicate the issue?

No response

Additional context:

() (might be a private channel)

This issue was automatically created from Clickup ticket AY-6092