Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Post failed: #238

Closed
pinggit opened this issue Nov 14, 2022 · 1 comment
Closed

Post failed: #238

pinggit opened this issue Nov 14, 2022 · 1 comment

Comments

@pinggit
Copy link

pinggit commented Nov 14, 2022

I got this today:

Posting it to gist...
Post failed:
Press ENTER or type command to continue

on the other hand, my Gist -l gives some output, but just a few lines, the "more..." does not work.

This happens most likely after I changed my github credential.

but I've tried below actions:

  • regenerated token and updated g:gist_token
  • updated vim-gist to latest
  • restarted vim

nothing works so far.

also for some reason I do not find the ~/.gist-vim file, I'm not sure if this is required though.

@pinggit
Copy link
Author

pinggit commented Nov 14, 2022

this works:

#233 (comment)

the problem in my case is that I'm trying to upload a gist which contains the github token, so first time the gist update works, then token deleted, leading to all later update broken.

one solution is to keep the token in local file .gist-vim which is why it works.

@pinggit pinggit closed this as completed Nov 14, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant