manage.py collectstatic failing with 'NoneType' object is not iterable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
David Moreau Simard |
Bug Description
We started seeing build failures in packaging Horizon for RDO recently and the problems seem to correlate around https:/
====
DEBUG: + /usr/bin/python manage.py collectstatic --noinput --clear
DEBUG: Traceback (most recent call last):
DEBUG: File "manage.py", line 23, in <module>
DEBUG: execute_
DEBUG: File "/usr/lib/
DEBUG: utility.execute()
DEBUG: File "/usr/lib/
DEBUG: settings.
DEBUG: File "/usr/lib/
DEBUG: self._setup(name)
DEBUG: File "/usr/lib/
DEBUG: self._wrapped = Settings(
DEBUG: File "/usr/lib/
DEBUG: mod = importlib.
DEBUG: File "/usr/lib64/
DEBUG: __import__(name)
DEBUG: File "/builddir/
DEBUG: XSTATIC_MODULES, HORIZON_CONFIG)
DEBUG: File "/builddir/
DEBUG: for file in files:
DEBUG: TypeError: 'NoneType' object is not iterable
====
It looks as if the value should be an empty list (which is iterable) rather than None.
Fix proposed to branch: master /review. openstack. org/429721
Review: https:/