Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 140, in run_asgi

result = await asgi(self.asgi_receive, self.asgi_send)


 "/usr/local/lib/python3.6/dist-packages/channels/sessions.py", line 175, in __call__

return await self.inner(receive, self.send)


 "/usr/local/lib/python3.6/dist-packages/channels/middleware.py", line 41, in coroutine_call

await inner_instance(receive, send)


 "/usr/local/lib/python3.6/dist-packages/channels/consumer.py", line 54, in __call__

await await_many_dispatch([receive, self.channel_receive], self.dispatch)


 "/usr/local/lib/python3.6/dist-packages/channels/utils.py", line 50, in await_many_dispatch

await dispatch(result)


 "/usr/local/lib/python3.6/dist-packages/channels/consumer.py", line 67, in dispatch

await handler(message)


 "/usr/local/lib/python3.6/dist-packages/channels/generic/websocket.py", line 173, in websocket_connect

await self.connect()


 "/home/deploy/xxxxxx/app/consumers.py", line 314, in connect

await self.accept()


 "/usr/local/lib/python3.6/dist-packages/channels/generic/websocket.py", line 186, in accept

await super().send({"type": "websocket.accept", "subprotocol": subprotocol})


 "/usr/local/lib/python3.6/dist-packages/channels/consumer.py", line 75, in send

await self.base_send(message)


 "/usr/local/lib/python3.6/dist-packages/channels/sessions.py", line 226, in send

return await self.real_send(message)


 "/usr/local/lib/python3.6/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 170, in asgi_send

self.scope["server"][0],
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "c:\Users\toto\Dev\gmvault\build\gmv_runner\out00-PYZ.pyz\gmv.gmv_cmd", line 750, in run


 "c:\Users\toto\Dev\gmvault\build\gmv_runner\out00-PYZ.pyz\gmv.gmv_cmd", line 625, in _restore


 "c:\Users\toto\Dev\gmvault\build\gmv_runner\out00-PYZ.pyz\gmv.gmvault", line 901, in restore


 "c:\Users\toto\Dev\gmvault\build\gmv_runner\out00-PYZ.pyz\gmv.gmvault", line 1145, in restore_emails


 "c:\Users\toto\Dev\gmvault\build\gmv_runner\out00-PYZ.pyz\gmv.gmvault", line 84, in handle_restore_imap_error
TypeError: argument of type 'NoneType' is not iterable
