Open jcwchen opened 3 years ago
Hey @jcwchen I think this is due to an issue in your ZeroMQ build, and not with nbconvert.
Are you able to open the notebook and run code in this environment?
Are you able to open the notebook and run code in this environment?
I bumped into this issue in a CI pipeline so actually I don't know the answer, but I guess the answer is probably not since all functions related to notebook seem broken (nbconvert, pytest .ipynb).
Or, perhaps naive question, do you know how I can run/test a notebook without opening a browser and server? (like only command lines to achieve that) Thank you for your help @SylvainCorlay
Description
This core dump error only happens in certain environment: using a docker image from binfmt to simulate aarch64 environment (manylinux2014_aarch64) on general Ubuntu. Two kinds of crash:
jupyter nbconvert --to notebook --inplace --execute xxx.ipynb
The crash log:pytest xxx.ipynb
The crash log:I have tried different version combinations of jupyter-related tools (including nbconvert) and pytest, but none of them helped. This crash only happens in the latest docker image from https://github.com/tonistiigi/binfmt. Previous version of docker image still works fine. I guess some system dependencies might be missing in the latest environment, but I have no clue from the crash log...
I have also reached out the docker image's maintainer to see whether he senses this crash. Meanwhile, I have a question to jupyter/nbconvert: how does this core dump imply? How can resolve it if it happens in certain environment?
Thank you for the assistance!
Reproduce
Running jupyter notebook commands in a docker environment binfmt on Ubuntu.
Expected behavior
pytest with .ipynb and
jupyter nbconvert
should work well without crash.Context