GithubHelp home page GithubHelp logo

Comments (7)

phallstrom avatar phallstrom commented on June 16, 2024

Sorry for the long delay. So you have the personal access token created in github and 'gist' is the only thing that's checked right? I just went through the steps (turns out I don't have my own workflow installed :) and it's working for me right now.

Any chance it didn't get copied in correctly? Verify that when you type 'gistconfig' the information is there correctly and that the API server is 'api.github.com'.

from alfredgist.

walterdolce avatar walterdolce commented on June 16, 2024

Yep. Everything seems to be set correctly. I will double check again though and confirm whether it works or not.

Also if you knew a way I could debug this would be great.

from alfredgist.

phallstrom avatar phallstrom commented on June 16, 2024

@walterdolce If you open a terminal and cd into the workflow's directory (or just download this repo and use that), then copy something innocent to the clipboard you can then run sh -x gist.sh gist which will display a ton of output. Look for the lines with curl in them to see what the response is. Or post it here, or send it to me privately as your token key will be in the output.

from alfredgist.

walterdolce avatar walterdolce commented on June 16, 2024

@phallstrom never mind. Apparently I was just being silly. I double checked the config params and something was set up incorrecly. It's working fine now so I'll close this issue. Thanks for the support :)

from alfredgist.

gandalfsaxe avatar gandalfsaxe commented on June 16, 2024

@phallstrom I got the same error and suspected that the API server was incorrectly set. For me it was set to https://github.com/phallstrom/AlfredGist by default, which obviously can't be true.

Only by finding this issue did I find the correct server address: api.github.com. Shouldn't this be default?

But it works now 🙂

from alfredgist.

phallstrom avatar phallstrom commented on June 16, 2024

@gandalfsaxe It is the default. See https://github.com/phallstrom/AlfredGist/blob/master/functions.sh#L92

Any chance you had that URL copied and did gistconfig and selected one of the options unintentionally?

from alfredgist.

gandalfsaxe avatar gandalfsaxe commented on June 16, 2024

Ah yes that's probably what happened 👍

from alfredgist.

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.