Sha*_*ang 6 python python-3.x ipython-notebook jupyter
在过去的几分钟内,我无法访问.ipynb
以前使用Python3.4创建的任何文件.我带着这些文件进入子目录,输入
ipython3 notebook
Run Code Online (Sandbox Code Playgroud)
当我打开"新"笔记本时,我收到以下错误:
Unexpected error while saving file: Untitled1.ipynb database disk image is malformed
Run Code Online (Sandbox Code Playgroud)
我也打不开旧笔记本.我收到错误:
An unknown error occurred while loading this notebook. This version can load notebook formats v4 or earlier. See the server log for details.
Run Code Online (Sandbox Code Playgroud)
它指出,在终端内
kernels (twice to skip confirmation).
[E 00:30:22.352 NotebookApp] Unhandled error in API request
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/traitlets.py", line 460, in get
value = obj._trait_values[self.name]
KeyError: 'db'
Run Code Online (Sandbox Code Playgroud)
我怎样才能解决这个问题?
Ste*_*ven 12
这不会是每个人的问题,但我收到以下错误消息,因为磁盘实际上已满。
An unknown error occurred while loading this notebook. This version can load notebook formats v4 or earlier. See the server log for details.
Run Code Online (Sandbox Code Playgroud)
Mik*_*ler 10
搜索nbsignatures.db
.它应该在这里:
~/.ipython/profile_default/security/nbsignatures.db
Run Code Online (Sandbox Code Playgroud)
或者在这里:
~/Library/Jupyter/nbsignatures.db
Run Code Online (Sandbox Code Playgroud)
该~
代表你的home目录.
将此文件移动到临时目录.
重新启动您的IPython Notebook服务器.
由于我找不到其他答案中提到的任何文件,我找了另一个解决方案,发现这个对我有用:
我通过将〜/ .local/share/jupyter目录的所有权从root更改为user来解决了这个问题.
来自https://github.com/ipython/ipython/issues/8997
归档时间: |
|
查看次数: |
8691 次 |
最近记录: |