← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425892] Re: TypeError with django-1.8

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1425892

Title:
  TypeError with django-1.8

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  [root@turing openstack-dashboard]# ./manage.py runserver
  Traceback (most recent call last):
    File "./manage.py", line 23, in <module>
      execute_from_command_line(sys.argv)
    File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
      utility.execute()
    File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 303, in execute
      settings.INSTALLED_APPS
    File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__
      self._setup(name)
    File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup
      self._wrapped = Settings(settings_module)
    File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__
      mod = importlib.import_module(self.SETTINGS_MODULE)
    File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
    File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 255, in <module>
      from local.local_settings import *  # noqa
    File "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py", line 99, in <module>
      from horizon.utils import secret_key
    File "/usr/lib/python2.7/site-packages/horizon/__init__.py", line 27, in <module>
      from horizon.base import Dashboard  # noqa
    File "/usr/lib/python2.7/site-packages/horizon/base.py", line 45, in <module>
      from horizon import loaders
    File "/usr/lib/python2.7/site-packages/horizon/loaders.py", line 57, in <module>
      _loader = TemplateLoader()
    File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 155, in __init__
      super(BaseLoader, self).__init__(*args, **kwargs)
  TypeError: __init__() takes exactly 2 arguments (1 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1425892/+subscriptions


References