<p>在过去的几分钟内,我无法访问以前用Python3.4创建的任何<code>.ipynb</code>文件。我把这些文件转到子目录,输入</p>
<pre><code>ipython3 notebook
</code></pre>
<p>当我打开一个“新”笔记本时,会出现以下错误:</p>
<pre><code>Unexpected error while saving file: Untitled1.ipynb database disk image is malformed
</code></pre>
<p>我也不能打开旧笔记本。我知道错误:</p>
<pre><code>An unknown error occurred while loading this notebook. This version can load notebook formats v4 or earlier. See the server log for details.
</code></pre>
<p>在终端里,它显示</p>
<pre><code>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'
</code></pre>
<p>我该怎么解决?</p>