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]> 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, in on_message >>> >>> self.terminal.ptyproc.write(command[1]) >>> >>> File "/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyproces >>> s.py", line 829, in write >>> >>> return super(PtyProcessUnicode, self).write(b) >>> >>> File "/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyproces >>> s.py", line 555, in write >>> >>> return self._writeb(s, flush=flush) >>> >>> File "/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyproces >>> s.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/ms >>> gid/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. >>> >> >> -- > 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/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. > -- 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/CAOvn4qiBNuc9M4tX6mY4v078yfkeT-VWfrj6kMYcEKMkndVqhg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
