原来用的是商业版本,商业版本期到期后升级,变成这样了 怎么修改,修复命令用了不好用
ModuleNotFoundError: No module named 'mod.base.json_util'
- REQUEST_FORM: {}
- USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
- Traceback (most recent call last):
- File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request
- rv = self.dispatch_request()
- File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "/www/server/panel/BTPanel/__init__.py", line 1241, in ajax
- import ajax
- File "/www/server/panel/class/ajax.py", line 14, in <module>
- from mod.base.json_util import SrcFieldJSONEncoder, SrcField
- ModuleNotFoundError: No module named 'mod.base.json_util'
复制代码

|
|