You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just installed the django-apihangar locally and when I try to run my server I get an ImportError, copied below. I'm running Django 1.7.7 with Python 2.7.
18:02:16 web.1 | Traceback (most recent call last):
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
18:02:16 web.1 | worker.init_process()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/workers/base.py", line 118, in init_process
18:02:16 web.1 | self.wsgi = self.app.wsgi()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
18:02:16 web.1 | self.callable = self.load()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load
18:02:16 web.1 | return self.load_wsgiapp()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
18:02:16 web.1 | return util.import_app(self.app_uri)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/gunicorn/util.py", line 355, in import_app
18:02:16 web.1 | __import__(module)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/myproject/wsgi.py", line 9, in <module>
18:02:16 web.1 | application = Cling(get_wsgi_application())
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
18:02:16 web.1 | django.setup()
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
18:02:16 web.1 | apps.populate(settings.INSTALLED_APPS)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
18:02:16 web.1 | app_config.import_models(all_models)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
18:02:16 web.1 | self.models_module = import_module(models_module_name)
18:02:16 web.1 | File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
18:02:16 web.1 | __import__(name)
18:02:16 web.1 | File "/Users/michael/code/ftl-django/ve/lib/python2.7/site-packages/apihangar/models.py", line 5, in <module>
18:02:16 web.1 | from django.utils.hashcompat import md5_constructor
18:02:16 web.1 | ImportError: No module named hashcompat
18:02:16 web.1 | [2015-03-26 22:02:16 +0000] [62762] [INFO] Worker exiting (pid: 62762)
18:02:16 web.1 | [2015-03-26 18:02:16 -0400] [62759] [INFO] Shutting down: Master
18:02:16 web.1 | [2015-03-26 18:02:16 -0400] [62759] [INFO] Reason: Worker failed to boot.
18:02:16 web.1 | exited with code 3
18:02:16 system | sending SIGTERM to all processes
The text was updated successfully, but these errors were encountered:
I've just installed the django-apihangar locally and when I try to run my server I get an ImportError, copied below. I'm running Django 1.7.7 with Python 2.7.
The text was updated successfully, but these errors were encountered: