Closed tjyang closed 1 year ago
[me@nagios03 ~]$ python3 -m pdb /usr/lib/python3.6/site-packages/adagios/wsgi.py
> /usr/lib/python3.6/site-packages/adagios/wsgi.py(1)<module>()
-> import os
(Pdb) c
The program finished and will be restarted
> /usr/lib/python3.6/site-packages/adagios/wsgi.py(1)<module>()
-> import os
(Pdb) exit()
[tjyang@va32lnagios03t ~]$ date
Sun May 14 07:35:41 EDT 2023
[me@nagios03 ~]$
[root@nagios01 httpd]# python /usr/lib/python2.7/site-packages/adagios/manage.py runserver 0.0.0.0:55534
Validating models...
0 errors found May 14, 2023 - 08:22:59 Django version 1.6.11.7, using settings 'adagios.settings' Starting development server at http://0.0.0.0:55534/ Quit the server with CONTROL-C. [root@va32lnagios01 httpd]#
Hi I was to modify Makefile and adagio.spec files to compile el8 rpm for RockyLinux 8.7. status.py is still using django.utils.six.
google search shows[ in django3 django.utils.six is deprecated. ](R1: https://github.com/opinkerfi/adagios/blob/master/adagios/status/utils.py#L36)