['Traceback (most recent call last): ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 248, in __resolve_control ctrl = wait_until_passes( ', ' File "C:\Python38\lib\site-packages\pywinauto\timings.py", line 458, in wait_until_passes raise err ', 'pywinauto.timings.TimeoutError ', ' During handling of the above exception, another exception occurred: ', 'Traceback (most recent call last): ', ' File "F:\GZH\easyquant\easyquant\strategy\strategyTemplate.py", line 73, in run self.strategy(event) ', ' File "F:\GZH\easyquant\strategies\策略1回调.py", line 53, in strategy get_positions_status = self.get_positions_status(data) ', ' File "F:\GZH\easyquant\strategies\策略1回调.py", line 222, in get_positions_status positions = self.user.position ', ' File "C:\Python38\lib\site-packages\easytrader\clienttrader.py", line 146, in position self._switch_left_menus(["查询[F4]", "资金股票"]) ', ' File "C:\Python38\lib\site-packages\easytrader\utils\perf.py", line 18, in wrapper return f(*args, **kwargs) ', ' File "C:\Python38\lib\site-packages\easytrader\clienttrader.py", line 522, in _switch_left_menus self._get_left_menus_handle().get_item(path).select() ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 362, in __getattribute__ ctrls = self.__resolve_control(self.criteria) ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 259, in __resolve_control raise e.original_exception ', ' File "C:\Python38\lib\site-packages\pywinauto\timings.py", line 436, in wait_until_passes func_val = func(*args, **kwargs) ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 201, in __get_ctrl dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0])) ', ' File "C:\Python38\lib\site-packages\pywinauto\findwindows.py", line 87, in find_element raise ElementNotFoundError(kwargs) ', "pywinauto.findwindows.ElementNotFoundError: {'title': '网上股票交易系统5.0', 'backend': 'win32', 'process': 332152} "]
策略1: ['Traceback (most recent call last): ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 248, in __resolve_control ctrl = wait_until_passes( ', ' File "C:\Python38\lib\site-packages\pywinauto\timings.py", line 458, in wait_until_passes raise err ', 'pywinauto.timings.TimeoutError ', ' During handling of the above exception, another exception occurred: ', 'Traceback (most recent call last): ', ' File "F:\GZH\easyquant\easyquant\strategy\strategyTemplate.py", line 72, in run self.strategy(event) ', ' File "F:\GZH\easyquant\strategies\策略1回调.py", line 52, in strategy get_positions_status = self.get_positions_status(stock) ', ' File "F:\GZH\easyquant\strategies\策略1回调.py", line 231, in get_positions_status positions = self.user.position ', ' File "C:\Python38\lib\site-packages\easytrader\clienttrader.py", line 146, in position self._switch_left_menus(["查询[F4]", "资金股票"]) ', ' File "C:\Python38\lib\site-packages\easytrader\utils\perf.py", line 18, in wrapper return f(*args, **kwargs) ', ' File "C:\Python38\lib\site-packages\easytrader\clienttrader.py", line 522, in _switch_left_menus self._get_left_menus_handle().get_item(path).select() ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 362, in __getattribute__ ctrls = self.__resolve_control(self.criteria) ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 259, in __resolve_control raise e.original_exception ', ' File "C:\Python38\lib\site-packages\pywinauto\timings.py", line 436, in wait_until_passes func_val = func(*args, **kwargs) ', ' File "C:\Python38\lib\site-packages\pywinauto\application.py", line 201, in __get_ctrl dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0])) ', ' File "C:\Python38\lib\site-packages\pywinauto\findwindows.py", line 87, in find_element raise ElementNotFoundError(kwargs) ', "pywinauto.findwindows.ElementNotFoundError: {'title': '网上股票交易系统5.0', 'backend': 'win32', 'process': 359776} "]