`
<div>
<h3>An error occurred while the panel was running!</h3>
<div style="margin-bottom: 15px;margin-top: 15px;color: red;">
<h4 style="font-size: none;">KeyError: 'plugin name'</h4>
</div>
<pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2024-07-19
VERSION: Ubuntu 22.04 LTS x86_64(Py3.12.3) - 7.0.6
REMOTE_ADDR: 111
REQUEST_URI: POST /plugin?action=a&name=tomcat2&s=GetSite
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36</pre>
<pre style="height:470px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">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 8090, in run_plugin
raise PanelError(res['msg'])
public.common.PanelError: An error occurred while the panel was running: Traceback (most recent call last):
File "/www/server/panel/plugin/tomcat2/tomcat2_main.py", line 799, in GetSite
if len(self.GetVhosts()) >= 1:
^^^^^^^^^^^^^^^^
File "/www/server/panel/plugin/tomcat2/tomcat2_main.py", line 1215, in GetVhosts
Hosts = self.__ENGINE.getchildren()
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2519, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2465, 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 1204, in get_error_object
result = readFile('{}/BTPanel/templates/default/plugin_error.html'.format(get_panel_path())).format(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'plugin name'</pre>
<ul class="help-info-text">
<li style="list-style: none;"><b>Sorry, an unexpected error occurred while the panel was running. Please try to resolve this error in the following order:</b></li>
<li style="list-style: none;">1. Click the Fix button in the upper right corner of [Home], and log out of the panel and log in again.</li>
<li style="list-style: none;">2. Still unresolved, please take a screenshot of this window and post on the forum for help, address:<a class="btlink" href="https://www.aapanel.com/forum/" target="_blank">https://www.aapanel.com/forum/</a></li>
</ul>
</div>
Attempt to fix unresolved issues
Uninstalling and reinstalling, unresolved。
add itemsubmit error. open
add item` error