宝塔用户_etejmy 发表于 2025-1-10 11:32:21

更新宝塔版本后,访问终端报错,修复与重启均无效

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.4.0
系统版本:CentOS8.4.2105 x86_64(Py3.7.9) - 9.4.0
问题描述:更新宝塔版本后,访问终端报错,修复与重启均无效
相关截图(日志、错误):出错了,面板运行时发生错误!TypeError: send_file() got an unexpected keyword argument 'etag'
REQUEST_DATE: 2025-01-10 11:25:21VERSION: CentOS8.4.2105 x86_64(Py3.7.9) - 9.4.0 REMOTE_ADDR: 58.248.106.93 REQUEST_URI: GET /favicon.ico?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36Traceback (most recent call last):File "/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 1767, in send_favicon    return send_file(s_file, conditional=True, etag=True)TypeError: send_file() got an unexpected keyword argument 'etag'
[*]很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
[*]修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。尝试点击修复
[*]修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
页: [1]
查看完整版本: 更新宝塔版本后,访问终端报错,修复与重启均无效