tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

The error was: SyntaxError: Unexpected token < in JSON at position 6

Open jptalusan opened this issue 7 years ago • 7 comments

I'm getting this error when trying to upload the Jupyter notebook ep7.ipynb

I simply follow the command "docker run -it -p 8888:8888 tensorflow/tensorflow:0.10.0rc0" and when i try to upload the error appears.

jptalusan avatar Oct 24 '17 05:10 jptalusan

any update on this?

iamsaksham avatar May 08 '18 02:05 iamsaksham

getting the same error on ep7.ipynb

pdhruv93 avatar Sep 04 '18 13:09 pdhruv93

This solved the issue: When you download an ipynb file using the RAW button in GitHub it displays the text int the browser. This is json code and contains all of the jupyter notebook cells. You can copy this text into a file and name it with the extension ipynb and it will contain the notebook when using it with Jupyter.

Thanks to @mmcky https://github.com/mmcky/nyu-econ-370/issues/10

pdhruv93 avatar Sep 04 '18 13:09 pdhruv93

Thanks, that was exactly the problem! Super helpful

Jzhang0107 avatar Sep 22 '20 02:09 Jzhang0107

After trying many solutions, this one helped me fix this issue!! Much thanks

Meganmli avatar May 28 '21 18:05 Meganmli

Thanks @pdhruv93. I spent 4 hours just to findout the way and finally your solution worked for me.

meppandey avatar Oct 26 '22 16:10 meppandey

It did not solve the issue for me.

AleksandraMolchanova avatar Sep 25 '23 22:09 AleksandraMolchanova