bgreenlee / sublime-github

Sublime Text 2/3 plugin that provides a number of useful commands for GitHub.
MIT License
455 stars 98 forks source link

Open gist in editor not working in Windows 8 #61

Open xVGERx opened 10 years ago

xVGERx commented 10 years ago

I can create a new Gist without any problem but I am getting an error when trying to open a Gist in the editor Windows 8 Sublime Text2 v2.0.2

Console Output: Traceback (most recent call last): File ".\sublime_github.py", line 183, in on_done content = self.gistapi.get(filedata["raw_url"]) File ".\github.py", line 97, in get return self.request('get', endpoint, params=params) File ".\github.py", line 126, in request "please verify your internet connection: %s" % e) github.ConnectionException: Connection error, please verify your internet connection: [Errno 1] _ssl.c:480: error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm

flq commented 10 years ago

Yup, same here. Windows 8.1, sublime 2.0.2 - this is 18 days old...looks like nobody is after this?

bgreenlee commented 10 years ago

Sorry, been pretty busy, and it's a bit of a pain for me to spin up Windows + ST2. I'll try to look at it soon. In the meantime, have you tried ST3?

(I will probably drop support for ST2 at some point. Maintaining 3 platforms * 2 versions is a major pain.)

flq commented 10 years ago

I can imagine the pain! I switched over to sublime 3 and it works there, so that's fine with me. I had to do one thing, though if anybody wants to do the same:

If you already produced an access token from sublime 2, an error will happen when you try to do the same in ST3, complaining that there already is a token. However, you can delete the token from the settings page of your github account (under applications), then you can recreate it and so far it runs fine.

Cool plugin!

xVGERx commented 10 years ago

Updated to ST3 and everything seems to be working fine. Thank you, very handy plugin!

texastoland commented 9 years ago

@bgreenlee I encountered the exact issue @flq described except on OS X. It might be nice to catch that exception and suggest deleting their token unless you know a friendlier way.

bgreenlee commented 9 years ago

@dnalot Thanks for the suggestion, I created a new issue for that. I suspect it's a quick fix; I'll look at it a bit later.

DanielBadan commented 9 years ago

I still get the error in ST3, and have no commands in command palette, has anyone found a fix for it? p.s. sorry for my english