Comments (7)
Still having this issue? I just tried deploying it again and didn't have an issue.
What version of python are you using?
from geemusic.
Closing for lack of follow up.
from geemusic.
I am having the same issue, I'm afraid. Tried various things like different Python version etc, but cannot seem to fix it :(
from geemusic.
"/srv/alexa/lib/python3.5/site-packages/jinja2/compiler.py"
I'm using python3.6 and the tests run fine for me. Try with python3.6
from geemusic.
I tried python 3.5, 3.6 and 3.7. Always the same error. Interestingly I get the dependency inconsistency issues below when installing the requirements in the virtual environment. However even if I fix those, the error remains the same.
ERROR: flask-ask 0.9.8 has requirement aniso8601==1.2.0, but you'll have aniso8601 1.2.1 which is incompatible.
ERROR: flask-ask 0.9.8 has requirement Flask==0.12.1, but you'll have flask 0.12.2 which is incompatible.
ERROR: flask-ask 0.9.8 has requirement pyOpenSSL==17.0.0, but you'll have pyopenssl 17.2.0 which is incompatible.
ERROR: flask-ask 0.9.8 has requirement PyYAML==3.12, but you'll have pyyaml 3.13 which is incompatible.
ERROR: flask-ask 0.9.8 has requirement six==1.11.0, but you'll have six 1.10.0 which is incompatible.
ERROR: zappa 0.45.1 has requirement PyYAML==3.12, but you'll have pyyaml 3.13 which is incompatible.
ERROR: zappa 0.45.1 has requirement six>=1.11.0, but you'll have six 1.10.0 which is incompatible.
ERROR: zappa 0.45.1 has requirement Werkzeug==0.12, but you'll have werkzeug 0.12.2 which is incompatible.
from geemusic.
Here is my Traceback:
22:03:35 web.1 | Traceback (most recent call last):
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1997, in call
22:03:35 web.1 | return self.wsgi_app(environ, start_response)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
22:03:35 web.1 | response = self.handle_exception(e)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
22:03:35 web.1 | reraise(exc_type, exc_value, tb)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
22:03:35 web.1 | raise value
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
22:03:35 web.1 | response = self.full_dispatch_request()
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
22:03:35 web.1 | rv = self.handle_user_exception(e)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
22:03:35 web.1 | reraise(exc_type, exc_value, tb)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
22:03:35 web.1 | raise value
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
22:03:35 web.1 | rv = self.dispatch_request()
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
22:03:35 web.1 | return self.view_functionsrule.endpoint
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask_ask/core.py", line 767, in _flask_view_func
22:03:35 web.1 | result = self._map_intent_to_view_func(self.request.intent)()
22:03:35 web.1 | File "/local/www/secure/geemusic/geemusic/intents/selection.py", line 122, in play_song
22:03:35 web.1 | return statement(render_template("no_song"))
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/flask/templating.py", line 133, in render_template
22:03:35 web.1 | return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/environment.py", line 869, in get_or_select_template
22:03:35 web.1 | return self.get_template(template_name_or_list, parent, globals)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/environment.py", line 830, in get_template
22:03:35 web.1 | return self._load_template(name, self.make_globals(globals))
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/environment.py", line 804, in _load_template
22:03:35 web.1 | template = self.loader.load(self, name, globals)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/loaders.py", line 125, in load
22:03:35 web.1 | code = environment.compile(source, name, filename)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/environment.py", line 581, in compile
22:03:35 web.1 | defer_init=defer_init)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/environment.py", line 543, in _generate
22:03:35 web.1 | optimized=self.optimized)
22:03:35 web.1 | File "/local/www/secure/geemusic/.venv/lib/python3.6/site-packages/jinja2/compiler.py", line 78, in generate
22:03:35 web.1 | raise TypeError('Can't compile non template nodes')
22:03:35 web.1 | TypeError: Can't compile non template nodes
from geemusic.
OK, got it. The LANGUAGE environment variable by default on Ubuntu is en_US or en_GB etc, the app however expects just "en" or "fr" etc. So setting this correct makes it find the templates and makes it work.
from geemusic.
Related Issues (20)
- How to create an Alexa Skill in new Developer Console HOT 17
- Alexa - recognition issues? HOT 2
- ImportError: No module named 'pip.req' HOT 3
- Error after deploying via Lambda HOT 2
- AttributeError: module 'lib' has no attribute 'X509V3_EXT_get' HOT 1
- "AttributeError: module 'lib' has no attribute 'X509V3_EXT_get' " error message when GeeMusic server receives a request HOT 1
- Docker image won't start HOT 2
- Unable to Play Playlists & Uploaded from Paid Account HOT 1
- Tracks end early
- trouble getting this working - there was a problem with the response HOT 3
- Play on a speaker group or stereo pair?
- Undefined Variable Reference
- Is gee music still working? HOT 1
- Heroku : Playlist fails to play, but finds the tracks
- Support for Alexa-Hosted Skill?
- Heroku : Fails to deploy - No module named 'pip.req' HOT 1
- Docker Image Build Fails HOT 2
- ngrok assigning a new URL on each start HOT 1
- Cannot log in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geemusic.