本帖最后由 堡塔运维小林 于 2023-5-30 09:17 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
TypeError: 'NoneType' object is not iterable
REQUEST_DATE: 2023-05-30 01:44:43 PAN_VERSION: 7.9.10 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 58.47.143.7 REQUEST_URI: POST /project/java/get_project_list?REQUEST_FORM: {'data': '{"p":1,"limit":10}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57Traceback (most recent call last): File "/www/server/panel/class/projectModel/javaModel.py", line 620, in get_vhost Hosts = self.__ENGINE.getchildren()AttributeError: 'NoneType' 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 2006, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1953, 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/javaModel.py", line 2610, in get_project_list if self.get_vhost(data['data']['name']): File "/www/server/panel/class/projectModel/javaModel.py", line 622, in get_vhost Hosts = list(self.__ENGINE)TypeError: 'NoneType' object is not iterable |
|