Git Product home page Git Product logo

Comments (6)

benmj avatar benmj commented on August 19, 2024

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).

from gist.

settipalli avatar settipalli commented on August 19, 2024

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.

from gist.

condemil avatar condemil commented on August 19, 2024

Must be fixed now

from gist.

contumax avatar contumax commented on August 19, 2024

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.

from gist.

condemil avatar condemil commented on August 19, 2024

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

from gist.

levacic avatar levacic commented on August 19, 2024

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!

from gist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.