Posts: 4
Joined: Mar 2018
Reputation:
0
Hi,
i am getting the following error when i try to deploy zappa. please advice what may be wrong?
Calling deploy for stage dev..
Oh no! An error occurred! :(
==============
Traceback (most recent call last):
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/zappa/cli.py", line 2610, in handle
sys.exit(cli.handle())
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/zappa/cli.py", line 505, in handle
self.dispatch_command(self.command, stage)
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/zappa/cli.py", line 539, in dispatch_command
self.deploy(self.vargs['zip'])
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/zappa/cli.py", line 709, in deploy
self.create_package()
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/zappa/cli.py", line 2171, in create_package
disable_progress=self.disable_progress
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/zappa/core.py", line 447, in create_lambda_zip
import pip
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/pip/__init__.py", line 45, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/pip/download.py", line 40, in <module>
from pip._vendor import requests, six
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 98, in <module>
from . import packages
File "/Users/Micks/kodi-alexa/venv/lib/python2.7/site-packages/pip/_vendor/requests/packages.py", line 12, in <module>
sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib.pyopenssl'
Posts: 21
Joined: Dec 2016
Reputation:
0
Can Alexa save currently playing to my Kodi Favorites?
Posts: 3
Joined: Jan 2017
Reputation:
0
2018-03-20, 00:09
(This post was last modified: 2018-03-20, 00:10 by smokinimages.)
I had the same issue and it was a pita to track down. Within your virtual env go to lib/site-packages/zappa and edit the cli.py file. Add import pip at the start of the imports. Seems there is an issue where if the requests library is imported before pip and you get this error
ie
from __future__ import unicode_literals
from __future__ import division
from past.builtins import basestring
from builtins import input, bytes
import pip
import argcomplete
import argparse
---
Posts: 22
Joined: Mar 2018
Reputation:
0
I'm with Yardley.
All the code went in fine, even the AWS setup. Now I'm getting "There was a problem with the requested skill's response" and 500 HTTP status code showing in app.
How do I access my the skill's log to see what the problem is?
Posts: 1
Joined: Mar 2018
Reputation:
0
I was trying to adjust subtitles delay via Alexa and it failed. I've looked at code and indeed it's not implemented. I would like very much have possibility to say "Alexa, ask Kodi to delay subtitles one second" or "Alexa, ask Kodi to advance subtitles by three hundred milliseconds" etc. I'm programmer myself, so I might be able to add this to the code. However, as this skill is new for me some pointers how to start would be appreciated and can set me on speed. Moreover, if anybody has an idea of which steps should be performed to add this functionality, please share :-)
Posts: 22
Joined: Mar 2018
Reputation:
0
2018-03-22, 03:05
(This post was last modified: 2018-03-22, 03:07 by bigjpayne90.)
My CloudWatch logs look identical to Yardley's post #2,226... Hopefully one of these geniuses can help us.
Posts: 20
Joined: Nov 2011
Reputation:
0
Has anyone set this up successfully in the past couple of days? I have tried a million times and still can't get it to work, I just get "there was a problem with the requested skills response." I have tried from Windows 7, Windows 10 and Mac and all yield the same result. PS, anyone willing to log into my system remotely and help me out for a fee?
Posts: 4
Joined: Mar 2018
Reputation:
0
Thanks for the tip smokinimages. it worked!
however i am in the same boat as others now where i am getting the 500 HTTP error when i issue a command to Alexa. even the testing is giving the same error. not sure what is wrong and how to fix it.
appreciate advice from anyone who managed to resolve this issue.