Skip to content

Zero length page_request.json throws exception #443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
holzman opened this issue Mar 11, 2024 · 1 comment · Fixed by #444
Closed

Zero length page_request.json throws exception #443

holzman opened this issue Mar 11, 2024 · 1 comment · Fixed by #444
Labels

Comments

@holzman
Copy link
Contributor

holzman commented Mar 11, 2024

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 holzman added the bug label Mar 11, 2024
Copy link

welcome bot commented Mar 11, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant