An error occurred while the panel was running!
KeyError: 'plugin name'
REQUEST_DATE: 2024-09-14 22:37:25
VERSION: CentOS Stream 8 x86_64(Py3.12.3) - 7.0.9
REMOTE_ADDR: XXXXXX
REQUEST_URI: POST /plugin?action=a&name=clear&s=RetuenLog
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/class/panelPlugin.py", line 2258, in a
return public.run_plugin(get.name, get.s, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 8283, in run_plugin
raise PanelError(res['msg'])
public.exceptions.PanelError: An error occurred while the panel was running: Traceback (most recent call last):
File "/www/server/panel/plugin/clear/clear_main.py", line 356, in RetuenLog
ret['total_log'] = self.Total_Log()
^^^^^^^^^^^^^^^^
File "/www/server/panel/plugin/clear/clear_main.py", line 314, in Total_Log
size = public.ExecShell('du -sh %s' % filename)[0].split()[0]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2545, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/__init__.py", line 2491, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 2260, in a
return public.get_error_object(None, plugin_name=get.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 1280, in get_error_object
result = readFile('{}/BTPanel/templates/default/plugin_error.html'.format(get_panel_path())).format(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'plugin name'