Advertising
- upstart error with gunicorn
- Monday, September 28th, 2015 at 5:59:14pm UTC
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 473, in spawn_worker
- worker.init_process()
- File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 100, in init_process
- self.wsgi = self.app.wsgi()
- File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 115, in wsgi
- self.callable = self.load()
- File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 33, in load
- return util.import_app(self.app_uri)
- File "/usr/lib/python2.7/dist-packages/gunicorn/util.py", line 362, in import_app
- __import__(module)
- File "/mnt/software/sources/tanim_flask_app/app/__init__.py", line 54, in <module>
- from app import models, views, views_google, views_mendeley
- File "/mnt/software/sources/tanim_flask_app/app/views_mendeley.py", line 9, in <module>
- from requests_oauthlib import OAuth2Session
- File "/home/tanim/.local/lib/python2.7/site-packages/requests_oauthlib/__init__.py", line 3, in <module>
- from .oauth2_auth import OAuth2
- File "/home/tanim/.local/lib/python2.7/site-packages/requests_oauthlib/oauth2_auth.py", line 3, in <module>
- from oauthlib.oauth2 import is_secure_transport
- ImportError: cannot import name is_secure_transport
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.