So here’s a bit more about this.

My jupyter notebook server is running on a secondary account (jup) on my MacOS 
machine.  If I am logged into my primary account (gideon) on that machine open 
up the jupyter server that’s running on jup and open/close a terminal, it’s 
fine.  If I am away from that machine, and log in remotely in a web browser, 
that’s when I have the issue of terminals not closing.



> On Mar 29, 2018, at 8:36 AM, Thomas Kluyver <[email protected]> wrote:
> 
> Yup, those look like the latest ones. Not sure what's going on, then.
> 
> On 29 March 2018 at 14:30, Gideon Simpson <[email protected] 
> <mailto:[email protected]>> wrote:
> # packages in environment at /anaconda3:
> #
> # Name                    Version                   Build  Channel
> terminado                 0.8.1                    py36_1  
> notebook                  5.4.1                    py36_0  
> 
> 
> 
>> On Mar 29, 2018, at 4:21 AM, Thomas Kluyver <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Thanks. It matters because closing the tab is a very different operation 
>> from exiting the terminal, and I wasn't sure which you were doing.
>> 
>> I can't reproduce this at the moment. Are your 'notebook' and 'terminado' 
>> packages both up to date?
>> 
>> On 28 March 2018 at 23:11, Gideon Simpson <[email protected] 
>> <mailto:[email protected]>> wrote:
>> I just checked.  This also happens if I just type exit.
>> 
>> On Tuesday, March 27, 2018 at 6:42:13 AM UTC-4, takowl wrote:
>> How are you closing it?
>> 
>> On 27 March 2018 at 06:30, Gideon Simpson <[email protected] <>> wrote:
>> When trying to close a terminal in jupyter, I get the following error.  Any 
>> suggestions?
>> 
>> 
>> 
>> 
>> [E 00:23:09.324 NotebookApp] Uncaught exception in /terminals/websocket/1
>> 
>>     Traceback (most recent call last):
>> 
>>       File "/anaconda3/lib/python3.6/site-packages/tornado/websocket.py", 
>> line 498, in_run_callback
>> 
>>         result = callback(*args, **kwargs)
>> 
>>       File 
>> "/anaconda3/lib/python3.6/site-packages/notebook/terminal/handlers.py", line 
>> 37, in on_message
>> 
>>         super(TermSocket, self).on_message(message)
>> 
>>       File "/anaconda3/lib/python3.6/site-packages/terminado/websocket.py", 
>> line 81, inon_message
>> 
>>         self.terminal.ptyproc.write(command[1])
>> 
>>       File 
>> "/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyprocess.py", line 
>> 829,in write
>> 
>>         return super(PtyProcessUnicode, self).write(b)
>> 
>>       File 
>> "/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyprocess.py", line 
>> 555,in write
>> 
>>         return self._writeb(s, flush=flush)
>> 
>>       File 
>> "/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyprocess.py", line 
>> 547,in _writeb
>> 
>>         self.fileobj.flush()
>> 
>>     OSError: [Errno 5] Input/output error
>> 
>>  
>> 
>> 
>> 
>> 
>> -- 
>> 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/d9365d37-ee15-4c34-b9f5-794fe6b160b5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jupyter/d9365d37-ee15-4c34-b9f5-794fe6b160b5%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/93e5f5b0-f0aa-49b0-8130-b5d0ed9dbebd%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jupyter/93e5f5b0-f0aa-49b0-8130-b5d0ed9dbebd%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Project Jupyter" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jupyter/WfQb2zqz4HE/unsubscribe 
>> <https://groups.google.com/d/topic/jupyter/WfQb2zqz4HE/unsubscribe>.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/CAOvn4qiBNuc9M4tX6mY4v078yfkeT-VWfrj6kMYcEKMkndVqhg%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jupyter/CAOvn4qiBNuc9M4tX6mY4v078yfkeT-VWfrj6kMYcEKMkndVqhg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jupyter/35B08EFD-4FDC-4309-A708-FF7197A490EC%40gmail.com
>  
> <https://groups.google.com/d/msgid/jupyter/35B08EFD-4FDC-4309-A708-FF7197A490EC%40gmail.com?utm_medium=email&utm_source=footer>.
> 
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/jupyter/WfQb2zqz4HE/unsubscribe 
> <https://groups.google.com/d/topic/jupyter/WfQb2zqz4HE/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jupyter/CAOvn4qi9f6WnqonTATNOhBp-AqtBoNi1oqLbCFMuMYsg97CmVw%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jupyter/CAOvn4qi9f6WnqonTATNOhBp-AqtBoNi1oqLbCFMuMYsg97CmVw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <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/49C913C4-C304-4748-B843-FD4C343870C2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to