Comments (8)
We should simply strip the username from the gist ID when noscript: true
.
from jekyll-gist.
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
from jekyll-gist.
@DirtyF It sounds like the timeouts we're using to fetch the gists are fairly high (30s to create connection, 30s to read, etc). Getting a 404 means the URL it's trying to hit doesn't exist – did you confirm that the gist still exists? Maybe our URL needs to be updated.
from jekyll-gist.
Thanks @parkr for the reply ❤️
I re-checked and the issue is still present if I remove gist.no-script
option from config.
/Users/frank/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jekyll-gist-1.4.0/lib/jekyll-gist/gist_tag.rb:86: warning: constant ::TimeoutError is deprecated
Liquid Exception: GET https://api.github.com/gists/DirtyF/24cb9c96b64173ecd85578f38bcc940d: 404 - Not Found // See: https://developer.github.com/v3 in /Users/frank/code/jamstatic.fr/_posts/2016-09-18-utiliser-des-plugins-jekyll-avec-github-pages.markdown
jekyll 3.3.1 | Error: GET https://api.github.com/gists/DirtyF/24cb9c96b64173ecd85578f38bcc940d: 404 - Not Found // See: https://developer.github.com/v3
What I don't get is that https://gist.github.com/DirtyF/24cb9c96b64173ecd85578f38bcc940d exists. 🤔
from jekyll-gist.
Gists are referenced by their ID alone, no need to put a username in front.
- {% gist DirtyF/24cb9c96b64173ecd85578f38bcc940d %}
+ {% gist 24cb9c96b64173ecd85578f38bcc940d %}
from jekyll-gist.
Indeed, it works if I remove the GitHub username. 🎉
Thanks! @pathawks
FYI I just followed blindly the example usage given in the README 😕
from jekyll-gist.
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
from jekyll-gist.
Can someone please reopen this issue as it is still a thing. Just ran into this myself. And yes, the gist being referered to does exist.
C:/path-to/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jekyll-gist-1.4.1/lib/jekyll-gist/gist_tag.rb:96: warning: constant ::TimeoutError is deprecated
Liquid Exception: GET https://api.github.com/gists/jrfnl/e5af95370fdb834ad7d696b4112c8d0c: 404 - Not Found // See: https://developer.github.com/v3/gists/#get-a-specific-revision-of-a-gist in gisttest.md
jekyll 3.6.2 | Error: GET https://api.github.com/gists/jrfnl/e5af95370fdb834ad7d696b4112c8d0c: 404 - Not Found // See: https://developer.github.com/v3/gists/#get-a-specific-revision-of-a-gist
from jekyll-gist.
Related Issues (20)
- Time for a new release HOT 1
- Support lazy loading attribute HOT 1
- Time for a new release HOT 1
- Time for a new release HOT 1
- noscript output seems to break sometimes when using Commonmark HOT 1
- Are there any style customization support, or out of the box themes available? HOT 2
- Time for a new release HOT 1
- Time for a new release HOT 1
- Optional filename doesn't work now. HOT 1
- Time for a new release HOT 1
- Chrome Error in Inspect HOT 1
- Time for a new release HOT 1
- Time for a new release HOT 1
- Adding liquid Jupyter Notebook .ipynb gist {% gist xxxx %} in posts returns blank HOT 1
- Time for a new release HOT 1
- Liquid syntax error (line 112): Unknown tag 'gist' (Liquid::SyntaxError)😫 HOT 2
- Time for a new release HOT 1
- Time for a new release HOT 3
- Feature request: output list of user's public Gists HOT 1
- Time for a new release 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 jekyll-gist.