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

AYON plugin fail to load inside maya #238

Open
1 task done
Aiacos opened this issue Feb 11, 2025 · 2 comments
Open
1 task done

AYON plugin fail to load inside maya #238

Aiacos opened this issue Feb 11, 2025 · 2 comments
Labels
type: bug Something isn't working

Comments

@Aiacos
Copy link

Aiacos commented Feb 11, 2025

Is there an existing issue for this?

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

Description

Current Behavior

Maya not loading AYON menu

Running userSetup.py from maya plugin inside terminal result in:

> # Error: list indices must be integers or slices, not str
> # Traceback (most recent call last):
> #   File "<maya console>", line 11, in <module>
> #   File "C:\Users\unilo\AppData\Local\Ynput\AYON\addons\core_1.1.0\ayon_core\pipeline\context_tools.py", line 129, in install_host
> #     host.install()
> #   File "C:\Users\unilo\AppData\Local\Ynput\AYON\addons\maya_0.4.3\ayon_maya\api\pipeline.py", line 88, in install
> #     dirmap_processor.process_dirmap()
> #   File "C:\Users\unilo\AppData\Local\Ynput\AYON\addons\core_1.1.0\ayon_core\host\dirmap.py", line 85, in process_dirmap
> #     mapping = self.get_mappings()
> #   File "C:\Users\unilo\AppData\Local\Ynput\AYON\addons\core_1.1.0\ayon_core\host\dirmap.py", line 121, in get_mappings
> #     local_mapping = self._get_local_sync_dirmap()
> #   File "C:\Users\unilo\AppData\Local\Ynput\AYON\addons\core_1.1.0\ayon_core\host\dirmap.py", line 195, in _get_local_sync_dirmap
> #     or sync_settings["sites"][remote_site]["root"][root_name]
> # TypeError: list indices must be integers or slices, not str #

Blender and Houdini working fine

Expected Behavior

Maya AYON menu available on maya load.

Image

Image

Steps To Reproduce:

Running on Freelance setup

Site Sync:

Image

Image

Additional context:

Version

Version of the server: 1.5.4+202411011159
ayon-core: 1.1.0
ayon-maya: 0.4.3
syte-sync: 1.2.2

What platform were you running when you found the bug?

Windows 11

Relevant log output:

@BigRoy
Copy link
Contributor

BigRoy commented Feb 13, 2025

This issue seems to actually be an error originating in ayon_core but has to do with ayon-sitesync too. @kalisp @iLLiCiTiT ?

Error originates from here which gets the settings from here.

@BigRoy BigRoy added the type: bug Something isn't working label Feb 13, 2025
@iLLiCiTiT
Copy link
Member

Yes, looks like issue for ayon-core.

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
Development

No branches or pull requests

3 participants