jupyterlite: `%load` and `%recall` magic not working
Description
When using %load magic, either with a local relative path like:
%load ../solutions/02_01.py
or absolute URL like:
%load https://github.com/HumbleData/online-workshop/raw/main/content/solutions/02_01.py
It produces an error:
ValueError: '../solutions/02_01.py' was not found in history, as a file, url, nor in the user namespace.
or
URLError: <urlopen error unknown url type: https>
It was working in local jupyter notebook.
Reproduce
- Go to http://humbledata.org/online-workshop/
- Open one of the notebooks in
notebook/ - try running one of the cells with
%loadmagic
Expected behavior
Same or similar experience as local Jupyter notebook. If relative path is not available due to limitation of WASM environment, at least let the absolute URL work
Context
- JupyterLite version:
- Operating System and version:
- Browser and version:
Browser Output
Paste the output from your browser Javascript console here.
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 17 (8 by maintainers)
Thanks @Cheukting for the interest 🙏
I will have low bandwidth in the coming weeks but happy to help with this afterwards.
Also cc @martinRenou who might know more about these IPython magics.