Giter VIP home page Giter VIP logo

Comments (11)

asenchi avatar asenchi commented on August 22, 2024

I receive this same error. I downloaded from Vim Scripts, going to try from the Github Repo.

from vim-gist.

mattn avatar mattn commented on August 22, 2024

don't copy gist.vim.vimup to plugin directory

from vim-gist.

mlen avatar mlen commented on August 22, 2024

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.

mattn avatar mattn commented on August 22, 2024

mlen: Can you debug it? I can't reproduce it. hmm

from vim-gist.

mlen avatar mlen commented on August 22, 2024

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

You are being redirected.

In code you match res with '^https://gist.github.com/' so it started posting gists, but says there's an error.

from vim-gist.

mattn avatar mattn commented on August 22, 2024

Sorry for my slow response.
Latest version include few changes. Please try agein.

from vim-gist.

johntdyer avatar johntdyer commented on August 22, 2024

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.

johntdyer avatar johntdyer commented on August 22, 2024

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.

mattn avatar mattn commented on August 22, 2024

I think this problem should be fixed in
a0bcc98

please check.

Thanks.
mattn

from vim-gist.

crittermike avatar crittermike commented on August 22, 2024

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.

mattn avatar mattn commented on August 22, 2024

ok. I close this issue.
and I'll update 'note about installation' into the doc.
Thanks.

from vim-gist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.