当前位置:论坛首页 > BUG提交 > Linux面板

面板运行报错TypeError: deprecated() got an unexpected keyword argument ...

发表在 BUG提交2023-9-7 22:35 [复制链接] 0 1504

如题,报错详细信息如下:
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'

微信截图_20230907222802.png

使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表