takluyver / cite2c

Citations in the Jupyter Notebook
MIT License
318 stars 35 forks source link

Not loading #15

Closed silgon closed 9 years ago

silgon commented 9 years ago

Hi, I just wanted to try the extension, I got a bit of a problem, maybe you've come around it before. I followed the instructions, copying the directory inside $(ipython locate)/nbextensions/ and copying IPython.load_extensions('cite2c/main'); to my config.js file. Nonetheless I get always the following error message when i'm trying to load a file.

WARNING:tornado.access:404 GET /static/services/config.js (127.0.0.1) 0.43ms referer=http://localhost:8888/tree
WARNING:tornado.access:404 GET /static/services/config.js (127.0.0.1) 0.41ms referer=http://localhost:8888/notebooks/Untitled0.ipynb

And the it simply doesn't run.

Any ideas? Thanks!

takluyver commented 9 years ago

What version are you trying it with? For now, cite2c relies on a recent version of IPython master - i.e. a commit within the last couple of weeks. We're hoping to get 3.0 out some time early in the new year.

silgon commented 9 years ago

Sorry for taking so long to answer. How do I check the IPython master? I know that my IPython version is the 2.3.0, but I never heard about ipython master before. And is there a pip -U package to update?

takluyver commented 9 years ago

Sorry, 'master' means the development version of IPython, which will become 3.0 when we're ready to release it. If you want to try it out, there are instructions here: https://github.com/ipython/ipython/#development-installation - but be aware it's still in active development, so it's not as stable as a released version.

giumas commented 9 years ago

After some struggling, I discovered this ticket.. What about a big flashing warning that is 3.0-dev only?

silgon commented 9 years ago

Thanks @takluyver, I still don't get it to work, I just followed the steps in https://github.com/ipython/ipython/#development-installation. Apparently everything is working fine but a module named terminado. And well... still I don't get any icons.

$ ipython notebook
[I 13:42:29.262 NotebookApp] Using existing profile dir: u'/home/atlas/.ipython/profile_default'
[I 13:42:29.286 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 13:42:29.300 NotebookApp] Terminals not available (error was No module named terminado)
[I 13:42:29.300 NotebookApp] Serving notebooks from local directory: /home/atlas/pybook
[I 13:42:29.300 NotebookApp] 0 active kernels 
[I 13:42:29.300 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 13:42:29.300 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 13:42:41.181 NotebookApp] Creating new notebook in 
[I 13:42:42.056 NotebookApp] Kernel started: 1e216e59-55df-4b17-b9fc-c1b42070a0b5
WARNING: The widget API is still considered experimental and 
    may change by the next major release of IPython.

Could you install it @giumas?

giumas commented 9 years ago

Nope.. since I am still waiting for moving to 3.0

takluyver commented 9 years ago

@silgon - the thing with terminado is not a problem: terminado is an optional dependency. It should work fine without it. I'm not sure why you don't see the icons. Try installing it with the new install script that I just merged.

@giumas Yes, I will add a note to the README about this, thanks. Sorry it doesn't work on 2.x, but enough has changed between those releases that I don't want to backport it. Hopefully we'll get 3.0 out in January.