Community
Strange, because I've never seen any other reports of this.
What happens in you run this Python in the script editor?
gTextColumnWidthIndex = mel.eval("$tempVar=$gTextColumnWidthIndex;") print -gTextColumnWidthIndex
Do you get the same error?
I suppose you could change line 45 like this:
aof=[('swatchLabel', "right", -int(gTextColumnWidthIndex))],
but the question is why does this happen on this one system?
🙂 I have fixed this error, i delete maya folder in Document Folder -> It oke 🙂 Thanks bro 😄
In response to the Python code I get this '# Error: TypeError: file <maya console> line 3: bad operand type for unary -: 'unicode' # ' instead of line 45 as it was in the above example. I'm using Maya 2019.