← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490087] Re: horizon unstable on development environment

 

the patch just have to be rebased

** Changed in: horizon
       Status: New => Invalid

-- 
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/1490087

Title:
  horizon unstable on development environment

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  I keep on getting these two errors whenever I am testing a patch:

  1. Error

  v.sh ./manage.py runserver 0.0.0.0:8030
  Traceback (most recent call last):
    File "./manage.py", line 23, in <module>
      execute_from_command_line(sys.argv)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
      utility.execute()
    File "/home/lin-hua-cheng/Documents/workspace/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
      settings.INSTALLED_APPS
    File "/home/lin-hua-cheng/Documents/workspace/horizon/.venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 46, in __getattr__
      self._setup(name)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/.venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 42, in _setup
      self._wrapped = Settings(settings_module)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/.venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 98, in __init__
      % (self.SETTINGS_MODULE, e)
  ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named angular_gettext

  2. Error 2

  UncompressableFileError at /auth/login/

  'dashboard/project/project.scss' could not be found in the
  COMPRESS_ROOT '/home/lin-hua-cheng/Documents/workspace/horizon/static'
  or with staticfiles.

  To workaround the issue, I have to keep rebuilding venv

  Steps to reproduce:
  1. Pull a patch from gerrit for testing, run the server
  2. this causes an error, rebuild venv, this works fine
  3. Switch back to master, run the server
  4. another error will be encountered

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


References