本帖最后由 堡塔运维香菜卷 于 2023-10-8 18:52 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:Windows Server 2019 Datacenter (build 17763) x64 (Py3.8.6)
问题描述:打开面板设置功能出错 http://xxxxx:26325/config
出错了,面板运行时发生错误!KeyError: 'open'
REQUEST_DATE: 2023-10-08 11:20:21 PAN_VERSION: 7.9.0 OS_VERSION: Windows Server 2019 Datacenter (build 17763) x64 (Py3.8.6) REMOTE_ADDR: 123.14.204.216 REQUEST_URI: GET /config?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.47Traceback (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 "C:\BtSoft\panel\BTPanel\__init__.py", line 808, in config if c_obj.get_token(None)['open']: data['api'] = 'checked'KeyError: 'open'
|
|