Giter Club home page Giter Club logo

Comments (15)

takluyver avatar takluyver commented on July 19, 2024

Sorry for the very delayed reply. It looks like the screenshot didn't upload properly. I don't know what the problem was, so I hope you worked it out somehow.

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

Here a screenshot of mine
image

If I uncheck the 'disable configuration ....' button , then
image

But it says that yaml file is not provided to configure it

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

Python 3.5.2
Jupyter 4.4.0

After executing jupyter nbextension enable cite2c/main
image

But when Zotero authentication is required, the new tab just says
image

from cite2c.

takluyver avatar takluyver commented on July 19, 2024

Can you run python -m cite2c.install to enable it? It's got a server part and a frontend part, and I think you've enabled the frontend part without the server part.

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

Thanks Thomas,
after running that line, got these messages
image

I then disable and re-enable cite2c/main, but I still have the same problem

from cite2c.

takluyver avatar takluyver commented on July 19, 2024

Can you look for a file ~/.jupyter/jupyter_notebook_config.json and see what it's got in it?

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

image

from cite2c.

takluyver avatar takluyver commented on July 19, 2024

That looks right. Have you stopped the notebook server and launched it (jupyter notebook) again after enabling the extension?

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

Yes, I even deactivates the virtual environment and then reactivated it, and then launched again jupyter notebook

from cite2c.

takluyver avatar takluyver commented on July 19, 2024

Is there anything that looks relevant in the logging to the terminal where you launched the notebook?

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

Maybe that the server runs at an https://[all ip addresses on your system]:xxxx/tree

The authentication tab will look like:
https://[all ip addresses on your system]:xxxx/cite2c/zotero_oauth

could it be the https?

The browser labels the connection as non-secure (because of a self-signed certificate)

Also, when starting the server:
image

from cite2c.

takluyver avatar takluyver commented on July 19, 2024

Oh, I see the problem. In this function, it skips setting up the handlers if it can't find the Zotero styles directory. It should add the OAuth handlers even if the styles directory is missing, because the styles are completely separate.

I'm just about to go to bed, but hopefully that gives you enough info to get it working for now. Feel free to send a PR if you're comfortable doing so.

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

Thanks a lot Thomas, I'm also almost going to bed. Will fix it tomorrow.

from cite2c.

mticlla avatar mticlla commented on July 19, 2024

I just commented the return line in that function and now cite2c works in my notebooks :)
Thanks

from cite2c.

takluyver avatar takluyver commented on July 19, 2024

Great. And I've just released 0.2.1 with that issue fixed. :-)

from cite2c.

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.