Computational-Content-Analysis-2020 / frequently-asked-questions-spring

Questions or doubts about organisation/code for Spring 2020 running of Computational Content Analysis.
0 stars 0 forks source link

Unreadable notebook: NotJSONError #21

Open WMhYang opened 4 years ago

WMhYang commented 4 years ago

Hi there, when I tried to open the notebook for Week 2, there is an error message like this: Unreadable Notebook: C:\Users\Thinkpad\ContentAnalysis\Content-Analysis-2020\week-2\2-Reliability-solution.ipynb NotJSONError('Notebook does not appear to be JSON: \'{\n "cells": [\n {\n "cell_type": "m...') Hence, I could not open the notebook locally. I also tried to open other notebooks and they could be accessed normally. How could I fix this problem? Thanks.

bhargavvader commented 4 years ago

Hmmm, that's strange, is this still happening? I find some options on StackOverflow. It seems to be a python checkpoint error.

If those don't work, then mail me and I will send you a copy of the HW.

WMhYang commented 4 years ago

I tried to re-pull the notebook and do the things as in the link on weekends but the error still exists, so I asked one of my classmates to send me a copy of the homework. I compare the two notebooks and find that the problem lies in the end of that notebook where the dictionary "metadata" fails to capture the version information. Thanks a lot for your help.