Comments (7)
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.
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.
@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.
@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.
@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.
@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.
Ah yes that's probably what happened 👍
from alfredgist.
Related Issues (20)
- AlfredGist does not handle non-ascii characters nicely HOT 3
- Don't have API Config option HOT 2
- Vanilla `gist` command copies string to clipboard with extra trailing newline HOT 3
- `gist` command is very slow with "large" amounts of text HOT 7
- Can't set api key HOT 5
- Remove icon from notification HOT 3
- Config option to prevent opening gist in browser HOT 6
- Feature: Possible searching of gist and opening it. HOT 1
- Can't create gist from ipynb files HOT 2
- Overwrite prefix directory. HOT 5
- Tolerant to more file format? HOT 6
- upload screen captures HOT 3
- Submit Workflow to packal.org to enable auto updates HOT 4
- Does not work on Alfred V3.x.x (?) HOT 2
- Clipboard replaced with "{" HOT 2
- Open gists in raw format
- API error when creating anonymous gist
- python: command not found HOT 2
- Keep Gist description blank
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 alfredgist.