yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37427
[Bug 1490087] [NEW] horizon unstable on development environment
Public bug reported:
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
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
- I keep on getting two error interchangeable whenever I am testing a
- patch.
+ I keep on getting these two errors whenever I am testing a patch:
- I have to clean the .venv every time to fix the error. Sounds like some
- unstable code is causing a problem.
-
- 1. Error 1
+ 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)
+ 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
** Description changed:
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
--
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):
New
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
Follow ups