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

__import__ called with illegal value of level #473

Open
TonyKaap opened this issue Sep 18, 2023 · 0 comments
Open

__import__ called with illegal value of level #473

TonyKaap opened this issue Sep 18, 2023 · 0 comments

Comments

@TonyKaap
Copy link

import is being called from load() in uitypes.py with a value of level=-1 . This is causing Attribute Editor failures in py3 versions of Maya.

Changed in version 3.3: Negative values for level are no longer supported (which also changes the default value to 0).
https://docs.python.org/3/library/functions.html#import__

https://github.com/LumaPictures/pymel/blob/5fbe189fc0e0e1fdf056be2dd2ae63d26ca33ed5/pymel/core/uitypes.py#L3910

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

1 participant