Public bug reported: We started seeing build failures in packaging Horizon for RDO recently and the problems seem to correlate around https://review.openstack.org/#/c/400794/ which causes the following stack trace:
==== 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_from_command_line(sys.argv) DEBUG: File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line DEBUG: utility.execute() DEBUG: File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 303, in execute DEBUG: settings.INSTALLED_APPS DEBUG: File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__ DEBUG: self._setup(name) DEBUG: File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup DEBUG: self._wrapped = Settings(settings_module) DEBUG: File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__ DEBUG: mod = importlib.import_module(self.SETTINGS_MODULE) DEBUG: File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module DEBUG: __import__(name) DEBUG: File "/builddir/build/BUILD/horizon-11.0.0.0rc2.dev1/openstack_dashboard/settings.py", line 410, in <module> DEBUG: XSTATIC_MODULES, HORIZON_CONFIG) DEBUG: File "/builddir/build/BUILD/horizon-11.0.0.0rc2.dev1/openstack_dashboard/utils/settings.py", line 261, in get_xstatic_dirs 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. ** Affects: horizon Importance: Undecided Assignee: David Moreau Simard (dmsimard) Status: In Progress -- 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/1662180 Title: manage.py collectstatic failing with 'NoneType' object is not iterable Status in OpenStack Dashboard (Horizon): In Progress Bug description: We started seeing build failures in packaging Horizon for RDO recently and the problems seem to correlate around https://review.openstack.org/#/c/400794/ which causes the following stack trace: ==== 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_from_command_line(sys.argv) DEBUG: File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line DEBUG: utility.execute() DEBUG: File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 303, in execute DEBUG: settings.INSTALLED_APPS DEBUG: File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__ DEBUG: self._setup(name) DEBUG: File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup DEBUG: self._wrapped = Settings(settings_module) DEBUG: File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__ DEBUG: mod = importlib.import_module(self.SETTINGS_MODULE) DEBUG: File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module DEBUG: __import__(name) DEBUG: File "/builddir/build/BUILD/horizon-11.0.0.0rc2.dev1/openstack_dashboard/settings.py", line 410, in <module> DEBUG: XSTATIC_MODULES, HORIZON_CONFIG) DEBUG: File "/builddir/build/BUILD/horizon-11.0.0.0rc2.dev1/openstack_dashboard/utils/settings.py", line 261, in get_xstatic_dirs 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. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1662180/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp