Skip to content

Error while contacting GitHub - after plugin update #68

contumax opened this Issue Feb 5, 2013 · 6 comments

5 participants

contumax commented Feb 5, 2013

Ubuntu 12.04, this is what console says:

Traceback (most recent call last):
  File "./", line 168, in _fn
  File "./", line 571, in run
  File "./", line 279, in get_gists
  File "./", line 353, in api_request_native
  File ".\", line 126, in urlopen
  File ".\", line 391, in open
  File ".\", line 414, in _open
  File ".\", line 369, in _call_chain
  File ".\", line 1194, in unknown_open
URLError: <urlopen error unknown url type: https>
error: Gist: Error while contacting GitHub

Thanks for looking into this issue.

benmj commented Feb 6, 2013

I'm experiencing the same issue.

OS: Ubuntu 12.04 running Unity
Sublime Text 2.0.1 Build 2217
Plugin Version: pulled from Github (although package management version receives same error).


Hi Anton Vérinov,

I pulled in of Feb 1 commit ( and things were back to normal in Sublime Text 2.

Possibly the recent changes to on Feb 3 (, that introduced updates in the usage of urllib2 in may need some attention.


condemil commented Feb 6, 2013

Must be fixed now

contumax commented Feb 7, 2013

Thanks Dmitry it works again. It would be great to move user&pass/token to some "user" file so you don't have to reenter credentials every time there is an update.

condemil commented Feb 7, 2013

You need to enter it in User Settings (Preferences -> Package Settings -> Gist -> Settings - User), not in Settings - Default.

@condemil condemil closed this Aug 3, 2013
levacic commented Apr 29, 2014

It doesn't work for me in Sublime Text 3 (build 3061), on Linux Mint 15:

Traceback (most recent call last):
  File "gist in /home/levacic/.config/sublime-text-3/Installed Packages/Gist.sublime-package", line 105, in _fn
  File "gist in /home/levacic/.config/sublime-text-3/Installed Packages/Gist.sublime-package", line 625, in run
  File "gist in /home/levacic/.config/sublime-text-3/Installed Packages/Gist.sublime-package", line 289, in get_gists
  File "gist in /home/levacic/.config/sublime-text-3/Installed Packages/Gist.sublime-package", line 380, in api_request_native
  File "./urllib/", line 156, in urlopen
  File "./urllib/", line 469, in open
  File "./urllib/", line 492, in _open
  File "./urllib/", line 447, in _call_chain
  File "./urllib/", line 1310, in unknown_open
urllib.error.URLError: <urlopen error unknown url type: https>

Some research shows that this is a bug with Sublime Text on Linux:

Sorry for dumping so many links to you, just wanted to show you that this is a known issue.

As it is, I'm unable to use this package on my home computer. But the weird thing is - I'm pretty sure it works on my work computer (unless I'm remembering incorrectly), which is also running Linux Mint 15.

I can't access my work computer now, but I'll be at the office tomorrow - is there any specific debug info I could give you to help solve this problem?

And if it's actually ST3's fault (as the links suggest), would you be interested in coding a workaround to use curl or something else that's available?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.