ToneyG 发表于 2022-12-12 09:22:19

【待反馈】宝塔面板报错无法登陆了

出错了,面板运行时发生错误!TypeError: '>=' not supported between instances of 'str' and 'int'
REQUEST_DATE: 2022-12-12 09:18:10 PAN_VERSION: 7.9.0OS_VERSION: CentOS7.5.1804 x86_64(Py3.7.9) REMOTE_ADDR: 116.232.138.158 REQUEST_URI: GET /?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36Traceback (most recent call last):File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app    response = self.full_dispatch_request()File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request    rv = self.handle_user_exception(e)File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception    reraise(exc_type, exc_value, tb)File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise    raise valueFile "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request    rv = self.dispatch_request()File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request    return self.view_functions(**req.view_args)File "/www/server/panel/BTPanel/__init__.py", line 297, in home    data)], data['pro_end'], data['ltd_end'] = get_pd()File "/www/server/panel/BTPanel/__init__.py", line 1835, in get_pd    if tmp >= 0 and ltd in [-1, -2]:TypeError: '>=' not supported between instances of 'str' and 'int'

南南呦 发表于 2022-12-12 11:13:08

您好,服务器终端执行bt命令选择16选项,升级修复面板到最新版本试试是否还是会出现报错
页: [1]
查看完整版本: 【待反馈】宝塔面板报错无法登陆了