Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 KB | None | 0 0
  1. 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',)>
  2.  
  3.  
  4. Traceback (most recent call last):
  5.  
  6.  
  7. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app
  8.  
  9.  
  10. await asgi_instance(self.asgi_receive, self.asgi_send)
  11.  
  12.  
  13. File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 106, in __call__
  14.  
  15.  
  16. await _cancel_tasks(pending)
  17.  
  18.  
  19. File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 189, in _cancel_tasks
  20.  
  21.  
  22. raise task.exception()
  23.  
  24.  
  25. File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 157, in handle_websocket
  26.  
  27.  
  28. 'code': 1000,
  29.  
  30.  
  31. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send
  32.  
  33.  
  34. await self.asend(CloseConnection(code=int(message["code"])))
  35.  
  36.  
  37. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
  38.  
  39.  
  40. self.write(self.connection.send(event))
  41.  
  42.  
  43. File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
  44.  
  45.  
  46. data += self.connection.send(event)
  47.  
  48.  
  49. File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
  50.  
  51.  
  52. "Connection cannot be closed in state %s" % self.state
  53.  
  54.  
  55. wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
  56.  
  57.  
  58.  
  59.  
  60. During handling of the above exception, another exception occurred:
  61.  
  62.  
  63.  
  64.  
  65. Traceback (most recent call last):
  66.  
  67.  
  68. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket
  69.  
  70.  
  71. await self.handle_asgi_app(event)
  72.  
  73.  
  74. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app
  75.  
  76.  
  77. await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE))
  78.  
  79.  
  80. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
  81.  
  82.  
  83. self.write(self.connection.send(event))
  84.  
  85.  
  86. File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
  87.  
  88.  
  89. data += self.connection.send(event)
  90.  
  91.  
  92. File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
  93.  
  94.  
  95. "Connection cannot be closed in state %s" % self.state
  96.  
  97.  
  98. wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
  99.  
  100.  
  101. ERROR:asyncio:Task exception was never retrieved
  102.  
  103.  
  104. 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',)>
  105.  
  106.  
  107. Traceback (most recent call last):
  108.  
  109.  
  110. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 91, in handle_asgi_app
  111.  
  112.  
  113. await asgi_instance(self.asgi_receive, self.asgi_send)
  114.  
  115.  
  116. File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 106, in __call__
  117.  
  118.  
  119. await _cancel_tasks(pending)
  120.  
  121.  
  122. File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 189, in _cancel_tasks
  123.  
  124.  
  125. raise task.exception()
  126.  
  127.  
  128. File "/usr/local/lib/python3.6/dist-packages/quart/asgi.py", line 157, in handle_websocket
  129.  
  130.  
  131. 'code': 1000,
  132.  
  133.  
  134. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 149, in asgi_send
  135.  
  136.  
  137. await self.asend(CloseConnection(code=int(message["code"])))
  138.  
  139.  
  140. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
  141.  
  142.  
  143. self.write(self.connection.send(event))
  144.  
  145.  
  146. File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
  147.  
  148.  
  149. data += self.connection.send(event)
  150.  
  151.  
  152. File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
  153.  
  154.  
  155. "Connection cannot be closed in state %s" % self.state
  156.  
  157.  
  158. wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
  159.  
  160.  
  161.  
  162.  
  163. During handling of the above exception, another exception occurred:
  164.  
  165.  
  166.  
  167.  
  168. Traceback (most recent call last):
  169.  
  170.  
  171. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 78, in handle_websocket
  172.  
  173.  
  174. await self.handle_asgi_app(event)
  175.  
  176.  
  177. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asgi/wsproto.py", line 99, in handle_asgi_app
  178.  
  179.  
  180. await self.asend(CloseConnection(code=CloseReason.ABNORMAL_CLOSURE))
  181.  
  182.  
  183. File "/usr/local/lib/python3.6/dist-packages/hypercorn/asyncio/wsproto.py", line 93, in asend
  184.  
  185.  
  186. self.write(self.connection.send(event))
  187.  
  188.  
  189. File "/usr/local/lib/python3.6/dist-packages/wsproto/__init__.py", line 64, in send
  190.  
  191.  
  192. data += self.connection.send(event)
  193.  
  194.  
  195. File "/usr/local/lib/python3.6/dist-packages/wsproto/connection.py", line 101, in send
  196.  
  197.  
  198. "Connection cannot be closed in state %s" % self.state
  199.  
  200.  
  201. wsproto.utilities.LocalProtocolError: Connection cannot be closed in state ConnectionState.CLOSED
  202.  
  203.  
  204. INFO:quart.serving:192.168.1.208:60931 GET /api/events/log 1.1 101 - 271108
  205.  
  206.  
  207. [2019-12-15 18:46:00,891] 192.168.1.208:60931 GET /api/events/log 1.1 101 - 271108
  208.  
  209.  
  210. ERROR:__main__:join() argument must be str or bytes, not 'NoneType'
  211.  
  212.  
  213. Traceback (most recent call last):
  214.  
  215.  
  216. File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1471, in full_dispatch_request
  217.  
  218.  
  219. result = await self.dispatch_request(request_context)
  220.  
  221.  
  222. File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1519, in dispatch_request
  223.  
  224.  
  225. return await handler(**request_.view_args)
  226.  
  227.  
  228. File "app.py", line 694, in api_unknown_words
  229.  
  230.  
  231. core.profile.get(f"speech_to_text.{speech_system}.unknown_words")
  232.  
  233.  
  234. File "/usr/share/rhasspy/rhasspy/profiles.py", line 91, in read_path
  235.  
  236.  
  237. full_path = os.path.join(profiles_dir, self.name, *path_parts)
  238.  
  239.  
  240. File "/usr/lib/python3.6/posixpath.py", line 94, in join
  241.  
  242.  
  243. genericpath._check_arg_types('join', a, *p)
  244.  
  245.  
  246. File "/usr/lib/python3.6/genericpath.py", line 149, in _check_arg_types
  247.  
  248.  
  249. (funcname, s.__class__.__name__)) from None
  250.  
  251.  
  252. TypeError: join() argument must be str or bytes, not 'NoneType'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement