Open FatBoyXPC opened 5 years ago
Does :Gista list
work?
Yep! I had a few problems with the cache and such, but I'm hoping that's all cleared up.
So solved? Please close the issue then π
Not really - when I run :Gista login
I expect something to happen (a prompt, a web browser opening, etc) but nothing does.
I see. Well, :Gista login
just echo the username if you are already be logged in. So it seems you've already be logged in.
Even when I wasn't logged in it wasn't opening anything up in a browser or prompting me, though.
Even when I wasn't logged in
I'd like to make sure that so could you follow
~/.cache/vim-gista/
:Gista login
and it should show prompt like https://asciinema.org/a/cCeMPzC1AZwa8HqQ3kek3DSCG (I've enter wrong password twice so showed 401)
I don't understand the issue is same or not, but I have an imitated issue.
I did
$ rm -rf ~/.cache/vim-gista
$ vim foo
And
:Gista login
Please input a password of "aiya000" in "https://api.github.com":
<I input my correct password>
This says
vim-gista: Authorization as "aiya000" in "https://api.github.com" has failed
422: Unprocessable Entity
Validation Failed
Here is my vim version (built by myself. not macVim. not using brew.) :point_down:
My OS :point_down:
PLease help me ><
I've no idea π’ . At least I could login in to my Github by using :Gista login
right now (I'm using two factor authentication as well).
Not sure but what happen if you use neovim or Vim without +python/python3
@aiya000 do you have 2FA setup? I do, and I'm wondering if maybe that was affecting things for me. I still need to remove my cached auth file and see what happens. I'll try to get to that this weekend.
Not sure but what happen if you use neovim or Vim without +python/python3
My :version is above :smile::point_up:
It says +python/dyn
+python3/dyn
and the dynamic running seems working :D
At least I could login in to my Github by using :Gista login right now (I'm using two factor authentication as well). @aiya000 do you have 2FA setup? I do, and I'm wondering if maybe that was affecting things for me. I still need to remove my cached auth file and see what happens. I'll try to get to that this weekend.
I have not setup 2FA ! I'll try to setup 2FA too :D
NOTE: On my linux, :Gista is working well without 2FA πͺ
I setup 2FA, then try :Gista post
, also it is succeed!!
Thanks!
Not it became impossible to login with password anymore due to github deprecating it
Login canceled by user
vim-gista: Authorization as "adelin-b" in "https://api.github.com" has failed
401: Unauthorized
Bad credentials. The API can't be accessed using username/password authentication. Please create a personal access token to access this endpoint: http://github.com/settings/tokens
I met an issue like this again x(
:Gista login
Please input a password of "aiya000" in "https://api.github.com": <input my access token here>
vim-gista: Authorization as "aiya000" in "https://api.github.com" has failed
0:
Not Found
Press ENTER or type command to continue
I couldn't determine this ocassion...
But maybe, removing ~/.cache/vim-gista
can occur this x(
When I tried, https://api.github.com/authorizations returned "404 Not Found".
0:
in the error message is caused by #88 .
Thanks for the comments but please check https://github.com/lambdalisue/vim-gista/issues/89
I've tried to
:Gista login
and it saysLogin into GitHub as FatBoyXPC
but doesn't do anything else. I get no error messages or anything. I'm not sure how to proceed from here.For now, I manually created the token file: https://github.com/lambdalisue/vim-gista/blob/master/doc/vim-gista.txt#L886