The message originally happened on Chrome, but I just tried on Firefox and 
Edge and I get the same result.

On Wednesday, July 27, 2016 at 3:34:27 PM UTC-5, takowl wrote:
>
> Is it different with a different browser? The error looks like the browser 
> is producing JSON that's not valid UTF-8, which as far as I know should 
> never be the case.
>
> On 27 July 2016 at 07:24, Kenji Kina <[email protected] <javascript:>> 
> wrote:
>
>> I recently installed the official Tensorflow CPU Docker image which comes 
>> with Jupyter Notebook.
>>
>> I can *use *it without any trouble, but it won't save at all. Whenever 
>> it tries to autosave, it drops me a small nondescript message. Also, every 
>> time I try to save and checkpoint, it gives me the following error:
>>
>>
>>
>> <https://lh3.googleusercontent.com/-fo7fCXZztUg/V5hS6YRh1gI/AAAAAAAACYM/nvBBLwaf6wEYYr76AVRqYzoZwYe52_bRwCLcB/s1600/UnicodeDecodeError.png>
>>
>> Extracted from the browser inspector I get the following text:
>>
>> Traceback (most recent call last):
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/notebook/base/handlers.py", line 
>> 457, in wrapper
>>     result = yield gen.maybe_future(method(self, *args, **kwargs))
>>   File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 
>> 1015, in run
>>     value = future.result()
>>   File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", 
>> line 237, in result
>>     raise_exc_info(self._exc_info)
>>   File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 285, 
>> in wrapper
>>     yielded = next(result)
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/notebook/services/contents/handlers.py",
>>  
>> line 234, in put
>>     model = self.get_json_body()
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/notebook/base/handlers.py", line 
>> 326, in get_json_body
>>     body = self.request.body.strip().decode(u'utf-8')
>>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>>     return codecs.utf_8_decode(input, errors, True)
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 4477: 
>> invalid start byte
>>
>> I've changed the locale of my docker container's OS (Ubuntu Linux) to 
>> explicit en_US.UTF-8 and en_US.ISO-8859-1 but it hasn't helped.
>>
>> I am at my wits end. Can anyone give me a hand with this?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/2c57f6db-fab4-4be3-a32c-7cd3385f53e5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jupyter/2c57f6db-fab4-4be3-a32c-7cd3385f53e5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/9d11f459-9037-46da-8baa-0e166c17bb19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to