Unicode Exception upon deploying to robot #176
|
Also, it occurs to me -- are you on Windows 10? I feel like something about the console changed there, and I haven't tested on Windows 10 yet. |
|
Yes, I'm using Windows 10. The locale is set to US English. |
|
Sometimes netconsole can spit out a bit of junk at the initial connection (you can see this in the Driver Station log as well). I would recommend the python netconsole catch this exception and fall back to doing something like displaying as escaped characters instead. |
|
This is a Windows 10/Python 3.5 specific issue, I was able to duplicate it on a Windows 10 laptop. I think the correct answer is to have python escape undecodable characters, I'll try to get this fixed tonight. |
|
Fixed, pushed to pypi. You can get the fix by doing |
When I try to deploy code to the robot with:
I get a
UnicodeEncodeErrorthrown from the netconsole. I'm confident that this doesn't have anything to do with my code, because it's thrown when I run any of the examples as well.Here's the contents of the console: