install openstack-dashboard on ubuntu 18.04 gets error ImportError: No module named escape
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Server |
New
|
Undecided
|
Unassigned | ||
ubuntu-community |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ubuntu 18.04 OpenStack Rocky gets the error: ImportError: No module named escape
sudo apt install openstack-dashboard
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
openstack-
python-
Suggested packages:
python-
The following NEW packages will be installed:
openstack-
python-
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/10.0 MB of archives.
After this operation, 59.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package python-
(Reading database ... 239529 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking python-
Selecting previously unselected package python-
Preparing to unpack .../01-
Unpacking python-django-babel (0.6.2-1) ...
Selecting previously unselected package python-
Preparing to unpack .../02-
Unpacking python-
Selecting previously unselected package python-rcssmin.
Preparing to unpack .../03-
Unpacking python-rcssmin (1.0.6-1ubuntu3) ...
Selecting previously unselected package python-rjsmin.
Preparing to unpack .../04-
Unpacking python-rjsmin (1.0.12+
Selecting previously unselected package python-
Preparing to unpack .../05-
Unpacking python-
Selecting previously unselected package python-pathlib.
Preparing to unpack .../06-
Unpacking python-pathlib (1.0.1-2) ...
Selecting previously unselected package python-pyscss.
Preparing to unpack .../07-
Unpacking python-pyscss (1.3.5-2build2) ...
Selecting previously unselected package python-
Preparing to unpack .../08-
Unpacking python-
Selecting previously unselected package python-heatclient.
Preparing to unpack .../09-
Unpacking python-heatclient (1.14.0-0ubuntu1) ...
Selecting previously unselected package python-pint.
Preparing to unpack .../10-
Unpacking python-pint (0.8.1-2) ...
Selecting previously unselected package openstack-
Preparing to unpack .../11-
Unpacking openstack-
Selecting previously unselected package python-
Preparing to unpack .../12-
Unpacking python-
Selecting previously unselected package python-
Preparing to unpack .../13-
Unpacking python-
Selecting previously unselected package openstack-
Preparing to unpack .../14-
Unpacking openstack-dashboard (3:14.0.
Setting up python-
Setting up python-rcssmin (1.0.6-1ubuntu3) ...
Setting up openstack-
Setting up python-rjsmin (1.0.12+
Setting up python-heatclient (1.14.0-0ubuntu1) ...
update-
Setting up python-django-babel (0.6.2-1) ...
Setting up python-pint (0.8.1-2) ...
Setting up python-
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up python-pathlib (1.0.1-2) ...
Setting up python-pyscss (1.3.5-2build2) ...
update-
update-
Setting up python-
Setting up python-
Setting up python-
Setting up python-
update-
Setting up openstack-dashboard (3:14.0.
Adding system user `horizon' (UID 124) ...
Adding new user `horizon' (UID 124) with group `horizon' ...
Not creating home directory `/var/lib/
Collecting and compressing static assets...
Traceback (most recent call last):
File "manage.py", line 25, in <module>
execute_
File "/home/
utility.
File "/home/
settings.
File "/home/
self.
File "/home/
self._wrapped = Settings(
File "/home/
mod = importlib.
File "/usr/lib/
__import_
File "/usr/share/
from horizon.
ImportError: No module named escape
dpkg: error processing package openstack-dashboard (--configure):
installed openstack-dashboard package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openstack-
E: Sub-process /usr/bin/dpkg returned an error code (1)
description: | updated |
Changed in cloud-archive: | |
status: | Incomplete → Invalid |
Changed in ubuntu-community: | |
status: | New → Invalid |
It's not an upstream Horizon bug