Git Product home page Git Product logo

Comments (8)

parkr avatar parkr commented on June 9, 2024 1

We should simply strip the username from the gist ID when noscript: true.

from jekyll-gist.

jekyllbot avatar jekyllbot commented on June 9, 2024

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.

parkr avatar parkr commented on June 9, 2024

@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.

DirtyF avatar DirtyF commented on June 9, 2024

Thanks @parkr for the reply ❤️

I re-checked and the issue is still present if I remove gist.no-scriptoption 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.

pathawks avatar pathawks commented on June 9, 2024

Gists are referenced by their ID alone, no need to put a username in front.

- {% gist DirtyF/24cb9c96b64173ecd85578f38bcc940d %}
+ {% gist 24cb9c96b64173ecd85578f38bcc940d %}

from jekyll-gist.

DirtyF avatar DirtyF commented on June 9, 2024

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.

jekyllbot avatar jekyllbot commented on June 9, 2024

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.

jrfnl avatar jrfnl commented on June 9, 2024

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)

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.