Hi, wondering if anyone can help me.
I’m trying to run the rasa_skill in Docker but whenever I try and POST a message to it I get the following error:
File “/venv/rasa_skill/lib/python3.7/site-packages/starlette-0.12.8-py3.7.egg/starlette/middleware/errors.py”, line 155, in call
await self.app(scope, receive, _send)
File “/venv/rasa_skill/lib/python3.7/site-packages/starlette-0.12.8-py3.7.egg/starlette/exceptions.py”, line 73, in call
raise exc from None
File “/venv/rasa_skill/lib/python3.7/site-packages/starlette-0.12.8-py3.7.egg/starlette/exceptions.py”, line 62, in call
await self.app(scope, receive, sender)
File “/venv/rasa_skill/lib/python3.7/site-packages/starlette-0.12.8-py3.7.egg/starlette/routing.py”, line 590, in call
await route(scope, receive, send)
File “/venv/rasa_skill/lib/python3.7/site-packages/starlette-0.12.8-py3.7.egg/starlette/routing.py”, line 208, in call
await self.app(scope, receive, send)
File “/venv/rasa_skill/lib/python3.7/site-packages/starlette-0.12.8-py3.7.egg/starlette/routing.py”, line 41, in app
response = await func(request)
File “/venv/rasa_skill/lib/python3.7/site-packages/fastapi-0.38.1-py3.7.egg/fastapi/routing.py”, line 111, in app
raw_response = await dependant.call(**values)
File “/base/DeepPavlov/deeppavlov/utils/server/server.py”, line 173, in answer
return interact(model, item.dict())
File “/base/DeepPavlov/deeppavlov/utils/server/server.py”, line 98, in interact
prediction = model(*model_args)
File “/base/DeepPavlov/deeppavlov/core/common/chainer.py”, line 205, in call
return self._compute(*args, param_names=self.in_x, pipe=self.pipe, targets=self.out_params)
File “/base/DeepPavlov/deeppavlov/core/common/chainer.py”, line 228, in _compute
res = component(*x)
File “/base/DeepPavlov/deeppavlov/skills/rasa_skill/rasa_skill.py”, line 87, in call
results = self.ioloop.run_until_complete(asyncio.gather(*futures))
File “uvloop/loop.pyx”, line 1394, in uvloop.loop.Loop.run_until_complete
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 614, in ensure_future
raise ValueError(‘loop argument must agree with Future’)
Any help would be appreciated.