如题,报错详细信息如下:
REQUEST_DATE: 2023-09-07 22:26:23 PAN_VERSION: 8.0.2 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 180.108.224.127 REQUEST_URI: POST /warning?action=get_listREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.69
Traceback (most recent call last): File "class/public.py", line 3504, in get_attr tmp_obj = __import__(key) File "class/safe_warning/sw_site_ssl_expire.py", line 15, in import os,sys,re,public,OpenSSL,time File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import SSL, crypto File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 19, in from OpenSSL.crypto import ( File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 3271, in name="load_pkcs7_data",TypeError: deprecated() got an unexpected keyword argument 'name'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2023, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1970, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/class/panelWarning.py", line 52, in get_list if p[m_name]._level == 0: continue File "class/public.py", line 3513, in __getitem__ return self.get_attr(key) File "class/public.py", line 3509, in get_attr raise Exception(get_error_info())Exception: Traceback (most recent call last): File "class/public.py", line 3504, in get_attr tmp_obj = __import__(key) File "class/safe_warning/sw_site_ssl_expire.py", line 15, in import os,sys,re,public,OpenSSL,time File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import SSL, crypto File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 19, in from OpenSSL.crypto import ( File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 3271, in name="load_pkcs7_data",TypeError: deprecated() got an unexpected keyword argument 'name'
|
|