['Traceback (most recent call last):\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\application.py", line 248, in __resolve_control\n ctrl = wait_until_passes(\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\timings.py", line 458, in wait_until_passes\n raise err\n', 'pywinauto.timings.TimeoutError\n', '\nDuring handling of the above exception, another exception occurred:\n\n', 'Traceback (most recent call last):\n', ' File "F:\\GZH\\easyquant\\easyquant\\strategy\\strategyTemplate.py", line 73, in run\n self.strategy(event)\n', ' File "F:\\GZH\\easyquant\\strategies\\策略1回调.py", line 53, in strategy\n get_positions_status = self.get_positions_status(data)\n', ' File "F:\\GZH\\easyquant\\strategies\\策略1回调.py", line 222, in get_positions_status\n positions = self.user.position\n', ' File "C:\\Python38\\lib\\site-packages\\easytrader\\clienttrader.py", line 146, in position\n self._switch_left_menus(["查询[F4]", "资金股票"])\n', ' File "C:\\Python38\\lib\\site-packages\\easytrader\\utils\\perf.py", line 18, in wrapper\n return f(*args, **kwargs)\n', ' File "C:\\Python38\\lib\\site-packages\\easytrader\\clienttrader.py", line 522, in _switch_left_menus\n self._get_left_menus_handle().get_item(path).select()\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\application.py", line 362, in __getattribute__\n ctrls = self.__resolve_control(self.criteria)\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\application.py", line 259, in __resolve_control\n raise e.original_exception\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\timings.py", line 436, in wait_until_passes\n func_val = func(*args, **kwargs)\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\application.py", line 201, in __get_ctrl\n dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0]))\n', ' File "C:\\Python38\\lib\\site-packages\\pywinauto\\findwindows.py", line 87, in find_element\n raise ElementNotFoundError(kwargs)\n', "pywinauto.findwindows.ElementNotFoundError: {'title': '网上股票交易系统5.0', 'backend': 'win32', 'process': 332152}\n"]
相关文章
- 12-02python – 关闭TraitsUI窗口而不单击“确定”
- 12-02关于 使用python向qq好友发送消息(对爬虫的作用----当程序执行完毕或者报错无限给自己qq发送消息,直到关闭)
- 12-02python-当我关闭窗口时,PyQt应用程序没有退出
- 12-02python-PyQt 4-将窗口中的所有数据保存到应用程序关闭时的文件中
- 12-02python 窗口被关闭报错
- 12-02Selenium3 + Python3自动化测试系列十二——窗口截图与关闭浏览器
- 12-02我可以关闭在Python中用subprocess.Popen打开的CMD窗口吗?
- 12-02从报错“无效操作,连接被关闭”探究Transaction的Timeout超时机制
- 12-02python selenium 关闭命令窗口时,自动关闭浏览器
- 12-02python 使用多进程打开多个cmd窗口,并在子进程结束之后关闭cmd窗口