REQUEST_DATE: 2023-05-25 08:36:51
PAN_VERSION: 7.9.99
OS_VERSION: Rocky 9.2 (Blue Onyx) x86_64(Py3.7.16)
REMOTE_ADDR: 119.123.60.48
REQUEST_URI: POST /project/docker/model?action=container-del_container
REQUEST_FORM: {'data': '{"id":"c126fa606e60f4918584bb20c57e68103db0f538802fcc5859311ed5b13cb109","url":"unix:///var/run/docker.sock","dk_model_name":"container","dk_def_name":"del_container"}'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.100
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2011, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1958, in run
result = getattr(toObject, get.action)(get)
File "class/panelController.py", line 81, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/projectModel/dockerModel.py", line 87, in model
result = run_object(args)
File "/www/server/panel/class/projectModel/bt_docker/dk_container.py", line 217, in del_container
config_data = json.loads(public.readFile(config_path))
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not bool
|
|