jupyter / jupyter-drive

Google drive for jupyter notebooks
BSD 2-Clause "Simplified" License
418 stars 78 forks source link

Error starting cluster #139

Closed D-marina closed 7 years ago

D-marina commented 7 years ago

Hello,

I tried to use several engines in jupyter and I followed this steps:

($ is my prompt) 1.- $jupyter serverextension enable --py ipyparallel 2.- $jupyter nbextension install --py ipyparallel 3.- $jupyter nbextension enable --py ipyparallel 4.- $jupyter nbextension enable ipyparallel --py

then I opened a browser, I clicked in IPython Clusters's tab, selected 2 engines and I pressed start. But in status I got "error starting cluster". I don't know if this issue is solved but I can't solve this problem.

In the console, I get the following:



Enabling: ipyparallel.nbextension
- Writing config: /home/daniel/.jupyter
    - Validating...
      ipyparallel.nbextension  OK
Installing /home/daniel/anaconda3/lib/python3.6/site-packages/ipyparallel/nbextension/static -> ipyparallel
Up to date: /usr/local/share/jupyter/nbextensions/ipyparallel/clusterlist.js
Up to date: /usr/local/share/jupyter/nbextensions/ipyparallel/clusterlist.css
Up to date: /usr/local/share/jupyter/nbextensions/ipyparallel/main.js
- Validating: OK

    To initialize this nbextension in the browser every time the notebook (or other app) loads:

          jupyter nbextension enable ipyparallel --py

Enabling tree extension ipyparallel/main...
      - Validating: OK
Enabling tree extension ipyparallel/main...
      - Validating: OK
[I 18:08:35.771 NotebookApp] The port 8888 is already in use, trying another port.
[I 18:08:35.772 NotebookApp] The port 8889 is already in use, trying another port.
[I 18:08:35.772 NotebookApp] The port 8890 is already in use, trying another port.
[I 18:08:35.796 NotebookApp] Loading IPython parallel extension
[I 18:08:35.803 NotebookApp] Serving notebooks from local directory: /home/daniel
[I 18:08:35.803 NotebookApp] 0 active kernels 
[I 18:08:35.803 NotebookApp] The Jupyter Notebook is running at: http://localhost:8891/?token=3b128095b6543d775871138eac300a7a6aee6fe4c09c077c
[I 18:08:35.803 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 18:08:35.804 NotebookApp] 

    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://localhost:8891/?token=3b128095b6543d775871138eac300a7a6aee6fe4c09c077c
[I 18:08:58.059 NotebookApp] 302 GET /?token=3b128095b6543d775871138eac300a7a6aee6fe4c09c077c (127.0.0.1) 2.51ms
[W 18:09:03.348 NotebookApp] 403 POST /clusters/default/start (127.0.0.1): '_xsrf' argument missing from POST
[W 18:09:03.357 NotebookApp] 403 POST /clusters/default/start (127.0.0.1) 9.40ms 
```referer=http://localhost:8891/tree?token=3b128095b6543d775871138eac300a7a6aee6fe4c09c077c
KesterTong commented 7 years ago

This seems to be an issue with IPython Clusters, not jupyter-drive issue. Could you open an issue in https://github.com/ipython/ipyparallel?

D-marina commented 7 years ago

Done, thank you very much.