Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app
- await asgi_instance(self.asgi_receive, self.asgi_send)
- File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 106, in __call__
- await _cancel_tasks(pending)
- File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 189, in _cancel_tasks
- raise task.exception()
- File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 157, in handle_websocket
- 'code': 1000,
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send
- await self.asend(CloseConnection(code=int(message["code"])))
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
- self.write(self.connection.send(event))
- File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
- data += self.connection.send(event)
- File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
- "Connection cannot be closed in state %s" % self.state
- wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket
- await self.handle_asgi_app(event)
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app
- await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE))
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
- self.write(self.connection.send(event))
- File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
- data += self.connection.send(event)
- File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
- "Connection cannot be closed in state %s" % self.state
- wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
- ERROR:asyncio:Task exception was never retrieved
- future: <Task finished coro=<WebsocketMixin.handle_websocket() done, defined at /usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py:60> exception=LocalProtocolError('Connection cannot be closed in state ConnectionState.CLOSED',)>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app
- await asgi_instance(self.asgi_receive, self.asgi_send)
- File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 106, in __call__
- await _cancel_tasks(pending)
- File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 189, in _cancel_tasks
- raise task.exception()
- File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 157, in handle_websocket
- 'code': 1000,
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send
- await self.asend(CloseConnection(code=int(message["code"])))
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
- self.write(self.connection.send(event))
- File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
- data += self.connection.send(event)
- File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
- "Connection cannot be closed in state %s" % self.state
- wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket
- await self.handle_asgi_app(event)
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app
- await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE))
- File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
- self.write(self.connection.send(event))
- File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
- data += self.connection.send(event)
- File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
- "Connection cannot be closed in state %s" % self.state
- wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
- INFO:quart.serving:192.168.1.208:60931 GET /api/events/log 1.1 101 - 271108
- [2019-12-15 18:46:00,891] 192.168.1.208:60931 GET /api/events/log 1.1 101 - 271108
- ERROR:__main__:join() argument must be str or bytes, not 'NoneType'
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1471, in full_dispatch_request
- result = await self.dispatch_request(request_context)
- File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1519, in dispatch_request
- return await handler(**request_.view_args)
- File "app.py", line 694, in api_unknown_words
- core.profile.get(f"speech_to_text.{speech_system}.unknown_words")
- File "/usr/share/rhasspy/rhasspy/profiles.py", line 91, in read_path
- full_path = os.path.join(profiles_dir, self.name, *path_parts)
- File "/usr/lib/python3.6/posixpath.py", line 94, in join
- genericpath._check_arg_types('join', a, *p)
- File "/usr/lib/python3.6/genericpath.py", line 149, in _check_arg_types
- (funcname, s.__class__.__name__)) from None
- TypeError: join() argument must be str or bytes, not 'NoneType'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement