You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
I am having some trouble getting the nbzip extension to work / install correctly. The document cookie never gets a zipToken, and the "Still zipping" loop continues forever. In addition, no yaml or readme file gets created for use by nbextensions.
In regards to the zipping loop, it appears that .jupyter/nbconfig/tree.json expects a path to a javascript file (currently set to "nbzip/tree"), however it seems the tree.js file is not referencing the handlers, or that there is some main file missing since the zipToken never gets set or updated.
Steps I took to install:
pip install nbzip
(issues with writing to /usr/local/share/jupyter and the jupyter_notebook_config.json led me to use the user flag)
jupyter serverextension enable --py nbzip --user
jupyter nbextension install --py nbzip --user
jupyter nbextension enable --py nbzip --user
Contents of .local/share/jupyter/nbextensions/nbzip on initial install and enable:
tree.js
I've also tried copying the full contents of .local/lib/python2.7/site-packages/nbzip into .local/share/jupyter/nbextensions/nbzip, just in case it needed to access the handlers and init files. I've also tried manually creating a yaml file and the readme, which fixes the nbextensions configure tab, but does not fix the zipping loop.
The format of the document.cookie: "_pk_id.1.9e6f=<16 alpha-numeric>.<10 numeric>.<1 numeric>.<10 numeric>.<10 numeric>.; _xsrf=<1 numeric>|<8 alpha numeric>|<32 alpha numeric>|<10 numeric>"
Screen Shot of zipping loop
Screen Shot of lack of yaml and readme file
Screen Shot after manually creating yaml and readme
I am having some trouble getting the nbzip extension to work / install correctly. The document cookie never gets a zipToken, and the "Still zipping" loop continues forever. In addition, no yaml or readme file gets created for use by nbextensions.
In regards to the zipping loop, it appears that .jupyter/nbconfig/tree.json expects a path to a javascript file (currently set to "nbzip/tree"), however it seems the tree.js file is not referencing the handlers, or that there is some main file missing since the zipToken never gets set or updated.
Steps I took to install:
pip install nbzip
(issues with writing to /usr/local/share/jupyter and the jupyter_notebook_config.json led me to use the user flag)
jupyter serverextension enable --py nbzip --user
jupyter nbextension install --py nbzip --user
jupyter nbextension enable --py nbzip --user
Contents of .local/share/jupyter/nbextensions/nbzip on initial install and enable:
tree.js
I've also tried copying the full contents of .local/lib/python2.7/site-packages/nbzip into .local/share/jupyter/nbextensions/nbzip, just in case it needed to access the handlers and init files. I've also tried manually creating a yaml file and the readme, which fixes the nbextensions configure tab, but does not fix the zipping loop.
The format of the document.cookie: "_pk_id.1.9e6f=<16 alpha-numeric>.<10 numeric>.<1 numeric>.<10 numeric>.<10 numeric>.; _xsrf=<1 numeric>|<8 alpha numeric>|<32 alpha numeric>|<10 numeric>"
Screen Shot of zipping loop
Screen Shot of lack of yaml and readme file
Screen Shot after manually creating yaml and readme
Versions:
jupyter=1.0.0
jupyter_contrib_nbextensions=0.5.1
nbzip=0.1.0
The text was updated successfully, but these errors were encountered: