Advertisement
doryx

Untitled

May 28th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. -------------------------------------
  2. /var/log/eb-docker/containers/eb-current-app/uwsgi.log
  3. -------------------------------------
  4. File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  5. File "/var/app/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 24, in <module>
  6. raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
  7. django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'
  8. unable to load app 0 (mountpoint='') (callable not found or import error)
  9. *** no app loaded. going in full dynamic mode ***
  10. *** uWSGI is running in multiple interpreter mode ***
  11. spawned uWSGI master process (pid: 24)
  12. spawned uWSGI worker 1 (pid: 26, cores: 15)
  13. spawned uWSGI http 1 (pid: 27)
  14. --- no python application found, check your startup logs for errors ---
  15. [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)
  16. --- no python application found, check your startup logs for errors ---
  17. [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)
  18. --- no python application found, check your startup logs for errors ---
  19. [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)
  20. --- no python application found, check your startup logs for errors ---
  21. [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)
  22. --- no python application found, check your startup logs for errors ---
  23. [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)
  24. --- no python application found, check your startup logs for errors ---
  25. [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)
  26. chdir() to /var/app
  27. your processes number limit is 7826
  28. your memory page size is 4096 bytes
  29. detected max file descriptor number: 1024
  30. lock engine: pthread robust mutexes
  31. thunder lock: disabled (you can enable it with --thunder-lock)
  32. uWSGI http bound on :8080 fd 4
  33. uwsgi socket 0 bound to TCP address 127.0.0.1:43506 (port auto-assigned) fd 3
  34. Python version: 3.4.2 (default, Oct 9 2014, 21:41:07) [GCC 4.9.1]
  35. Python main interpreter initialized at 0xd468b0
  36. python threads support enabled
  37. your server socket listen backlog is limited to 100 connections
  38. your mercy for graceful operations on workers is 60 seconds
  39. mapped 434048 bytes (423 KB) for 15 cores
  40. *** Operational MODE: threaded ***
  41. Traceback (most recent call last):
  42. File "/var/app/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 20, in <module>
  43. import psycopg2 as Database
  44. ImportError: No module named 'psycopg2'
  45.  
  46. During handling of the above exception, another exception occurred:
  47.  
  48. Traceback (most recent call last):
  49. File "/var/app/heritage/wsgi.py", line 16, in <module>
  50. application = get_wsgi_application()
  51. File "/var/app/lib/python3.4/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
  52. django.setup()
  53. File "/var/app/lib/python3.4/site-packages/django/__init__.py", line 18, in setup
  54. apps.populate(settings.INSTALLED_APPS)
  55. File "/var/app/lib/python3.4/site-packages/django/apps/registry.py", line 108, in populate
  56. app_config.import_models(all_models)
  57. File "/var/app/lib/python3.4/site-packages/django/apps/config.py", line 198, in import_models
  58. self.models_module = import_module(models_module_name)
  59. File "/var/app/lib/python3.4/importlib/__init__.py", line 109, in import_module
  60. return _bootstrap._gcd_import(name[level:], package, level)
  61. File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  62. File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  63. File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  64. File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  65. File "<frozen importlib._bootstrap>", line 1129, in _exec
  66. File "<frozen importlib._bootstrap>", line 1471, in exec_module
  67. File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  68. File "/var/app/lib/python3.4/site-packages/django/contrib/auth/models.py", line 41, in <module>
  69. class Permission(models.Model):
  70. File "/var/app/lib/python3.4/site-packages/django/db/models/base.py", line 139, in __new__
  71. new_class.add_to_class('_meta', Options(meta, **kwargs))
  72. File "/var/app/lib/python3.4/site-packages/django/db/models/base.py", line 324, in add_to_class
  73. value.contribute_to_class(cls, name)
  74. File "/var/app/lib/python3.4/site-packages/django/db/models/options.py", line 250, in contribute_to_class
  75. self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
  76. File "/var/app/lib/python3.4/site-packages/django/db/__init__.py", line 36, in __getattr__
  77. return getattr(connections[DEFAULT_DB_ALIAS], item)
  78. File "/var/app/lib/python3.4/site-packages/django/db/utils.py", line 240, in __getitem__
  79. backend = load_backend(db['ENGINE'])
  80. File "/var/app/lib/python3.4/site-packages/django/db/utils.py", line 111, in load_backend
  81. return import_module('%s.base' % backend_name)
  82. File "/var/app/lib/python3.4/importlib/__init__.py", line 109, in import_module
  83. return _bootstrap._gcd_import(name[level:], package, level)
  84. File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  85. File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  86. File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  87. File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  88. File "<frozen importlib._bootstrap>", line 1129, in _exec
  89. File "<frozen importlib._bootstrap>", line 1471, in exec_module
  90. File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  91. File "/var/app/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 24, in <module>
  92. raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
  93. django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'
  94. unable to load app 0 (mountpoint='') (callable not found or import error)
  95. *** no app loaded. going in full dynamic mode ***
  96. *** uWSGI is running in multiple interpreter mode ***
  97. spawned uWSGI master process (pid: 24)
  98. spawned uWSGI worker 1 (pid: 26, cores: 15)
  99. spawned uWSGI http 1 (pid: 27)
  100. --- no python application found, check your startup logs for errors ---
  101. [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)
  102. --- no python application found, check your startup logs for errors ---
  103. [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