September 29, 2013

Parse deploy UnicodeDecodeError fix

I've met an amusing bug just right now. My projects are based on Parse Cloud service, and today I've tried to deploy my code from my main Win7 machine. I'm russian guy and my OS has russian localization. So..

Previously I've never met this error, because Python is not my favorite language (and I worked with it on English OSX before). I've instantly googled and found that I should change the code to fix it. Unfortunately I couldn't make it this way - Parse CLT is a binary only.

Then the magic happened.

Fix is very simple - you should delete all non-latin Mime types from your system (f.e. I have few them in Russian). The location is:

And Then John Was A Zombie it works ok now.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.