Maya Python API issue

Maya version: 2011 SP1

I’ve written a python API plug-in with a custom node for our pipeline. I only use OpenMaya modules and It works great, but if I unload the plugin I get an error from PyMEL…?

// Error: file: C:/Program Files (x86)/Autodesk/Maya2011/scripts/others/pluginWin.mel line 1326: 'dictproxy' object has no attribute 'pop'
# Traceback (most recent call last):
#   File "C:\Program Files (x86)\Autodesk\Maya2011\Python\lib\site-packages\pymel\core\__init__.py", line 185, in _pluginUnloaded
#     _factories.removePyNode( nodetypes, node )
#   File "C:\Program Files (x86)\Autodesk\Maya2011\Python\lib\site-packages\pymel\internal\factories.py", line 2817, in removePyNode
#     dynModule.__class__.__dict__.pop(pyNodeTypeName,None)
# AttributeError: 'dictproxy' object has no attribute 'pop' // 

Any idea?

Looks like it’s PyMEL bug.

Found in their bug database the same error with the muscle plug-in in some Maya version, but it said it was fixed. Apparently not in the version shipped with Maya 2011 SP1.

Very pleased to find this site. Thanks for taking the time to share this.