看日出的鹦鹉 发表于 2024-4-13 10:33:11

【已完成】宝塔测试版8.1.12的关于html编辑的文件

版本:测试版8.1.12

系统:Centos7.9

描述:在文件管理中点击html然后编辑,会提示报错,报错内容如下:



出错了,面板运行时发生错误!
FileNotFoundError: No such file or directory: '%2Fwww%2Fserver%2Fpanel%2FBTPanel%2Fstatic%2Fvite%2Face%2Face.editor.config.json'
>>点击查看详情
出错了,面板运行时发生错误!
FileNotFoundError: No such file or directory: '%2Fwww%2Fserver%2Fpanel%2FBTPanel%2Fstatic%2Fvite%2Face%2Face.editor.config.json'
REQUEST_DATE: 2024-04-13 10:07:36
VERSION: CentOS7.9.2009 x86_64(Py3.7.9) - 8.1.12
REMOTE_ADDR: 118.72.162.28
REQUEST_URI: POST /files?action=GetFileBody
REQUEST_FORM: {'path': '%2Fwww%2Fserver%2Fpanel%2FBTPanel%2Fstatic%2Fvite%2Face%2Face.editor.config.json'}
USER_AGENT: Mozilla/5.0 (Linux; Android 10; HLK-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.5563.15 Mobile Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2439, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2386, in run
    result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/files.py", line 1695, in GetFileBody
    f_stat = os.stat(get.path)
FileNotFoundError: No such file or directory: '%2Fwww%2Fserver%2Fpanel%2FBTPanel%2Fstatic%2Fvite%2Face%2Face.editor.config.json'
很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:

堡塔运维南一 发表于 2024-4-16 11:40:31

您好,这个问题已经修复了,修复一下面板就好了
页: [1]
查看完整版本: 【已完成】宝塔测试版8.1.12的关于html编辑的文件