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
I have created a JupyterLab extension
that converts a SAS file (*.sas) to a Jupyter notebook (*.ipynb).
The extension works fine on my development systems (Ubuntu and OSX) but when I try and use it inside of binder I get 404 errors.
I had participated on an issue in January where @fcollonval referrenced issues but the links to that appear to have been merged. Which lead me to believe the issue was resolved.
I added the following line to my init.py but that didn't change the behavior load_jupyter_server_extension = _load_jupyter_server_extension
Thank you @fcollonval!
For reference to any future users that incounter this problem.
The changes I needed to make from the cookiecutter setup are
Add the following code to `init.py in the root folder
# For backward compatibility
load_jupyter_server_extension = _load_jupyter_server_extension
take the extension json file (sas2nb.json in my case) and move if from jupyter-config to jupyter-config/jupyter_notebook_config.d and jupyter-config/jupyter_server_config.d. With minor changes needed in the notebook folder. Here are the respective files for my use case -- server and notebook.
Add these two lines to the data_files_spec in setup.py
Description
I have created a JupyterLab extension
that converts a SAS file (
*.sas
) to a Jupyter notebook (*.ipynb
).The extension works fine on my development systems (Ubuntu and OSX) but when I try and use it inside of binder I get 404 errors.
I had participated on an issue in January where @fcollonval referrenced issues but the links to that appear to have been merged. Which lead me to believe the issue was resolved.
I added the following line to my init.py but that didn't change the behavior
load_jupyter_server_extension = _load_jupyter_server_extension
Reproduce
iris.sas
The log states that the extension is missing but the following output doesn't support that:
Expected behavior
I expected the extension to work inside binder as it does outside of binder.
Context
Here is jupyter package output from
pip list
inside of binderTroubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: