Spinning wheel on ZoteroBib

This discussion was created from comments split from: Introducing ZoteroBib.
  • Cool idea, definitely interested in showing to students. So far however I am unable to access the web page (on Windows 10 machine, using chrome. Everything should be up to date). Every time I've clicked on the link provided above, all I've got is a spinning wheel, with the rest of the page not loading even after several minutes.
  • The site is definitely up. Have you tried a different browser? A different network?
  • The permanently spinning wheel would be a JavaScript error. @AmomentOfMusic, is this with Chrome 66, or are you running an outdated version? If you have 66, could you go to View → Developer → JavaScript Console, click the 'prohibited' icon to clear the Console tab, reload the site, and then copy and paste any output (likely with a pink background)?
  • I am indeed running Chrome 66.

    Here is what appears in the console tab for me:

    citeproc.js:1864 Uncaught (in promise) SyntaxError: Unexpected token N in JSON at position 0
    at JSON.parse ()
    at Object.CSL.setupXml (citeproc.js:1864)
    at CSL.Engine.localeConfigure (citeproc.js:6382)
    at new CSL.Engine (citeproc.js:2661)
    at main.js:1
    at w (main.js:1)
    at Generator.u._invoke (main.js:1)
    at Generator.e.(/anonymous function) [as next] (https://zbib.org/static/main.js:1:329631)
    at t (main.js:1)
    at main.js:1
    CSL.setupXml @ citeproc.js:1864
    CSL.Engine.localeConfigure @ citeproc.js:6382
    CSL.Engine @ citeproc.js:2661
    (anonymous) @ main.js:1
    w @ main.js:1
    u._invoke @ main.js:1
    e.(anonymous function) @ main.js:1
    t @ main.js:1
    (anonymous) @ main.js:1
    Promise.then (async)
    t @ main.js:1
    (anonymous) @ main.js:1
    (anonymous) @ main.js:1
    m.value @ main.js:1
    commitLifeCycles @ main.js:1
    w @ main.js:1
    g @ main.js:1
    b @ main.js:1
    y @ main.js:1
    h @ main.js:1
    u @ main.js:1
    i @ main.js:1
    updateContainer @ main.js:1
    ko.render @ main.js:1
    (anonymous) @ main.js:1
    unbatchedUpdates @ main.js:1
    _o @ main.js:1
    render @ main.js:1
    value @ main.js:1
    185../bib-component @ main.js:1
    u @ main.js:1
    i @ main.js:1
    (anonymous) @ main.js:1
    (anonymous) @ main.js:1
    (anonymous) @ main.js:1
    zbib.org/:1 Refused to load the image 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxtYXNrIGlkPSJtIj48cmVjdCBmaWxsPSIjZmZmIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSI2IiByeT0iNiIvPjxyZWN0IGZpbGw9IiMwMDAiIHg9IjUiIHk9IjUiIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgcng9IjEiIHJ5PSIxIi8+PHJlY3QgZmlsbD0iIzAwMCIgeD0iMTAiIHk9IjAiIHdpZHRoPSI0IiBoZWlnaHQ9IjI0Ii8+PHJlY3QgZmlsbD0iIzAwMCIgeD0iMCIgeT0iMTAiIHdpZHRoPSIyNCIgaGVpZ2h0PSI0Ii8+PC9tYXNrPjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNmZmYiIG1hc2s9InVybCgjbSkiLz48L3N2Zz4=' because it violates the following Content Security Policy directive: "img-src 'self'".

    zbib.org/:1 Refused to load the image 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzBweCIgd2lkdGg9IjMwcHgiIHZpZXdCb3g9Ii0xIC0xIDMxIDMxIj48Zz48cGF0aCBkPSJNMjkuNDQ5LDE0LjY2MiBDMjkuNDQ5LDIyLjcyMiAyMi44NjgsMjkuMjU2IDE0Ljc1LDI5LjI1NiBDNi42MzIsMjkuMjU2IDAuMDUxLDIyLjcyMiAwLjA1MSwxNC42NjIgQzAuMDUxLDYuNjAxIDYuNjMyLDAuMDY3IDE0Ljc1LDAuMDY3IEMyMi44NjgsMC4wNjcgMjkuNDQ5LDYuNjAxIDI5LjQ0OSwxNC42NjIiIGZpbGw9IiNmZmYiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxIj48L3BhdGg+PHBhdGggZD0iTTE0LjczMywxLjY4NiBDNy41MTYsMS42ODYgM...UuMDIyLDYuNDk3IEMxOS41NTUsNi40OTcgMjMuMDc4LDkuNzA1IDIzLjA3OCwxMy45OTEgQzIzLjA3OCwxOC40NjMgMjAuMjM5LDIyLjA2MiAxNi4yOTcsMjIuMDYyIEMxNC45NzMsMjIuMDYyIDEzLjcyOCwyMS4zNzkgMTMuMzAyLDIwLjU3MiBDMTMuMzAyLDIwLjU3MiAxMi42NDcsMjMuMDUgMTIuNDg4LDIzLjY1NyBDMTIuMTkzLDI0Ljc4NCAxMS4zOTYsMjYuMTk2IDEwLjg2MywyNy4wNTggQzEyLjA4NiwyNy40MzQgMTMuMzg2LDI3LjYzNyAxNC43MzMsMjcuNjM3IEMyMS45NSwyNy42MzcgMjcuODAxLDIxLjgyOCAyNy44MDEsMTQuNjYyIEMyNy44MDEsNy40OTUgMjEuOTUsMS42ODYgMTQuNzMzLDEuNjg2IiBmaWxsPSIjYmQwODFjIj48L3BhdGg+PC9nPjwvc3ZnPg==' because it violates the following Content Security Policy directive: "img-src 'self'".
  • Thank you for your report. Based on your console output I was able to track this issue down and we should be able to resolve it shortly.

    I've created a github issue to track this bug.
  • @AmomentOfMusic: I've put in a quick fix that I believe should get this working for you in the meantime, though, so try again now.
  • @dstillman no luck at the moment! Still getting the spinning wheel
  • Try again now.
  • @dstillman And it works! Thanks for the fix, looking forward to playing around with this.
Sign In or Register to comment.