jupyter server crashes and fails to render files or file ops if a malformed pyproject.toml
is found in a user's homedir
#1443
Labels
pyproject.toml
is found in a user's homedir
#1443
Description
when a malformed
pyproject.toml
is located in the root of a user's homedir, jupyter server picks it up, tries to execute it and fails.Reproduce
pyproject.toml
in your root homedir:tree
orlab
views, and you won't be able to open or save any notebooks and instead get the following error dialogue box:no files visible:
versus what is actually there:
this was discovered after a student had the above
pyproject.toml
located in their root homedir and was unable to open/create/save any notebooks or access any of their files through the UI. files were still visible if a terminal window was opened.Expected behavior
honestly, we were surprised that
pyproject.toml
was ingested during single user server launch. if this is expected behavior (which i don't feel it should be), then it should fail gracefully.Context
Troubleshoot Output
the output of `jupyter troubleshoot` is quite long, and i can provide relevant information if needed.Command Line Output
there's nothing pertinent in the output of `jupyter lab --debug`.Error reported in the server logs:
The text was updated successfully, but these errors were encountered: