The Notebook Does Not Appear to Be Valid JSON #9350
-
I wrote a notebook in vcode and uploaded it to git hub repo. However, the notebook file outputs the following errors. Error: The Notebook Does Not Appear to Be Valid JSON My English is poor because I am a Korean student. The context can be awkward because it is through a translator. I'm sorry. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
Did you change the file at all before uploading it? If you download that file from Github, does it load in VS Code without errors? |
Beta Was this translation helpful? Give feedback.
-
Hi @pwjdgus, from your screenshot it appears that the notebook is not being displayed in GitHub. You did mention that you created the notebook in VS Code. So, does that same notebook that exists on your local machine still load and operate within VS Code? In other words, is it just GitHub that's having trouble showing the contents? |
Beta Was this translation helpful? Give feedback.
-
@greazer Yes, the same laptop can still work in VS Code. Only GitHub can't see the contents well. |
Beta Was this translation helpful? Give feedback.
-
It looks to me like the file on github is empty. Perhaps it didn't upload. |
Beta Was this translation helpful? Give feedback.
-
i have same issue please help me out |
Beta Was this translation helpful? Give feedback.
-
Okay so what is the solution to this? How to fix it? |
Beta Was this translation helpful? Give feedback.
-
I got the same issue, it is because the notebook which is created in vs code will not have proper JSON format. So I read the file and write it again as notebook format through nbformat package.
|
Beta Was this translation helpful? Give feedback.
It looks to me like the file on github is empty. Perhaps it didn't upload.