怎么上传本地图片,不能上传,只能添加本地链接
报错如下
- ecent 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 1830, 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 147: illegal multibyte sequence
复制代码 |