2018-05-05, 00:41
Cheers that sorted it.
When I installed kodi-voice that automatically installed the latest version of cryptography and I didn't spot that the requirement was for a specific version.
Next problem.
I'm talking to kodi and requests such as "Ask Kanzi to open music" or "Play all Music" work, but when I ask it to play something specific I get the "there was a problem with the requested skill response" (500 server error). Here are the relevant logs:
[2018-05-04 23:22:30,891] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/srv/www/htdocs/Kanzi/flask_ask/core.py", line 767, in _flask_view_func
result = self._map_intent_to_view_func(self.request.intent)()
File "/srv/www/htdocs/Kanzi/alexa.py", line 74, in decorated_function
kodi = Kodi(config, context)
File "/srv/www/htdocs/Kanzi/kodi_voice/kodi.py", line 387, in __init__
if not self.scheme or not self.address or not self.port or not self.username or not self.password:
AttributeError: Kodi instance has no attribute 'password'
Any ideas?
When I installed kodi-voice that automatically installed the latest version of cryptography and I didn't spot that the requirement was for a specific version.
Next problem.
I'm talking to kodi and requests such as "Ask Kanzi to open music" or "Play all Music" work, but when I ask it to play something specific I get the "there was a problem with the requested skill response" (500 server error). Here are the relevant logs:
[2018-05-04 23:22:30,891] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/www/htdocs/Kanzi/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/srv/www/htdocs/Kanzi/flask_ask/core.py", line 767, in _flask_view_func
result = self._map_intent_to_view_func(self.request.intent)()
File "/srv/www/htdocs/Kanzi/alexa.py", line 74, in decorated_function
kodi = Kodi(config, context)
File "/srv/www/htdocs/Kanzi/kodi_voice/kodi.py", line 387, in __init__
if not self.scheme or not self.address or not self.port or not self.username or not self.password:
AttributeError: Kodi instance has no attribute 'password'
Any ideas?