【发布时间】:2020-05-24 22:53:33
【问题描述】:
JupyterLab 位于 gcp Deep learning vm 中。
从几个小时前开始,我无法在 JupyterLab 中保存任何更改。
有未保存的更改。
将笔记本保存为灰色。
此外,如果我尝试从左侧窗格中删除文件,则会出现 500 错误。
我记得在这次破坏之前所做的唯一改变就是这个。当我尝试在命令行中执行 git 操作时出现此错误。
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
所以我这样做了
rm -f ./.git/index.lock
并且 git 命令正常工作。这是我记得在此错误之前所做的唯一一件事。
之后,我删除了存储库并重新克隆了它。
因为每次让用户声明 jupyter 目录时我都必须输入 sudo。但是在我做出这个改变之前这个错误就已经存在了。
udo chown your_username directory
【问题讨论】:
标签: google-cloud-platform jupyter-notebook jupyter jupyter-lab