Unreadable Notebook NotJSONError('Notebook does not appear to be JSON: u'{\n “cells”: [\n {\n “cell_type”: "…',) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Safely turning a JSON string into an objectSerializing to JSON in jQueryHow do I format a Microsoft JSON date?Can comments be used in JSON?How can I pretty-print JSON in a shell script?What is the correct JSON content type?Why does Google prepend while(1); to their JSON responses?Why can't Python parse this JSON data?How can I pretty-print JSON using JavaScript?how to dynamically update a plot in a loop in ipython notebook (within one cell)

What is a more techy Technical Writer job title that isn't cutesy or confusing?

Should man-made satellites feature an intelligent inverted "cow catcher"?

Does the universe have a fixed centre of mass?

Does the transliteration of 'Dravidian' exist in Hindu scripture? Does 'Dravida' refer to a Geographical area or an ethnic group?

What does 丫 mean? 丫是什么意思?

Why do C and C++ allow the expression (int) + 4?

Pointing to problems without suggesting solutions

Centre cell contents vertically

Google .dev domain strangely redirects to https

Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?

Trying to understand entropy as a novice in thermodynamics

Random body shuffle every night—can we still function?

The test team as an enemy of development? And how can this be avoided?

Releasing Patch File for BSD3 Licensed Project

latest version of QGIS fails to edit attribute table of GeoJSON file

Relating to the President and obstruction, were Mueller's conclusions preordained?

Is there a spell that can create a permanent fire?

What are some likely causes to domain member PC losing contact to domain controller?

Order between one to one functions and their inverses

Is this Half dragon Quaggoth Balanced

Twin's vs. Twins'

How to make an animal which can only breed for a certain number of generations?

How do Java 8 default methods hеlp with lambdas?

What is the proper term for etching or digging of wall to hide conduit of cables



Unreadable Notebook NotJSONError('Notebook does not appear to be JSON: u'{\n “cells”: [\n {\n “cell_type”: "…',)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Safely turning a JSON string into an objectSerializing to JSON in jQueryHow do I format a Microsoft JSON date?Can comments be used in JSON?How can I pretty-print JSON in a shell script?What is the correct JSON content type?Why does Google prepend while(1); to their JSON responses?Why can't Python parse this JSON data?How can I pretty-print JSON using JavaScript?how to dynamically update a plot in a loop in ipython notebook (within one cell)



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








4















Getting this very strange error when I am trying to load my ipython notebook. Never had it before, and I cannot to my recollection, remember having done anything silly with ipython:



Unreadable Notebook: /path/to/notebooks/results.ipynb NotJSONError('Notebook does not appear to be JSON: u'{\n "cells": [\n {\n "cell_type": "...',)


which is followed by



400 GET /api/contents/results.ipynb?type=notebook&_=1440010858974 (127.0.0.1) 36.17ms referer=http://localhost:8888/notebooks/results.ipynb









share|improve this question






























    4















    Getting this very strange error when I am trying to load my ipython notebook. Never had it before, and I cannot to my recollection, remember having done anything silly with ipython:



    Unreadable Notebook: /path/to/notebooks/results.ipynb NotJSONError('Notebook does not appear to be JSON: u'{\n "cells": [\n  









    4












    4








    4








    Getting this very strange error when I am trying to load my ipython notebook. Never had it before, and I cannot to my recollection, remember having done anything silly with ipython:



    Unreadable Notebook: /path/to/notebooks/results.ipynb NotJSONError('Notebook does not appear to be JSON: u' 









    2












    2








    2







    I just had the same issue after upgrading from IPython 0.13 (ish) to Jupyter 4.



    The problem in my case were a few rogue trailing commas in the JSON, for example the comma following "outputs" in:



    ...
    "language": "python",
    "metadata": ,
    "outputs": [],
    ,


    After removing the commas, Jupyter/IPython could again read the notebook (and upgraded it to version 4). I hope this helps.






    share,


    After removing the commas, Jupyter/IPython could again read the notebook (and upgraded it to version 4). I hope this helps.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 17 '16 at 14:58









    cr333cr333

    870815




    870815























        4














        This happened to me as well. I opened my data.ipynb file using notepad and found out it was blank.



        I managed to recover my file by going into the hidden ipynb_checkpoints folder and copying data_checkpoint.ipynb out into my working directory.



        In my Mac OS terminal



        cd .ipynb_checkpoints
        cp data-checkpoint.ipynb ..


        Thankfully the codes were preserved. Hope this helps!






        share|improve this answer



























          4














          This happened to me as well. I opened my data.ipynb file using notepad and found out it was blank.



          I managed to recover my file by going into the hidden ipynb_checkpoints folder and copying data_checkpoint.ipynb out into my working directory.



          In my Mac OS terminal



          cd .ipynb_checkpoints
          cp data-checkpoint.ipynb ..


          Thankfully the codes were preserved. Hope this helps!






          share|improve this answer

























            4












            4








            4







            This happened to me as well. I opened my data.ipynb file using notepad and found out it was blank.



            I managed to recover my file by going into the hidden ipynb_checkpoints folder and copying data_checkpoint.ipynb out into my working directory.



            In my Mac OS terminal



            cd .ipynb_checkpoints
            cp data-checkpoint.ipynb ..


            Thankfully the codes were preserved. Hope this helps!






            share|improve this answer













            This happened to me as well. I opened my data.ipynb file using notepad and found out it was blank.



            I managed to recover my file by going into the hidden ipynb_checkpoints folder and copying data_checkpoint.ipynb out into my working directory.



            In my Mac OS terminal



            cd .ipynb_checkpoints
            cp data-checkpoint.ipynb ..


            Thankfully the codes were preserved. Hope this helps!







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 5 '17 at 8:59









            runawaykidrunawaykid

            6961714




            6961714





















                2














                In my case, I am using GitHub to save and share my ipython files with my teammate. When there is a conflict in the code, I had to delete those lines indicating the changes in the conflicting code such as:



                >>>>>>>>head
                =============


                and It works for me.






                share|improve this answer



























                  2














                  In my case, I am using GitHub to save and share my ipython files with my teammate. When there is a conflict in the code, I had to delete those lines indicating the changes in the conflicting code such as:



                  >>>>>>>>head
                  =============


                  and It works for me.






                  share|improve this answer

























                    2












                    2








                    2







                    In my case, I am using GitHub to save and share my ipython files with my teammate. When there is a conflict in the code, I had to delete those lines indicating the changes in the conflicting code such as:



                    >>>>>>>>head
                    =============


                    and It works for me.






                    share|improve this answer













                    In my case, I am using GitHub to save and share my ipython files with my teammate. When there is a conflict in the code, I had to delete those lines indicating the changes in the conflicting code such as:



                    >>>>>>>>head
                    =============


                    and It works for me.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 9 '18 at 12:16









                    Maged SaeedMaged Saeed

                    86811128




                    86811128





















                        2














                        The easiest way to recover corrupted Jupyter notebook files, whether it contains text or not (size = 0KB), is to go to the project folder and display the hidden files. Once the hidden files are displayed, you will see a folder named '.ipynb_checkpoints'. Simply open this folder and take the file you want!






                        share|improve this answer





























                          2














                          The easiest way to recover corrupted Jupyter notebook files, whether it contains text or not (size = 0KB), is to go to the project folder and display the hidden files. Once the hidden files are displayed, you will see a folder named '.ipynb_checkpoints'. Simply open this folder and take the file you want!






                          share|improve this answer



























                            2












                            2








                            2







                            The easiest way to recover corrupted Jupyter notebook files, whether it contains text or not (size = 0KB), is to go to the project folder and display the hidden files. Once the hidden files are displayed, you will see a folder named '.ipynb_checkpoints'. Simply open this folder and take the file you want!






                            share|improve this answer















                            The easiest way to recover corrupted Jupyter notebook files, whether it contains text or not (size = 0KB), is to go to the project folder and display the hidden files. Once the hidden files are displayed, you will see a folder named '.ipynb_checkpoints'. Simply open this folder and take the file you want!







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Mar 9 at 0:35









                            Pikachu the Purple Wizard

                            2,12461529




                            2,12461529










                            answered Mar 9 at 0:06









                            user11173578user11173578

                            211




                            211





















                                1














                                Save yourself a headache. Open your .ipynb in any online JSON validator and it will tell you which lines have issues. I used this one.






                                share|improve this answer



























                                  1














                                  Save yourself a headache. Open your .ipynb in any online JSON validator and it will tell you which lines have issues. I used this one.






                                  share|improve this answer

























                                    1












                                    1








                                    1







                                    Save yourself a headache. Open your .ipynb in any online JSON validator and it will tell you which lines have issues. I used this one.






                                    share|improve this answer













                                    Save yourself a headache. Open your .ipynb in any online JSON validator and it will tell you which lines have issues. I used this one.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Dec 5 '18 at 21:28









                                    crypdickcrypdick

                                    1,18911234




                                    1,18911234





















                                        0














                                        I had this issue from accidentally saving as .txt from github and solved by deleting .txt (leaving .ipynb instead of .ipynb.txt when downloading)






                                        share|improve this answer



























                                          0














                                          I had this issue from accidentally saving as .txt from github and solved by deleting .txt (leaving .ipynb instead of .ipynb.txt when downloading)






                                          share|improve this answer

























                                            0












                                            0








                                            0







                                            I had this issue from accidentally saving as .txt from github and solved by deleting .txt (leaving .ipynb instead of .ipynb.txt when downloading)






                                            share|improve this answer













                                            I had this issue from accidentally saving as .txt from github and solved by deleting .txt (leaving .ipynb instead of .ipynb.txt when downloading)







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Jun 6 '18 at 14:09









                                            jjjshadejjjshade

                                            12




                                            12



























                                                draft saved

                                                draft discarded
















































                                                Thanks for contributing an answer to Stack Overflow!


                                                • Please be sure to answer the question. Provide details and share your research!

                                                But avoid


                                                • Asking for help, clarification, or responding to other answers.

                                                • Making statements based on opinion; back them up with references or personal experience.

                                                To learn more, see our tips on writing great answers.




                                                draft saved


                                                draft discarded














                                                StackExchange.ready(
                                                function ()
                                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f32103772%2funreadable-notebook-notjsonerrornotebook-does-not-appear-to-be-json-u-n%23new-answer', 'question_page');

                                                );

                                                Post as a guest















                                                Required, but never shown





















































                                                Required, but never shown














                                                Required, but never shown












                                                Required, but never shown







                                                Required, but never shown

































                                                Required, but never shown














                                                Required, but never shown












                                                Required, but never shown







                                                Required, but never shown







                                                Popular posts from this blog

                                                AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

                                                Алба-Юлія

                                                Захаров Федір Захарович