+++++ При вызове функции UIOSelectorSecs_WaitAppear_Bool 1 из 20 раз возникла подобная ошибка (ожидание нового окна в клиенте 1С)
Traceback (most recent call last): File "C:\RPA\xxx_01\packages\xxx_accountant\start.py", line 87, in startAuto1 exceptMessage = appMain.do_take_report(config.PATHTOAPP, config.DOWNLOADPATH, NOWDUMPSFOLDER, item, date) File "C:\RPA\xxx_01\packages\xxx_accountant\app\appMain.py", line 21, in do_take_report funcs.to_workplace(appConfig.dialogWindowSelector, appConfig.maxSelector, appConfig.licenseProblemSelector, appConfig.configProblemSelector, appConfig.reportSelector, appConfig.needItemSelector, appConfig.closeSelector, appConfig.closeConfirmSelector) File "C:\RPA\xxx_01\packages\onec\funcs.py", line 47, in to_workplace if UIDesktop.UIOSelectorSecs_WaitAppear_Bool(dialog, inWaitSecs=20): File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 456, in UIOSelectorSecs_WaitAppear_Bool lWaitAppearList=UIOSelectorsSecs_WaitAppear_List([inSpecificationList],inWaitSecs) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 359, in UIOSelectorsSecs_WaitAppear_List lItemResultFlag=UIOSelector_Exist_Bool(lItem) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 302, in UIOSelector_Exist_Bool lResultList=UIOSelector_Get_UIOList(inUIOSelector, None, False) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 241, in UIOSelector_Get_UIOList lResultList.extend(UIOSelector_Get_UIOList(inSpecificationList[1:],lChildElement,inFlagRaiseException)) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 179, in UIOSelector_Get_UIOList lResultList.extend(UIOSelector_Get_UIOList(lChildrenItemNewSpecificationList,lChildrenItem,inFlagRaiseException)) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 179, in UIOSelector_Get_UIOList lResultList.extend(UIOSelector_Get_UIOList(lChildrenItemNewSpecificationList,lChildrenItem,inFlagRaiseException)) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 179, in UIOSelector_Get_UIOList lResultList.extend(UIOSelector_Get_UIOList(lChildrenItemNewSpecificationList,lChildrenItem,inFlagRaiseException)) [Previous line repeated 7 more times] File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 241, in UIOSelector_Get_UIOList lResultList.extend(UIOSelector_Get_UIOList(inSpecificationList[1:],lChildElement,inFlagRaiseException)) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pyOpenRPA\Robot\UIDesktop.py", line 142, in UIOSelector_Get_UIOList lElementChildrenList=inElement.children() File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pywinauto\base_wrapper.py", line 471, in children return [self.backend.generic_wrapper_class(element_info) for element_info in child_elements] File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pywinauto\base_wrapper.py", line 471, in return [self.backend.generic_wrapper_class(element_info) for element_info in child_elements] File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pywinauto\controls\uiawrapper.py", line 186, in new return super(UIAWrapper, cls)._create_wrapper(cls, element_info, UIAWrapper) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pywinauto\base_wrapper.py", line 126, in _create_wrapper new_class = cls_spec.find_wrapper(element_info) File "C:\RPA\xxx_01\resources\wpy64-31050\python-3.10.5.amd64\lib\site-packages\pywinauto\controls\uiawrapper.py", line 160, in find_wrapper wrapper_match = UiaMeta.control_type_to_cls[element.control_type] KeyError: None