Guest User

Untitled

a guest
Feb 27th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 KB | None | 0 0
  1. Django version 2.0.13, using settings 'openstack_dashboard.settings'
  2. Starting development server at http://localhost:9000/
  3. Quit the server with CONTROL-C.
  4. ERROR django.request Internal Server Error: /auth/login/
  5. Traceback (most recent call last):
  6. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
  7. response = get_response(request)
  8. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 158, in _get_response
  9. response = self.process_exception_by_middleware(e, request)
  10. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 156, in _get_response
  11. response = response.render()
  12. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/response.py", line 106, in render
  13. self.content = self.rendered_content
  14. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/response.py", line 83, in rendered_content
  15. content = template.render(context, self._request)
  16. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/backends/django.py", line 61, in render
  17. return self.template.render(context)
  18. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 175, in render
  19. return self._render(context)
  20. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
  21. return self.nodelist.render(context)
  22. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 943, in render
  23. bit = node.render_annotated(context)
  24. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
  25. return self.render(context)
  26. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/loader_tags.py", line 155, in render
  27. return compiled_parent._render(context)
  28. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
  29. return self.nodelist.render(context)
  30. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 943, in render
  31. bit = node.render_annotated(context)
  32. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
  33. return self.render(context)
  34. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/loader_tags.py", line 67, in render
  35. result = block.nodelist.render(context)
  36. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 943, in render
  37. bit = node.render_annotated(context)
  38. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
  39. return self.render(context)
  40. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/loader_tags.py", line 194, in render
  41. return template.render(context)
  42. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 177, in render
  43. return self._render(context)
  44. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
  45. return self.nodelist.render(context)
  46. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 943, in render
  47. bit = node.render_annotated(context)
  48. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
  49. return self.render(context)
  50. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/templatetags/compress.py", line 131, in render
  51. return self.render_compressed(context, self.kind, self.mode, forced=forced)
  52. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/templatetags/compress.py", line 103, in render_compressed
  53. cache_key, cache_content = self.render_cached(compressor, kind, mode)
  54. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/templatetags/compress.py", line 82, in render_cached
  55. cache_key = get_templatetag_cachekey(compressor, mode, kind)
  56. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/cache.py", line 97, in get_templatetag_cachekey
  57. "templatetag.%s.%s.%s" % (compressor.cachekey, mode, kind))
  58. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/utils/functional.py", line 36, in __get__
  59. res = instance.__dict__[self.name] = self.func(instance)
  60. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/base.py", line 177, in cachekey
  61. [self.content] + self.mtimes).encode(self.charset), 12)
  62. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/utils/functional.py", line 36, in __get__
  63. res = instance.__dict__[self.name] = self.func(instance)
  64. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/base.py", line 171, in mtimes
  65. for kind, value, basename, elem in self.split_contents()
  66. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/base.py", line 172, in <listcomp>
  67. if kind == SOURCE_FILE]
  68. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/cache.py", line 103, in get_mtime
  69. mtime = cache.get(key)
  70. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/utils/functional.py", line 215, in inner
  71. self._setup()
  72. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/utils/functional.py", line 349, in _setup
  73. self._wrapped = self._setupfunc()
  74. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/compressor/cache.py", line 158, in <lambda>
  75. cache = SimpleLazyObject(lambda: caches[settings.COMPRESS_CACHE_BACKEND])
  76. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/core/cache/__init__.py", line 80, in __getitem__
  77. cache = _create_cache(alias)
  78. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/core/cache/__init__.py", line 55, in _create_cache
  79. return backend_cls(location, params)
  80. File "/home/ubuntu/horizon/.tox/venv/lib/python3.5/site-packages/django/core/cache/backends/memcached.py", line 156, in __init__
  81. import memcache
  82. ImportError: No module named 'memcache'
  83. ERROR django.server "GET /auth/login/?next=/ HTTP/1.1" 500 552173
Add Comment
Please, Sign In to add comment