jupyterlab_server icon indicating copy to clipboard operation
jupyterlab_server copied to clipboard

Zero length page_request.json throws exception

Open holzman opened this issue 11 months ago • 1 comments

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.

holzman avatar Mar 11 '24 16:03 holzman