Traceback (most recent call last):

 "E:\Anaconda\lib\site-packages\qtconsole\manager.py", line 27, in poll
super(QtKernelRestarter, self).poll()

 "E:\Anaconda\lib\site-packages\jupyter_client\restarter.py", line 113, in poll
self.kernel_manager.restart_kernel(now=True, newports=newports)

 "E:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 368, in restart_kernel
self.start_kernel(**self._launch_args)

 "E:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 261, in start_kernel
self._connect_control_socket()

 "E:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 210, in _connect_control_socket
self._control_socket = self.connect_control()

 "E:\Anaconda\lib\site-packages\jupyter_client\connect.py", line 571, in connect_control
return self._create_connected_socket('control', identity=identity)

 "E:\Anaconda\lib\site-packages\jupyter_client\connect.py", line 543, in _create_connected_socket
sock = self.context.socket(socket_type)

 "E:\Anaconda\lib\site-packages\traitlets\traitlets.py", line 556, in __get__
return self.get(obj, cls)

 "E:\Anaconda\lib\site-packages\traitlets\traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())

 "E:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 42, in _context_default
return zmq.Context.instance()

 "E:\Anaconda\lib\site-packages\zmq\sugar\context.py", line 108, in instance
cls._instance = cls(io_threads=io_threads)

 "zmq/backend/cython/context.pyx", line 49, in zmq.backend.cython.context.Context.__cinit__zmq.error.ZMQError: Address not available
Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py", line 41, in inner

response = get_response(request)


 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 185, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/kovalchuk-as/PycharmProjects/PlotBuilder/mainApp/views.py", line 67, in ajax

send_media_to_telegram(path)


 "/home/kovalchuk-as/PycharmProjects/PlotBuilder/mainApp/helpers/send_to_telegram.py", line 44, in send_media_to_telegram

client.send_photo('test5.png', recipient)


 "/home/kovalchuk-as/PycharmProjects/PlotBuilder/mainApp/TelegramClient.py", line 224, in send_photo

path, progress_callback=self.upload_progress_callback)


 "/usr/local/lib/python3.5/dist-packages/telethon/telegram_bare_client.py", line 284, in upload_file

result = self.invoke(request)


 "/usr/local/lib/python3.5/dist-packages/telethon/telegram_client.py", line 261, in invoke

request, updates=updates


 "/usr/local/lib/python3.5/dist-packages/telethon/telegram_bare_client.py", line 220, in invoke

self._sender.receive(request, updates=updates)


 "/usr/local/lib/python3.5/dist-packages/telethon/network/mtproto_sender.py", line 104, in receive

seq, body = self.transport.receive(**kwargs)


 "/usr/local/lib/python3.5/dist-packages/telethon/network/tcp_transport.py", line 56, in receive

packet_length_bytes = self.tcp_client.read(4, timeout)


 "/usr/local/lib/python3.5/dist-packages/telethon/extensions/tcp_client.py", line 114, in read

'The read operation exceeded the timeout.') from error
TimeoutError: The read operation exceeded the timeout.
