-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: "Gist: unknown error (please, report a bug!)" #151
Comments
i second this, even after manual configuring |
Same here... |
windows has the same problem. |
same here on Ubuntu 14.04 |
Same here with OS X Yosemite, the plugin doesn't ask for settings and pops up with the titled error message when I run any commands. I added a user settings file and was able to create a gist, although an error box still popped up. All other commands still failed with an error box. |
oh, and I'm using sublime text 3 beta |
Same error here.
Interestingly it works on a different machine with Ubuntu 12.04. |
Same problem. Console output:
|
Similar error. Note, I can create a gist, but I can't OPEN. The open gist option is what is causing me to fail.
|
same error here: Traceback (most recent call last): |
Same here sadly, Yosemite & ST3 also. Anybody find a workaround for this yet? |
same here.
seems as if the
returns some empty values, which are then propagated through helpers.py gists_filter into gist_title, where it tries to call
|
Not working here too... ST3 Win64 |
I had the same problem with ST3 on OS X Yosemite. Changed the value for "show_authors" to "false" and it works :).
|
@mhanel that works, thanks! |
Can confirm, that @mhanel 's solution is working for me. |
I've resolved my problem by adding proper setup variables to Gist.sublime-settings - User
{ "token": "XXX" } If you're behind corporate proxy, u should also write it in settings file; { "https_proxy": "http://USER:PASS@IP:PORT", "token": "XXX" } |
Doesn't seem to work for me with most recent version of package and on ST3 Yosemite. Looks like I can create a gist no problem, but "Gist open" produces this error. I'm getting in the console:
|
I faced this problem (Win8.1 x64 and Sublime 2.0.2),
and the following lines seem not to work. at request.py line 32.
def token_auth_string():
settings = sublime.load_settings('Gist.sublime-settings')
token = settings.get('token')
print settings.get('token') # -> "None"
print settings.get('max_gists') # -> "None" |
Same problem, but with Win7 x64 and Sublime Text 2.0.2. Token has been created and added to the config.
|
For those also not being able to open a gist, change the "show_authors": to false. Running on windows 7 |
+1 to everyone above who suggested changing "show_authors" to false. Worked for me on OSX 10.10 |
The plugin still produces the same error for me. OSX Yosemite + Sublime Text 3. I generated the token, and added it along with the Another strange thing, when I open up the default Gist settings and try to save it, I get the following error: "Unable to save ~/Library/Application Support/Sublime Text 3/Packages/Gist/Gist.sublime-settings Error: No such file or directory" |
Got it working! Instead of generation a token via the CURL command: https://github.com/condemil/Gist#generating-access-token I had to generation a token on Github here: https://github.com/settings/applications#personal-access-tokens It produced a string which I pasted into the "token" key instead of the JSON produced by the CURL command. |
Sublime 2.0.2, 2221 (osx 10.10.2) MissingCredentialsException: Doesn't read Gist.sublime-settings to get the access token. If i edit request.py and manually return my token it works.
{} |
Since the proper settings window doesn't open on package installation. When you add your token make sure you are editing Preferences > Package Settings > Gist > Settings - User and not just Preferences > Settings - User |
I don't know why and how but at the first line of my gist user preference file, there is a path to the file it self. I've just removed that line, and now it works like a charm. |
Took the advice of all above but still doesn't seem to work. Even made new token via Personal Access. Any other possible solutions? |
i took all the advices too but nothing seemed to work until i noticed my gist user preferences had some elements inside [ ] and they were not an array so i eliminated it and now is working. the lines where:
and i changed them to:
now the plugin is working for me. |
This solved it for me. Just wondering why the Settings - Default isn't editable? |
put in the token and it works :) |
I can confirm it still gives that error if I set |
@emrecamasuvi solution is working |
@mhanel's solution is a way to go 👍 |
@ianchanning +1. It was just a matter of knowing where to set the token. |
@mhanel kudo for that !! just turn show_authors to false and voila :) |
User field seems to only be used on a commit by commit basis in history. https://developer.github.com/v3/gists/#get-a-single-gist This doesn't show all_authors but rather the current owner which seems to have been the initial intention of the code. Should fix condemil#151 and re-enable feature to be used. Closes condemil#145 as well.
The solution @mhanel provided also works on Linux. |
User field seems to only be used on a commit by commit basis in history. https://developer.github.com/v3/gists/#get-a-single-gist This doesn't show all_authors but rather the current owner which seems to have been the initial intention of the code. Should fix condemil#151 and re-enable feature to be used. Closes condemil#145 as well.
Post-install when trying to do anything with Gist! No settings popup.
The text was updated successfully, but these errors were encountered: