Comments (11)
I receive this same error. I downloaded from Vim Scripts, going to try from the Github Repo.
from vim-gist.
don't copy gist.vim.vimup to plugin directory
from vim-gist.
I've got the same problem and I didn't copy gist.vim.vimup to plugin directory. I'm using macvim snapshot 52.
from vim-gist.
mlen: Can you debug it? I can't reproduce it. hmm
from vim-gist.
Hmm… Something was wrong in my .gitconfig file (token was ok, but it returned something else)
Here is the response from server:
HTTP/1.1 302 Found
Server: nginx/0.7.67
Date: Fri, 13 Aug 2010 07:23:54 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Status: 302 Found
Location: http://gist.github.com/522476
X-Runtime: 493ms
Content-Length: 95
Set-Cookie: _github_ses=xxxxxxxxxx; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
Cache-Control: no-cache
In code you match res with '^https://gist.github.com/' so it started posting gists, but says there's an error.
from vim-gist.
Sorry for my slow response.
Latest version include few changes. Please try agein.
from vim-gist.
I am getting an error which appears related:
~ |~
~ |~
~ |~
~ |~
/Users/dyer [No Name] [+] 2,1 All
Posting it to gist...
Error detected while processing function Gist..29_GistPost:
line 69:
Post failed
Press ENTER or type command to continue
I have checked my .gitconfig file and it looks ok, but I am really new to VIM, and unsure how to debug plugins... Any idea what is going on here? I have the latest version of the gist.vim plugin ( copied to ~/.vim/plugins ) and am running Vim 7.3.53 on OSX. Thanks
John
from vim-gist.
I also dont see any "cookies/github" files when I clone the repo, so I am not sure if I am simply not installing this correctly...
John
from vim-gist.
I think this problem should be fixed in
a0bcc98
please check.
Thanks.
mattn
from vim-gist.
For anyone having trouble with this, note that when you're providing your GitHub login credentials, "Token" is NOT your password, but rather your API token (go to github.com/account and click "Account Admin" to get this).
So edit your ~/.gitconfig and make sure these two lines are in it: https://gist.github.com/786929
@mattn, you might want to try and make this a little more clear when providing login info upon installation -- "token" is a little ambiguous. Anyways, thanks for the great plugin, it's working perfectly now that I got it working :)
from vim-gist.
ok. I close this issue.
and I'll update 'note about installation' into the doc.
Thanks.
from vim-gist.
Related Issues (20)
- `:Gist -a` responds with `You have not configured a Github account` HOT 3
- update more than 1 Gist from same file HOT 1
- Gist contains binary HOT 1
- Error when download a markdown gist on macosx and nvim. HOT 1
- can't setup the password HOT 2
- Cannot open a gist from the list HOT 2
- Post failed: Not Found HOT 3
- github warning: app uses deprecated authorizations endpoint on github api HOT 4
- incorrect description
- Can't setup with 2fa (instead, g:gist_token allow me to complete setup :)) HOT 16
- Searching for a gist HOT 1
- Auth via ~/.gist-vim not working HOT 9
- Post failed: (nothing, no reason) HOT 3
- [proposal]: live remote update while updating local file HOT 1
- Update a local copy don't works at second time
- Post failed: HOT 1
- Fetching 1 file from a multi-file gist
- how to display the gist ID of current buffer?
- Fail to post a new gist HOT 1
- gist_show_privates showing all HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-gist.