8.0.1版本出现这个问题了,Traceback (most recent call last):
File "class/public.py", line 3505, 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 2015, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1962, in run
result = getattr(toObject, get.action)(get)
File "class/panelWarning.py", line 36, in get_list
if p[m_name]._level == 0: continue
File "class/public.py", line 3514, in __getitem__
return self.get_attr(key)
File "class/public.py", line 3510, in get_attr
raise Exception(get_error_info())
Exception: Traceback (most recent call last):
File "class/public.py", line 3505, 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' |