Closed contumax closed 11 years ago
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 gist.py of Feb 1 commit (https://raw.github.com/condemil/Gist/e6df4f0e00a6d023a8009ea02216f7dc0c6754dc/gist.py) and things were back to normal in Sublime Text 2.
Possibly the recent changes to gist.py on Feb 3 (https://github.com/condemil/Gist/blob/28389a318f5c420e4622a5fcccf6f893497aa2a0/gist.py), that introduced updates in the usage of urllib2 in gist.py may need some attention.
Thanks, -Santhosh.
Must be fixed now
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.
You need to enter it in User Settings (Preferences -> Package Settings -> Gist -> Settings - User), not in Settings - Default.
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/request.py", line 156, in urlopen
File "./urllib/request.py", line 469, in open
File "./urllib/request.py", line 492, in _open
File "./urllib/request.py", line 447, in _call_chain
File "./urllib/request.py", 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?
Thanks!
Ubuntu 12.04, this is what console says:
Thanks for looking into this issue.