jupyterlab-git: Git extension causing issues for Jupyterlab 3.x
Description
I am seeing this issue mentioned here while using git extension jupyterlab-git version=0.31.0a0 jupyterlab version=3.0.16
https://github.com/jupyterlab/jupyterlab/issues/10435 Raising this issue as per this suggestion: https://github.com/jupyterlab/jupyterlab/pull/10505#issuecomment-873350982
Reproduce
Using git diff is breaking JupyterLab functionality
-
Open .ipynb
-
Do a git diff on a .py file
-
this causes .py file is empty
-
.ipynb file has empty cells
Expected behavior
JupyterLab works well till I do git diff. If I restart the server via hub control, it works till I do git diff
Context
- Python package version: 3.6.12
- Extension version: 0.31.0a0
- Git version:2.27.0
- Operating System and its version: NAME=“Red Hat Enterprise Linux Server” VERSION=“7.6 (Maipo)” ID=“rhel”
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Web Browser Output
Paste the output from your browser web console here.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 33 (15 by maintainers)
@krassowski @fcollonval Removed jupyterlab-lsp and jupyter-lsp. Still seeing the issue
sh-4.2$ jupyter labextension list
sh-4.2$ pip list | grep jupyter
error trace with git diff on .md file
error trace when I open .md file