为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本: PAN_VERSION: 8.1.0
系统版本:Windows 10 Pro (build 18363) x64 (Py3.8.6)
问题描述:出错了,面板运行时发生错误! AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
REQUEST_DATE: 2024-07-29 11:28:00
PAN_VERSION: 8.1.0
OS_VERSION: Windows 10 Pro (build 18363) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /site?action=get_site_types
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Traceback (most recent call last):
File "D:\BtSoft\panel/class\panelSite.py", line 20, in
from OpenSSL import crypto
File "C:\Program Files\python\lib\site-packages\OpenSSL\__init__.py", line 8, in
from OpenSSL import crypto, SSL
File "C:\Program Files\python\lib\site-packages\OpenSSL\crypto.py", line 1517, in
class X509StoreFlags(object):
File "C:\Program Files\python\lib\site-packages\OpenSSL\crypto.py", line 1535, in X509StoreFlags
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\python\lib\site-packages\flask\app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Program Files\python\lib\site-packages\flask\_compat.py", line 39, in reraise
raise value
File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 630, in site
import panelSite
File "D:\BtSoft\panel/class\panelSite.py", line 25, in
from OpenSSL import crypto
File "C:\Program Files\python\lib\site-packages\OpenSSL\__init__.py", line 8, in
from OpenSSL import crypto, SSL
File "C:\Program Files\python\lib\site-packages\OpenSSL\crypto.py", line 1517, in
class X509StoreFlags(object):
File "C:\Program Files\python\lib\site-packages\OpenSSL\crypto.py", line 1535, in X509StoreFlags
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
|
|