An error occurred while the panel was runningļ¼
KeyError: 'plugin name'
REQUEST_DATE: 2024-12-05 22:53:12
VERSION: Ubuntu 22.04.5 LTS x86_64(Py3.12.3) - 7.19.0
REMOTE_ADDR: xxxxxxxxxx
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/131.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/class/panelPlugin.py", line 2256, in a
return public.run_plugin(get.name, get.s, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 8350, 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 349, in RetuenLog
ret['system_log'] = self.ReturnLoginLog()
^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/plugin/clear/clear_main.py", line 83, in ReturnLoginLog
size = os.path.getsize(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 62, in getsize
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/mail.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2602, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2548, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 2258, in a
return public.get_error_object(None, plugin_name=get.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 1307, in get_error_object
result = readFile('{}/BTPanel/templates/default/plugin_error.html'.format(get_panel_path())).format(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'plugin name'