rickecon / StructEst_W20

MACS 40200 (Winter 2020): Structural Estimation
51 stars 60 forks source link

Cannot open MLE.ipynb #14

Open FrederickZ opened 4 years ago

FrederickZ commented 4 years ago

I think there is something wrong with the latest version of MLE.ipynb (latest commit 0b5f18b).

Here is the error log by Jupyter:

Error loading notebook
Unreadable Notebook: /Users/yumingz/Projects/StructEst_W20/Notebooks/MLE/MLest.ipynb 
NotJSONError("Notebook does not appear to be JSON: '\\n\\n\\n\\n\\n\\n<!DOCTYPE html>\\n<html lang...")

Here is the error log by Visual Studio Code:

Unexpected token < in JSON at position 6
FrederickZ commented 4 years ago

Does anyone else have this problem after fetch and merge the latest commit?

xiangyum commented 4 years ago

Yep. Had the same issue. I could still see it off Rick's master though.

rickecon commented 4 years ago

@zhuyuming96 @xiangyum . I don't know what this problem is, and I can't replicate it. Maybe it is an issue with VS Code. I get the notebook to open just fine by going to my terminal and typing the following four commands:

git fetch upstream
git merge upstream/master
git push origin master

After these three commands, your remote repository will be up-to-date with the main repository. Maybe try VS Code after doing these steps. If that doesn't work, then just open the notebook from your terminal by going to the Notebooks/MLE/ folder and typing jupyter notebook.