Closed Illogicstudios closed 1 year ago
Looking at the logs you're running QML through Python 3.10. I'm not entirely sure whether QML is Py3.10+ compatible but I suppose @mottosso might know.
~What's your Maya version?~ I should've read better - it's Maya 2022 which comes with Python 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)]
What's your PySide/Qt version for the Py 3.10 interpreter?
Just for sake of debugging, could you share your ValidatorPlugin.py
code (even if it's coming from an example somewhere) since the error points there with the "Bad number Exception" it might be nice to be able to try it too. That's likely your own raised error in the plugin, yes? Could you try have it raise a RuntimeError
just to see if that triggers different behavior?
Definitely use Maya's bundled version, 3.7 up to 3.9 I think. It'll ship with PySide2 as well, so no need for any external install. If you use Pyblish with other DCCs, your safest bet is to either continue using mayapy
(despite the name, it's a regular old Python distribution) or install 3.7 explicitly.
Ok thank you I will try that
By using Python3.7.7 I'm able to install a good version of Qt and then run QML correctly. It was only a version problem. Thank you
When a Plugin or an instance is shown with a valid or invalid state (green and red indicator), a click on the little arrow on the left crashes pyblish. I have very standard code that I did with the tutorials.
https://github.com/pyblish/pyblish-qml/assets/117286626/e6760161-9351-42f2-8060-86a811c2269b
I'm on Maya 2022 on Windows 10.