yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74602
[Bug 1791043] [NEW] wsgi.py - wrong path in it
Public bug reported:
When openstack_dashboard/wsgi/django.wsgi was moved in rocky to
openstack_dashboard/wsgi.py path in there was unchanged and this causes
initioalization error as it cannot find openstack_dashboard.settings
module. I believe that
sys.path.insert(0, os.path.normpath(os.path.join(
os.path.dirname(os.path.realpath(__file__)), '../..')))
should be changed to
sys.path.insert(0, os.path.normpath(os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..')))
** Affects: horizon
Importance: Undecided
Status: New
--
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/1791043
Title:
wsgi.py - wrong path in it
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When openstack_dashboard/wsgi/django.wsgi was moved in rocky to
openstack_dashboard/wsgi.py path in there was unchanged and this
causes initioalization error as it cannot find
openstack_dashboard.settings module. I believe that
sys.path.insert(0, os.path.normpath(os.path.join(
os.path.dirname(os.path.realpath(__file__)), '../..')))
should be changed to
sys.path.insert(0, os.path.normpath(os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..')))
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1791043/+subscriptions
Follow ups