I have the app deployed in heroku, I updated a lot of the required packages to their latest versions. I am able to get the service to start and it will respond to requests using the Alexa skills dashboard, but it never finds anything from my library.
Example: Using the utterance "play songs by radiohead" returns "I was not able to find radiohead in your library." Heroku logs show the request status 200.
If I use the utterance "give me a status update" i get a 500 status error and the heroku logs show errors:
2017-08-31T15:00:49.455022+00:00 heroku[router]: at=info method=POST path="/plex" host=jmahlman-plex.herokuapp.com request_id=12cc5ddf-77b8-4ad6-a3b3-ba26c93d36c3 fwd="72.21.217.77" dyno=web.1 connect=0ms service=97ms status=500 bytes=449 protocol=https
2017-08-31T15:00:49.454057+00:00 app[web.1]: [2017-08-31 15:00:49,453] ERROR in app: Exception on /plex [POST]
2017-08-31T15:00:49.454076+00:00 app[web.1]: Traceback (most recent call last):
2017-08-31T15:00:49.454078+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
2017-08-31T15:00:49.454079+00:00 app[web.1]: response = self.full_dispatch_request()
2017-08-31T15:00:49.454080+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
2017-08-31T15:00:49.454081+00:00 app[web.1]: rv = self.handle_user_exception(e)
2017-08-31T15:00:49.454082+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
2017-08-31T15:00:49.454082+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2017-08-31T15:00:49.454083+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
2017-08-31T15:00:49.454084+00:00 app[web.1]: raise value
2017-08-31T15:00:49.454085+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
2017-08-31T15:00:49.454085+00:00 app[web.1]: rv = self.dispatch_request()
2017-08-31T15:00:49.454086+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
2017-08-31T15:00:49.454087+00:00 app[web.1]: return self.view_functionsrule.endpoint
2017-08-31T15:00:49.454088+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/flask_ask/core.py", line 629, in _flask_view_func
2017-08-31T15:00:49.454089+00:00 app[web.1]: result = self._map_intent_to_view_func(self.request.intent)()
2017-08-31T15:00:49.454089+00:00 app[web.1]: File "/app/plexmusicplayer/intents/plex_intents.py", line 93, in status
2017-08-31T15:00:49.454090+00:00 app[web.1]: return statement(queue.status)
2017-08-31T15:00:49.454090+00:00 app[web.1]: File "/app/plexmusicplayer/utils.py", line 19, in status
2017-08-31T15:00:49.454091+00:00 app[web.1]: ' | Current Song is ' + str(self.current) + " | Songs left to Play are: "
2017-08-31T15:00:49.454091+00:00 app[web.1]: File "/app/plexmusicplayer/utils.py", line 34, in current
2017-08-31T15:00:49.454091+00:00 app[web.1]: return self._playlist[self._counter.value]
2017-08-31T15:00:49.454095+00:00 app[web.1]: IndexError: list index out of range
I have the app deployed in heroku, I updated a lot of the required packages to their latest versions. I am able to get the service to start and it will respond to requests using the Alexa skills dashboard, but it never finds anything from my library.
Example: Using the utterance "play songs by radiohead" returns "I was not able to find radiohead in your library." Heroku logs show the request status 200.
If I use the utterance "give me a status update" i get a 500 status error and the heroku logs show errors: