get_xstatic_dirs do not process None values in BASE_XSTATIC_MODULES
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Ivan Udovichenko |
Bug Description
The issue was noticed during package build:
"""
./run_tests.sh --no-virtual-env --no-pep8 --verbosity=2
The run_tests script is deprecated and will be removed in the
Queens Release Cycle (13.0), in favor of tox.
Running Horizon application tests
Traceback (most recent call last):
File "/<<PKGBUILDDIR
execute_
File "/usr/lib/
utility.
File "/usr/lib/
settings.
File "/usr/lib/
self.
File "/usr/lib/
self._wrapped = Settings(
File "/usr/lib/
mod = importlib.
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
settings_
File "/<<PKGBUILDDIR
for file in files:
TypeError: 'NoneType' object is not iterable
Running openstack_dashboard tests
Traceback (most recent call last):
File "/<<PKGBUILDDIR
execute_
File "/usr/lib/
utility.
File "/usr/lib/
settings.
File "/usr/lib/
self.
File "/usr/lib/
self._wrapped = Settings(
File "/usr/lib/
mod = importlib.
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
from horizon.
File "/<<PKGBUILDDIR
settings_
File "/<<PKGBUILDDIR
for file in files:
TypeError: 'NoneType' object is not iterable
Tests failed.
"""
This is a default configuration without additional changes.
http://
Proposed fix:
https:/
tags: | added: pike |
tags: | added: 12.0.0 |
summary: |
- get_xstatic_dirs do not process none values in BASE_XSTATIC_MODULES + get_xstatic_dirs does not process none values in BASE_XSTATIC_MODULES |
summary: |
- get_xstatic_dirs does not process none values in BASE_XSTATIC_MODULES + get_xstatic_dirs do not process None values in BASE_XSTATIC_MODULES |
Changed in horizon: | |
assignee: | nobody → Ivan Udovichenko (iudovichenko) |
Changed in horizon: | |
importance: | Undecided → Low |
Changed in horizon: | |
assignee: | Ivan Udovichenko (iudovichenko) → Akihiro Motoki (amotoki) |
Changed in horizon: | |
assignee: | Akihiro Motoki (amotoki) → Ivan Udovichenko (iudovichenko) |
Changed in horizon: | |
milestone: | none → queens-2 |
--no-virtual-env is passed to run_tests.sh. It seems python modules or related packages in your system causes this error.
If this bug does not happen when run_tests.sh is used with virtualenv, this is specific to your system and is not a horizon bug.
I tried run_tests.sh with virtualenv and confirmed it worked well, so I mark this as Incomplete.