I'm running a python script (python 3.6) through Autosys R11.3.6. and I'm getting an error as "Python unicodeencodeerror 'ascii' codec can't encode character u' u2018'"error. But the same python script is running fine if I execute it through command prompt. Any suggestion would be greatly Appreciated.
Hi,
Is the script opening and closing files that start with u?
Also, what it the agent install directory?
Please see this link for Agent directory starting with u.
Thank you,
Nitin Pande
CA Technologies
AutoSys 101. if it runs from the command line and autosys is having issues, it means there's and environmental setting that is available when interactive that IS not available to the code. and you must add that setting. It could also be an issue with the code.
I suggest lookig out there and finding how to fix it. here is just one example.
python - UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 20: ordinal not in range(128) - St…
Steve C.
the locale variable is not set properly in the profile file. I've updated it and the job worked fine after that