mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
266 stars 94 forks source link

Error while mgear menu generation on startup #265

Closed araifractal closed 1 year ago

araifractal commented 1 year ago

Getting this error while startup

Error: TypeError: file C:\fractal\packages\mgear\4.1.0\release\scripts\mgear\rigbits\weightNode_io.py line 135: '>' not supported between instances of 'NoneType' and 'str'

I've fixed this issue on my system by replacing this line...

plugin_utils.load_plugin_with_path(plugin_list, "weightDriver/plug-ins")

with this....

plugin_utils.load_plugin_with_path(plugin_list, "plug-ins\\weightDriver.mll")

This was tested with Maya 2022 and Maya 2024

miquelcampos commented 1 year ago

@araifractal Thanks for the feedback. I will check this ASAP

miquelcampos commented 1 year ago

@araifractal I think this was fixed here https://github.com/mgear-dev/mgear4/pull/267

Can you confirm on your side?
For the moment I will close this ticket. But please open it again if the error happens again. Thanks