jupyterlab_server
jupyterlab_server copied to clipboard
Zero length page_request.json throws exception
Description
A zero-length page_request.json will cause connections to the server to fail with error 500.
Reproduce
echo "" > ~/.jupyterlab/labconfig/page_config.json
Expected behavior
Normal connection to notebook (with a warning emitted about invalid json, perhaps).
Context
- Operating System and version: Centos 7, Alma8, Alma9
- Browser and version: Firefox, Chrome
- JupyterLab version: 3.6.7
We've seen this happen at least twice: a user has filled their disk/quota, and page_config.json
gets written out as a zero-length file.