timkpaine / jupyterlab_autoversion

Automatically version jupyter notebooks in JupyterLab
https://jupyterlab-autoversion.readthedocs.io
Apache License 2.0
80 stars 10 forks source link

get 404 #15

Closed EnchoC closed 5 years ago

EnchoC commented 5 years ago

jupyter lab console [W 18:53:35.992 LabApp] 404 GET /autoversion/get?id=&path=XXX/baseline.ipynb (::1) 1.67ms referer=http://localhost:8888/lab

chrome console Screen Shot 2019-08-06 at 6 59 47 PM

timkpaine commented 5 years ago

Did you turn on the server side part of this extension?

EnchoC commented 5 years ago

Yes, it get the 404 code when I click the auto-version button

timkpaine commented 5 years ago

No, did you follow all 3 of these steps: https://github.com/timkpaine/jupyterlab_autoversion#install

timkpaine commented 5 years ago
pip install jupyterlab_autoversion
jupyter labextension install jupyterlab_autoversion
jupyter serverextension enable --py jupyterlab_autoversion
EnchoC commented 5 years ago

jupyterlab-autoversion 0.1.0

JupyterLab v1.0.4 Known labextensions: app dir: /usr/local/share/jupyter/lab @jupyterlab/google-drive v1.0.0 enabled OK @jupyterlab/toc v1.0.1 enabled OK @lckr/jupyterlab_variableinspector v0.3.0 enabled OK jupyterlab_autoversion v0.1.0 enabled OK

has been install

timkpaine commented 5 years ago

and the server extension enabled?

EnchoC commented 5 years ago

yes, i don't know how to solve it.

timkpaine commented 5 years ago

what is the output of jupyter serverextension list

timkpaine commented 5 years ago

also please provide the output of pip3 show jupyterlab_autoversion

EnchoC commented 5 years ago
Screen Shot 2019-08-06 at 10 35 33 PM
EnchoC commented 5 years ago

Screen Shot 2019-08-06 at 10 37 38 PM

i think the error because of the place, the result.value is undefined i

timkpaine commented 5 years ago

@EnchoC what is the result of jupyter serverextension list

EnchoC commented 5 years ago
Screen Shot 2019-08-07 at 8 08 31 AM
timkpaine commented 5 years ago

@EnchoC not jupyter labextension list jupyter serverextension list

Did you run the 3rd install command: jupyter serverextension enable --py jupyterlab_autoversion

EnchoC commented 5 years ago

Thank you, there is no running 3rd install command and I have not installed Jupyter, only installed JupyterLab, it has now been resolved