c:\python38\lib\site-packages\pywinauto\application.py:1062:

c:\python38\lib\site-packages\pywinauto\application.py:1062: UserWarning: 32-bit application should be automated using 32-bit Python (you use 64-bit Python)
warnings.warn(
2022-08-13 15:30:51,690 [ERROR] clienttrader.py 546: error occurred when trying to get left menus
Traceback (most recent call last):
File "c:\python38\lib\site-packages\easytrader\clienttrader.py", line 542, in _get_left_menus_handle
handle.wait("ready", 2)
File "c:\python38\lib\site-packages\pywinauto\application.py", line 511, in wait
wait_until(timeout, retry_interval,
File "c:\python38\lib\site-packages\pywinauto\timings.py", line 375, in wait_until
raise err
pywinauto.timings.TimeoutError: timed out
2022-08-13 15:30:53,733 [ERROR] clienttrader.py 546: error occurred when trying to get left menus
Traceback (most recent call last):
File "c:\python38\lib\site-packages\easytrader\clienttrader.py", line 542, in _get_left_menus_handle
handle.wait("ready", 2)
File "c:\python38\lib\site-packages\pywinauto\application.py", line 511, in wait
wait_until(timeout, retry_interval,
File "c:\python38\lib\site-packages\pywinauto\timings.py", line 375, in wait_until
raise err
pywinauto.timings.TimeoutError: timed out
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 "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': 717444}

posted @ 2022-08-13 15:45  A汉克先生  阅读(401)  评论(0编辑  收藏  举报