zainirshadns
My OS details REQUEST_DATE: 2024-11-18 10:50:21
VERSION: Ubuntu 24.04.1 LTS x86_64(Py3.12.3) - 7.0.11
REMOTE_ADDR:
REQUEST_URI: POST /plugin?action=a&name=docker&s=GetConList
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Error
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 8346, 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/docker/docker_main.py", line 57, in GetConList
for con in self.__docker.containers.list(all=True):
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'containers'
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'