orchest / orchest

Build data pipelines, the easy way 🛠️

Home Page:https://orchest.readthedocs.io/en/stable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Invalid response: 413 Request Entity Too Large` when using interactive widgets in Orchest

astrojuanlu opened this issue · comments

Describe the bug
When using interactive widgets inside Orchest (see #1235) I frequently get errors like these, usually right after creating the first widget:

image

"File Save Error for Experiments.ipynb
Invalid response: 413 Request Entity Too Large"

Since autosave is on, this modal dialog will keep popping up even if I dismiss it. The solution is usually to clear the corresponding output.

Expected behavior
I can use interactive widgets without errors.

To Reproduce
Steps to reproduce the behavior:

  1. Install ipywidgets and ipympl on Jupyter
  2. Create a new project, and install matplotlib inside the environment
  3. Enable the ipympl matplotlib backend by running %matplotlib ipympl inside the notebook
  4. Make plot with lots of elements
  5. Observe error happening

Screenshots
image

Environment

  • OS: Linux Mint
  • Browser: Firefox
  • Orchest's version: 2022.08.8

Just to be absolutely sure, you get this issue only in Orchest? And when running the same code in JupyterLab outside of Orchest this doesn't happen?

Just confirmed that I cannot reproduce this with JupyterLab 3.4.2 outside of Orchest, the save process seems to work normally.

@astrojuanlu Could you verify whether this issue is not fixed by #1242? Maybe the version upgrade worked its magic? 🤞