为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:ssl界面保存并启用证书时,脚本运行异常 相关截图(日志、错误):保存证书时,提示Traceback (most recent call last):AttributeError: 'NoneType' object has no attribute 'group'
REQUEST_DATE: 2024-05-13 15:14:38 VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.1.0 REMOTE_ADDR: 117.24.68.33 REQUEST_URI: POST /site?action=SetSSLREQUEST_FORM: {'type': '-1', 'siteName': 'q.sell001test.top', 'key': '******', 'csr': '******'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 File "/www/server/panel/BTPanel/__init__.py", line 2422, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2369, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/class/panelSite.py", line 1597, in SetSSL result = self.SetSSLConf(get) File "/www/server/panel/class/panelSite.py", line 2081, in SetSSLConf listen = listen_re.group() AttributeError: 'NoneType' object has no attribute 'group',尝试btpip install requests==2.27 -I,提示ERROR: Invalid reguirement:'requests==2.27\xa0\xa0-IWARNING: You are using pip version 20.3.3, however, version 24.0 is available.You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip’ command.
|
-
|