[Bug 2037154] Re: manage.py requires python instead of python3

Corey Bryant 2037154 at bugs.launchpad.net
Wed Oct 4 13:00:32 UTC 2023


Hi Takashi,

Thanks for reporting this. These fixes are in mantic/bobcat now. For
releases where upstream horizon is still providing stable point
releases, we'll pick the backports up as the stable releases become
available.

Corey

** Changed in: horizon (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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