I added a popup handler for 3dsmax (Deadline 5), and it works fine on machines where System language is english. But on some machines Windows is non English, so OK button is not English. When i write non-english OK to py script, it gives error “… non ascii characters in py script”. Is there a way to encode non-english “OK” in py script or tell the script just press any button (because there is only one)? Silent mode does not help either in this case…
Hello,
We are in the process of trying to see if we have the ability to do this now in Deadline 6 and 7, as one of our devs thought we had a unicode bug in Deadline 5. In general we recommend the use of English language machines, especially on the render nodes, as our popup and error handling is based around english language errors. I’ll let you know when I have tested internally regarding unicode characters, though. It is likely, at best, that you might need to upgrade to 6 or 7.
Hi,
After some testing, we can confirm that non-english, ascii characters work fine in our python scripts in Deadline v6 and onwards (I tested and verified that v6.2.1.50 & latest v7.0 beta work fine).
Here’s the example I used to test with, by adding a PopUpHandler containing unicode non-English characters:
self.AddPopupHandler( u"3ds Max application", u"\u0420\u043e\u0441\u0441\u0438\u044f" )
This works fine in v6 & v7 and I understand we did have a bug in v5 which stopped this from working, so as we won’t be releasing any further updates to v5, especially as v7 is now pretty much complete and ready to ship, I would recommend either updating to v6.2.1.50 or making sure you force the use of “English” language machines for the time being.