Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------
- /var/log/eb-docker/containers/eb-current-app/uwsgi.log
- -------------------------------------
- File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
- File "/var/app/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 24, in <module>
- raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
- django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- *** no app loaded. going in full dynamic mode ***
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 24)
- spawned uWSGI worker 1 (pid: 26, cores: 15)
- spawned uWSGI http 1 (pid: 27)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/1] 172.17.42.1 () {36 vars in 592 bytes} [Thu May 28 21:41:51 2015] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/2] 172.17.42.1 () {36 vars in 592 bytes} [Thu May 28 21:41:53 2015] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/3] 172.17.42.1 () {38 vars in 671 bytes} [Thu May 28 21:44:34 2015] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/4] 172.17.42.1 () {42 vars in 704 bytes} [Thu May 28 21:44:35 2015] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/5] 172.17.42.1 () {38 vars in 671 bytes} [Thu May 28 21:44:36 2015] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/6] 172.17.42.1 () {42 vars in 704 bytes} [Thu May 28 21:44:36 2015] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- chdir() to /var/app
- your processes number limit is 7826
- your memory page size is 4096 bytes
- detected max file descriptor number: 1024
- lock engine: pthread robust mutexes
- thunder lock: disabled (you can enable it with --thunder-lock)
- uWSGI http bound on :8080 fd 4
- uwsgi socket 0 bound to TCP address 127.0.0.1:43506 (port auto-assigned) fd 3
- Python version: 3.4.2 (default, Oct 9 2014, 21:41:07) [GCC 4.9.1]
- Python main interpreter initialized at 0xd468b0
- python threads support enabled
- your server socket listen backlog is limited to 100 connections
- your mercy for graceful operations on workers is 60 seconds
- mapped 434048 bytes (423 KB) for 15 cores
- *** Operational MODE: threaded ***
- Traceback (most recent call last):
- File "/var/app/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 20, in <module>
- import psycopg2 as Database
- ImportError: No module named 'psycopg2'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/var/app/heritage/wsgi.py", line 16, in <module>
- application = get_wsgi_application()
- File "/var/app/lib/python3.4/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
- django.setup()
- File "/var/app/lib/python3.4/site-packages/django/__init__.py", line 18, in setup
- apps.populate(settings.INSTALLED_APPS)
- File "/var/app/lib/python3.4/site-packages/django/apps/registry.py", line 108, in populate
- app_config.import_models(all_models)
- File "/var/app/lib/python3.4/site-packages/django/apps/config.py", line 198, in import_models
- self.models_module = import_module(models_module_name)
- File "/var/app/lib/python3.4/importlib/__init__.py", line 109, in import_module
- return _bootstrap._gcd_import(name[level:], package, level)
- File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
- File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
- File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
- File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
- File "<frozen importlib._bootstrap>", line 1129, in _exec
- File "<frozen importlib._bootstrap>", line 1471, in exec_module
- File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
- File "/var/app/lib/python3.4/site-packages/django/contrib/auth/models.py", line 41, in <module>
- class Permission(models.Model):
- File "/var/app/lib/python3.4/site-packages/django/db/models/base.py", line 139, in __new__
- new_class.add_to_class('_meta', Options(meta, **kwargs))
- File "/var/app/lib/python3.4/site-packages/django/db/models/base.py", line 324, in add_to_class
- value.contribute_to_class(cls, name)
- File "/var/app/lib/python3.4/site-packages/django/db/models/options.py", line 250, in contribute_to_class
- self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
- File "/var/app/lib/python3.4/site-packages/django/db/__init__.py", line 36, in __getattr__
- return getattr(connections[DEFAULT_DB_ALIAS], item)
- File "/var/app/lib/python3.4/site-packages/django/db/utils.py", line 240, in __getitem__
- backend = load_backend(db['ENGINE'])
- File "/var/app/lib/python3.4/site-packages/django/db/utils.py", line 111, in load_backend
- return import_module('%s.base' % backend_name)
- File "/var/app/lib/python3.4/importlib/__init__.py", line 109, in import_module
- return _bootstrap._gcd_import(name[level:], package, level)
- File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
- File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
- File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
- File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
- File "<frozen importlib._bootstrap>", line 1129, in _exec
- File "<frozen importlib._bootstrap>", line 1471, in exec_module
- File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
- File "/var/app/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 24, in <module>
- raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
- django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'
- unable to load app 0 (mountpoint='') (callable not found or import error)
- *** no app loaded. going in full dynamic mode ***
- *** uWSGI is running in multiple interpreter mode ***
- spawned uWSGI master process (pid: 24)
- spawned uWSGI worker 1 (pid: 26, cores: 15)
- spawned uWSGI http 1 (pid: 27)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/1] 172.17.42.1 () {36 vars in 591 bytes} [Thu May 28 21:46:35 2015] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
- --- no python application found, check your startup logs for errors ---
- [pid: 26|app: -1|req: -1/2] 172.17.42.1 () {38 vars in 650 bytes} [Thu May 28 21:46:38 2015] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement