Or actually the error (I missed that in your post at first) says it's a 
signature error. That 'str' there should be unicode object. You can force it to 
unicode using

label = u"label text"

Where the 'u' explicitly states that it should be a unicode object.

Funnily enough I can't remember seeing this particular issue before, and it's 
interesting it works in one of the two systems:

- Does it have same Python version?
- Are you enforcing future imports in one rof the two? (from __future__ import 
something) Something like that.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/d24c72d0-a5ac-49b6-a8d3-2b59a842573a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to