Yinglei
I am trying to recreate the mesh fitting setup from the demo scene and got this when i hit slove:

Solving:
stage 1
# Warning: No objects were removed from the set #
# Error: object of type 'NoneType' has no len()
# Traceback (most recent call last):
# File "<maya console>", line 11206, in __solve
# File "<maya console>", line 10953, in solve
# File "<maya console>", line 10583, in _relax
# TypeError: object of type 'NoneType' has no len() #

Wonder if there's something i did wrong. This is in Maya 2018, windows 8.1 pro

44444.png 
Quote 0 0
pshipkov
Just tried that and everything seems to be working as expected.
Can you try again in a new Maya session ?
Thanks.
Quote 0 0
Yinglei
Thanks for your quick reply Peter, I tried a new Maya session, and a new install, still doesn't work.

Solving:
stage 1
MASHnewNodeCallback( "smoothSimple1");
from maya import OpenMaya as om; om.MFileIO.isReadingFile()
# Result: False #
mayaHasRenderSetup;
// Result: 1 //
mayaHasRenderSetup;
// Result: 1 //
mayaHasRenderSetup;
// Result: 1 //
mayaHasRenderSetup;
// Result: 1 //
# Error: TypeError: file <maya console> line 10574: object of type 'NoneType' has no len() #
Quote 0 0
pshipkov
There is something really wrong going on here. Why is MASH interfering ?
Let's try one more thing - load the scene. Open the PluginManager and force unload the MASH plugin.
Run the solve again.
Quote 0 0
Yinglei
Thank you Peter.
Don't think the error was triggered by MASH (not sure why it's there...). Just jumped onto a different machine and unload all the plug-ins, then rebuilt the same scene, still have the same result. In my script editor:

// Result: scriptEditorPanel1Window|scriptEditorPanel1|formLayout112|formLayout114|paneLayout9|cmdScrollFieldReporter2 //
Solving:
stage 1
mayaHasRenderSetup;
// Result: 1 //
mayaHasRenderSetup;
// Result: 1 //
# Warning: No objects were removed from the set #
mayaHasRenderSetup;
// Result: 1 //
mayaHasRenderSetup;
// Result: 1 //
mayaHasRenderSetup;
// Result: 1 //
# Error: object of type 'NoneType' has no len()
# Traceback (most recent call last):
# File "<maya console>", line 11205, in __solve
# File "<maya console>", line 10952, in solve
# File "<maya console>", line 10582, in _relax
# TypeError: object of type 'NoneType' has no len() #
plugNodeStripped "smoothSimple1";
// Result: smoothSimple1 //
plugNodeStripped "pSphereShape2Orig";
// Result: pSphereShape2Orig //
plugNodeStripped "tweak1";
// Result: tweak1 //
plugNodeStripped "smoothSimple1Set";
// Result: smoothSimple1Set //
plugNodeStripped "tweakSet1";
// Result: tweakSet1 //
refreshAE;
Quote 0 0
pshipkov
Let me try few more times to break it here.

In the meantime - if anyone else is having this problem - please reply.
Thanks.
Quote 0 0