From time to time I get this error while using the script and even refreshing the browser or closing the session does not solve the problem:
An exception has occurred, use %tb to see the full traceback.
SystemExit: NoteBook is out-dated! Please update your Notebook to ['shell-init: error retrieving current directory: getcwd: cannot access parent directories: Transport endpoint is not connected', 'v4.1.2'], for getting latest new features.
/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py:2890: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)