-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoding Error (Response 102) #33
Comments
Latest version released today(v3.0.11) of the plugin might fix this, since simplejson was updated to it's latest version. Can you try it out? |
It's not yet updated in Package Control (I saw you released it just 15 min ago). Can I just copy the new release over the 3.0.10 in Sublime's |
It's updated now. I think you can force an update by re-launching ST. |
I waited until Package Control said 3.0.11 and installed it again, but sadly, the error remains:
I installed Python 3, should I use 2.* instead? How can I give you any more info about what could be the issue? |
I think I've fixed the problem with 1a6f588, you can use v3.0.12 or uninstall WakaTime with Package Control then copy the sublime-wakatime repo folder into |
After a bit of wrangling (I don't know python) I managed to get this as the
The characters in position 29-31 are apparently invalid. Will try to overwrite with the new version now. |
Seems like it's the German umlaut |
The issue persists... :( |
Thanks! I'll get a fix out soon. |
So I'll fix the encoding issue, but the original problem is:
This looks like an old version of ssl, maybe from using an old version of Python? |
Seems like it's fresh enough. I just downloaded and installed Python yesterday. |
After a bit of experimenting with a custom plugin, I found that Sublime Text 2 on Windows ships with it's own Python interpreter for plugins: I am now in the process of finding out how to get Sublime to use a newer Python, if that is possible at all. According to http://stackoverflow.com/a/28591892/4204380, only Sublime on OSX uses the system's python version for plugins. Edit 1: Edit 2: Edit 3: |
Found the issue: Sublime Text 2's Python ships with an SSL module. A very old one, but it's still there. But it's so minimal, it doesn't even include the This means, that when The trick is to try to call
Now, WakaTime correctly checks the system for a Python interpreter and uses that together with its SSL module, instead of the bundled version. |
Oh great work debugging this! v3.0.13 includes the extra SSL check. |
On every action in Sublime Plugin:
I use utf8, Sublime 2, Windows is in German, Window 7 x64
Also, nothing is being written in the
wakatime.log
file in my Home Folder.The text was updated successfully, but these errors were encountered: