[openstack/requirements] Horizon image works abnormal because of the conflict bewteen mysqlclient and Django
Hello: I have built a horizon image in ussuri version, but it works abnormal due to package mismatch problem. According to Django===2.2.12 from latest upper-constraint.txt, it is not compatible with mysqlclient. Using old version Django===2.1.5 can fix the problem. Could you help me to check the mismatch problem. Many thanks. -- ————————————————————————————— 九州云信息科技有限公司 99CLOUD Inc. 于成德 产品开发部 邮箱(Email): yu.chengde@99cloud.net 手机(Mobile): 13816965096 地址(Addr): 上海市局门路427号1号楼206 Room 206, Bldg 1, No.427 JuMen Road, ShangHai, China 网址(Site): http://www.99cloud.net
On 20-05-07 22:04:47, YuChengDe wrote:
Hello: I have built a horizon image in ussuri version, but it works abnormal due to package mismatch problem. According to Django===2.2.12 from latest upper-constraint.txt, it is not compatible with mysqlclient. Using old version Django===2.1.5 can fix the problem. Could you help me to check the mismatch problem. Many thanks.
They co-install just fine (could not merge otherwise). Do you have a log showing the problem? -- Matthew Thode
Hi Matthew: log listed below is came from applying horizon image. Execute "apps.populate(settings.INSTALLED_APPS)" failed Please help to check. 2020-04-24T04:53:02.10284535Z stderr F + ln -s /etc/openstack-dashboard/local_settings /var/lib/openstack/lib/python3.6/site-packages/openstack_dashboard/local/local_settings.py 2020-04-24T04:53:02.103275286Z stderr F + exec /tmp/manage.py migrate --noinput 2020-04-24T04:53:05.382939734Z stderr F /var/lib/openstack/lib/python3.6/site-packages/scss/compiler.py:1430: DeprecationWarning: invalid escape sequence \: 2020-04-24T04:53:05.382950387Z stderr F result = tb * (i + nesting) + "@media -sass-debug-info{filename{font-family:file\:\/\/%s}line{font-family:\\00003%s}}" % (filename, lineno) + nl 2020-04-24T04:53:05.382954148Z stderr F /var/lib/openstack/lib/python3.6/site-packages/scss/cssdefs.py:516: DeprecationWarning: invalid escape sequence \s 2020-04-24T04:53:05.382956261Z stderr F ''', re.VERBOSE) 2020-04-24T04:53:05.382959967Z stderr F /var/lib/openstack/lib/python3.6/site-packages/scss/namespace.py:172: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() 2020-04-24T04:53:05.382963516Z stderr F argspec = inspect.getargspec(function) 2020-04-24T04:53:05.385459332Z stderr F Traceback (most recent call last): 2020-04-24T04:53:05.385473767Z stderr F File "/tmp/manage.py", line 19, in <module> 2020-04-24T04:53:05.385477281Z stderr F execute_from_command_line(sys.argv) 2020-04-24T04:53:05.385479958Z stderr F File "/var/lib/openstack/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line 2020-04-24T04:53:05.385482395Z stderr F utility.execute() 2020-04-24T04:53:05.38548575Z stderr F File "/var/lib/openstack/lib/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute 2020-04-24T04:53:05.385487888Z stderr F django.setup() 2020-04-24T04:53:05.385489803Z stderr F File "/var/lib/openstack/lib/python3.6/site-packages/django/__init__.py", line 24, in setup 2020-04-24T04:53:05.385492082Z stderr F apps.populate(settings.INSTALLED_APPS) 2020-04-24T04: -- ————————————————————————————— 九州云信息科技有限公司 99CLOUD Inc. 于成德 产品开发部 邮箱(Email): yu.chengde@99cloud.net 手机(Mobile): 13816965096 地址(Addr): 上海市局门路427号1号楼206 Room 206, Bldg 1, No.427 JuMen Road, ShangHai, China 网址(Site): http://www.99cloud.net 发件人:YuChengDe <yu.chengde@99cloud.net> 发送日期:2020-05-07 22:04:47 收件人:openstack-discuss@lists.openstack.org 主题:[openstack/requirements] Horizon image works abnormal because of the conflict bewteen mysqlclient and Django Hello: I have built a horizon image in ussuri version, but it works abnormal due to package mismatch problem. According to Django===2.2.12 from latest upper-constraint.txt, it is not compatible with mysqlclient. Using old version Django===2.1.5 can fix the problem. Could you help me to check the mismatch problem. Many thanks. -- ————————————————————————————— 九州云信息科技有限公司 99CLOUD Inc. 于成德 产品开发部 邮箱(Email): yu.chengde@99cloud.net 手机(Mobile): 13816965096 地址(Addr): 上海市局门路427号1号楼206 Room 206, Bldg 1, No.427 JuMen Road, ShangHai, China 网址(Site): http://www.99cloud.net
participants (2)
-
Matthew Thode
-
YuChengDe