[Bug 2037154] [NEW] manage.py requires python instead of python3
Takashi Kajinami
2037154 at bugs.launchpad.net
Sat Sep 23 07:00:37 UTC 2023
Public bug reported:
When COMPRESS_OFLINE=True is set in local_settings, we have to execute manage.py to generate the cache file.
However the command requires python instead of python3 and fails with the following error.
$ sudo /usr/share/openstack-dashboard/manage.py compress --force
/usr/bin/env: ‘python’: No such file or directory
This problem was fixed by [1] (and [2] which fixed a regression in
virtualenv).
[1] https://review.opendev.org/c/openstack/horizon/+/885577
[2] https://review.opendev.org/c/openstack/horizon/+/895762
Although we can workaround the problem by explicitly selecting the runtime explicitly[3]
it'd be helpful if we can get the above fixes.
$ sudo python3 /usr/share/openstack-dashboard/manage.py compress --force
** Affects: horizon (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/2037154
Title:
manage.py requires python instead of python3
Status in horizon package in Ubuntu:
New
Bug description:
When COMPRESS_OFLINE=True is set in local_settings, we have to execute manage.py to generate the cache file.
However the command requires python instead of python3 and fails with the following error.
$ sudo /usr/share/openstack-dashboard/manage.py compress --force
/usr/bin/env: ‘python’: No such file or directory
This problem was fixed by [1] (and [2] which fixed a regression in
virtualenv).
[1] https://review.opendev.org/c/openstack/horizon/+/885577
[2] https://review.opendev.org/c/openstack/horizon/+/895762
Although we can workaround the problem by explicitly selecting the runtime explicitly[3]
it'd be helpful if we can get the above fixes.
$ sudo python3 /usr/share/openstack-dashboard/manage.py compress
--force
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/2037154/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list