i added u'label', but does not work. no not two version of code. i have a py file and a bat file. when i run the bat file that call the py file, in my system it does not work. when i run the bat file (shared its folder) in clean VM it works
make sense? i didn't change qtawesome code On Fri, Feb 12, 2016 at 11:23 AM, Roy Nieterau <[email protected]> wrote: > 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. > -- Bests, madoodia -- 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/CADvbQwLBv_z3mFUv%2BqsPrZw_UnSTGkRYZE6drEV8GxLYq%3DdSkg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
