宝塔用户_sdupeb 发表于 2023-6-6 21:18:10

【待反馈】_pickle.PicklingError: Can't pickle : it's not the same object...

本帖最后由 堡塔运维小林 于 2023-6-6 22:36 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
Traceback (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 1953, in full_dispatch_request    return self.finalize_request(rv)File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1970, in finalize_request    response = self.process_response(response)File "C:\Program Files\python\lib\site-packages\flask\app.py", line 2269, in process_response    self.session_interface.save_session(self, ctx.session, response)File "C:\Program Files\python\lib\site-packages\flask_session\sessions.py", line 279, in save_session    val = self.serializer.dumps(dict(session), 0)_pickle.PicklingError: Can't pickle : it's not the same object as public.dict_obj REQUEST_DATE: 2023-06-06 21:14:35 PAN_VERSION: 7.8.0OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6) REMOTE_ADDR: 123.144.65.33 REQUEST_URI: POST /system?action=RepPanelREQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.37
问题描述:
相关截图(日志、错误):

运维小林q3030251644 发表于 2023-6-6 22:35:45

您好,您可以尝试先修复一下面板,然后再尝试前面的操作看是否可行;
如果不行,可能是面板依赖的python环境损坏了,先停止宝塔面板,然后将下面这个目录删掉
C:\Program Files\python
然后下载这个包覆盖安装一下看看是否能解决,覆盖安装不影响原来数据与正在运行的网站。
http://download.bt.cn/win/panel/BtSoft.zip
页: [1]
查看完整版本: 【待反馈】_pickle.PicklingError: Can't pickle : it's not the same object...