宝塔用户_nwchwf 发表于 2024-11-9 15:43:38

【待反馈】救助!

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Windows面板 8.2.0
系统版本:win11 家庭版
问题描述:解压功能异常,修复插件异常
相关截图:REQUEST_DATE: 2024-11-09 15:41:00 PAN_VERSION: 8.2.0OS_VERSION: Windows 10 Home China (build 22631) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: POST /plugin?action=get_plugin_upgradesREQUEST_FORM: {'plugin_name': 'btpatch', 'show': '1'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0Traceback (most recent call last):File "D:\BtSoft\panel\BTPanel\__init__.py", line 1591, in publicObject    return run_exec().run(toObject, defs, get)File "D:\BtSoft\panel\BTPanel\__init__.py", line 1832, in run    result = resobj(get)File "class\panelPlugin.py", line 2049, in panelPlugin.panelPlugin.get_plugin_upgrades    plugin_info = self.__get_plugin_find(plugin_name)File "class\panelPlugin.py", line 586, in panelPlugin.panelPlugin.__get_plugin_find    return self.__get_plugin_info(upgrade_plugin_name)File "class\panelPlugin.py", line 169, in panelPlugin.panelPlugin.__get_plugin_info    info_body = self.__read_file(plugin_info_file)File "class\panelPlugin.py", line 357, in panelPlugin.panelPlugin.__read_file    file_body = f_object.read()UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 142: illegal multibyte sequence

堡塔运维南一 发表于 2024-11-11 11:33:19

您好,您可以尝试先修复一下面板,然后再尝试前面的操作看是否可行;
如果不行,可能是面板依赖的python环境损坏了,先停止宝塔面板,然后将下面这个目录重命名,加上一个.bak后缀
C:\Program Files\python

然后下载这个包覆盖安装一下看看是否能解决,覆盖安装不影响原来数据与正在运行的网站。
http://download.bt.cn/win/panel/BtSoft.zip
页: [1]
查看完整版本: 【待反馈】救助!