The same applies for running Horizon tests separate from the rest OpenStack.
** Also affects: horizon Importance: Undecided Status: New ** Changed in: horizon Importance: Undecided => Critical -- 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/1447476 Title: No module named pathlib Status in devstack - openstack dev environments: New Status in OpenStack Dashboard (Horizon): New Bug description: Trying to install devstack (both L and K) Error during stack.sh 2015-04-23 07:21:55.646 | + cd /opt/stack/horizon 2015-04-23 07:21:55.647 | + ./run_tests.sh -N --compilemessages 2015-04-23 07:21:55.927 | WARNING:root:No local_settings file found. 2015-04-23 07:21:56.523 | Traceback (most recent call last): 2015-04-23 07:21:56.523 | File "/opt/stack/horizon/manage.py", line 23, in <module> 2015-04-23 07:21:56.523 | execute_from_command_line(sys.argv) 2015-04-23 07:21:56.523 | File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line 2015-04-23 07:21:56.523 | utility.execute() 2015-04-23 07:21:56.523 | File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute 2015-04-23 07:21:56.523 | django.setup() 2015-04-23 07:21:56.523 | File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 21, in setup 2015-04-23 07:21:56.523 | apps.populate(settings.INSTALLED_APPS) 2015-04-23 07:21:56.523 | File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate 2015-04-23 07:21:56.523 | app_config = AppConfig.create(entry) 2015-04-23 07:21:56.523 | File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 87, in create 2015-04-23 07:21:56.523 | module = import_module(entry) 2015-04-23 07:21:56.523 | File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module 2015-04-23 07:21:56.524 | __import__(name) 2015-04-23 07:21:56.524 | File "/usr/local/lib/python2.7/dist-packages/django_pyscss/__init__.py", line 1, in <module> 2015-04-23 07:21:56.524 | from .compiler import DjangoScssCompiler # NOQA 2015-04-23 07:21:56.524 | File "/usr/local/lib/python2.7/dist-packages/django_pyscss/compiler.py", line 4, in <module> 2015-04-23 07:21:56.524 | from pathlib import PurePath 2015-04-23 07:21:56.524 | ImportError: No module named pathlib 2015-04-23 07:21:56.548 | + exit_trap 2015-04-23 07:21:56.548 | + local r=1 2015-04-23 07:21:56.549 | ++ jobs -p 2015-04-23 07:21:56.550 | + jobs= 2015-04-23 07:21:56.550 | + [[ -n '' ]] 2015-04-23 07:21:56.550 | + kill_spinner 2015-04-23 07:21:56.550 | + '[' '!' -z '' ']' 2015-04-23 07:21:56.550 | + [[ 1 -ne 0 ]] 2015-04-23 07:21:56.550 | + echo 'Error on exit' 2015-04-23 07:21:56.550 | Error on exit 2015-04-23 07:21:56.550 | + [[ -z /opt/stack/logs ]] 2015-04-23 07:21:56.550 | + /opt/devstack/tools/worlddump.py -d /opt/stack/logs 2015-04-23 07:21:56.586 | + exit 1 Manually "pip install pathlib" and then retried: + cd /opt/stack/horizon + ./run_tests.sh -N --compilemessages WARNING:root:No local_settings file found. Traceback (most recent call last): File "/opt/stack/horizon/manage.py", line 23, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute django.setup() File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 21, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 87, in create module = import_module(entry) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/local/lib/python2.7/dist-packages/django_pyscss/__init__.py", line 1, in <module> from .compiler import DjangoScssCompiler # NOQA File "/usr/local/lib/python2.7/dist-packages/django_pyscss/compiler.py", line 11, in <module> from scss import Compiler, config ImportError: cannot import name Compiler + exit_trap + local r=1 ++ jobs -p + jobs= + [[ -n '' ]] + kill_spinner + '[' '!' -z '' ']' + [[ 1 -ne 0 ]] + echo 'Error on exit' Error on exit + [[ -z /opt/stack/logs ]] + /opt/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2015-04-23-073207.txt for details + exit 1 To manage notifications about this bug go to: https://bugs.launchpad.net/devstack/+bug/1447476/+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