为了能快速了解并处理您的问题,请提供以下基础信息:
出错了,面板运行时发生错误!UnicodeEncodeError: 'utf-8' codec can't encode characters in position 27-28: surrogates not allowed
REQUEST_DATE: 2024-07-07 05:03:18 VERSION: CentOS 7.8.2003 x86_64(Py3.7.9) - 8.2.0 REMOTE_ADDR: 221.227.145.144 REQUEST_URI: POST /files?action=GetDirNewREQUEST_FORM: {'p': '1', 'showRow': '500', 'path': '/www/wwwroot/ys.xincyy.cn'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2430, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2377, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/class/files.py", line 884, in GetDirNew 'rmk': public.readFile('data/files_ps/' + public.Md5(filename)) if os.path.exists('data/files_ps/' + public.Md5(filename)) else pss.get(filename, ''), # 备注 File "class/public.py", line 191, in Md5 strings = strings.encode()UnicodeEncodeError: 'utf-8' codec can't encode characters in position 27-28: surrogates not allowed
|
|