You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the visualizer is already opened, the GuiControl cannot maximize the window as two windows are identified (expected only a single window).
Traceback (most recent call last):
File "app/main.py", line 9, in <module>
main()
File "app/main.py", line 5, in main
LeapGui.run()
File "E:\RoSeMotion\app\LeapGui.py", line 466, in run
gui.set_windows_record()
File "E:\RoSeMotion\app\GuiControl.py", line 24, in set_windows_record
visualizer_dlg.maximize()
File "E:\python372\lib\site-packages\pywinauto\application.py", line 396, in __getattribute__
ctrls = self.__resolve_control(self.criteria)
File "E:\python372\lib\site-packages\pywinauto\application.py", line 258, in __resolve_control
criteria)
File "E:\python372\lib\site-packages\pywinauto\timings.py", line 436, in wait_until_passes
func_val = func(*args, **kwargs)
File "E:\python372\lib\site-packages\pywinauto\application.py", line 203, in __get_ctrl
dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0]))
File "E:\python372\lib\site-packages\pywinauto\findwindows.py", line 98, in find_element
raise exception
pywinauto.findwindows.ElementAmbiguousError: There are 2 elements that match the criteria {'backend': 'win32', 'process': 3880}
If the visualizer is already opened, the GuiControl cannot maximize the window as two windows are identified (expected only a single window).
Originally posted by @iamfoolberg in #12 (comment)
The text was updated successfully, but these errors were encountered: