joouha/euporie

Euporie crashes upon loading notebook

Opened this issue · 1 comments

When I run euporie-notebook with an arbitrary notebook, it crashes almost right away. Unfortunately, the exceptions do not stay displayed in my terminal long enough for me to report them! I do see a message saying that I do not have kernels installed (I do have several installed that I use in JupyterLab and VSCode all the time), then there are Python errors that stay on the screen for only a few seconds, followed by a frozen notebook with an empty black box, which persists. It looks like this:

image

If you can provide guidance on recovering some of these exceptions/error messages I'd be happy to help debug this.

I am running the euporie version 2.8.2 on Fedora Linux and Python 3.12.

joouha commented

Hi,

Thanks for reporting this.

Most expections will get logged if debug logging is turned on. You can try enabling debug logging by launching euporie with the --log-level=debug --log-file=log.log flags:

$ euporie-notebook --log-level=debug --log-file=log.log ./my-notebook-file.ipynb

This will produce a log text file (log.log) which you can check for exceptions.

I have a few more questions which might help us figure this out:

  • How did you install euporie?
  • Is it one notebook which causes this, or does it happen with all notebooks?
  • If it's a single notebook, are you able to share it with me?
  • What terminal emulator are you using?

Thanks