Closed nifl closed 7 years ago
duplicate of #119
I'm having the same problem
I'm getting the same issue too:
Traceback (most recent call last):
File "gist in /Users/lhunt/Library/Application Support/Sublime Text 3/Installed Packages/Gist.sublime-package", line 37, in _fn
File "gist in /Users/lhunt/Library/Application Support/Sublime Text 3/Installed Packages/Gist.sublime-package", line 317, in run
File "request in /Users/lhunt/Library/Application Support/Sublime Text 3/Installed Packages/Gist.sublime-package", line 135, in api_request
File "request in /Users/lhunt/Library/Application Support/Sublime Text 3/Installed Packages/Gist.sublime-package", line 47, in api_request_native
File "request in /Users/lhunt/Library/Application Support/Sublime Text 3/Installed Packages/Gist.sublime-package", line 37, in token_auth_string
Gist.request.MissingCredentialsException
error: Gist: unknown error (please, report a bug!)
Note, on the ReadMe it states:
Edit the settings file (it should open automatically the first time you use a Gist command) to specifiy either token.
This didn't happen for me, so possibly this is part of the issue? I'm newly working in MacOSX, so not sure where the setting file should be (sorry!) - so I have not yet told Sublime what my Personal Access Token is, and am not sure where to add it...
UPDATE - getting issue in both Sublime Text 3 on MacOSX 10.9.4 (Build 3059), and Sublime Text 2 (build 2221) on Windows 7 Pro.
I fixed this by editing the config file manually Preferences > Package Settings > Gist > Settings User
and fill it up
{
// Your GitHub API token
// see: https://github.com/condemil/Gist#generating-access-token
"token": "INSERT_TOKEN_HERE"
}
Awesome - thanks @eMxyzptlk, that sorted it for me :-)
Same here. ST3 3065 on Win 7.
@eMxyzptlk I didn't even know that existed! Look at all these package settings! Thanks.
It looks like the issue is solved
I added my token to Gist.sublime-settings (user) and am getting a MissingCredentialsException. I'm using ST3, build 3059.