Hi all,
I am asking this here, since similar issues were encountered before. I suspect that there is something wrong with the tornado library and how this might be integrated with bokeh. (Bokeh embedded session limitations, race condition or bug?)
I was using pane.Video() to display videos for a jupyter notebook. However, when I started player longer videos (> 15 minutes), the kernel always crashed. It works perfectly fine with videos that are less 2 minutes, so I suppose it has to do with how data is being transferred.
To explain the set-up, I am working on a cluster and use port forwarding to use the display on my local computer for jupyter lab. I get the error that something is wrong with Tornado library etc.
The next time the kernel restarts and I try to run the same cell again, I get the error:
[I 2024-01-24 17:02:07.460 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), keep random ports
I also tried loading larger videos with IPython.Video which worked seamlessly. However, when loading videos with the panel library, it breaks. Does anyone have any idea about how to fix this? Any insight would be appreciated!
Also, if this is not relevant to this platform, please let me know. I am happy to remove the post and ask elsewhere :).
