sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50756
[Bug 1817853] Re: [1.1.3] findAll Fail
Solved
In between
hover and findAll
I had a popup box with a message of what value the similar test "x1" was using
when I added a 5 second wait after the popup the findAll worked ok
Must be something to do with the script running faster than the refresh
as the popup was hiding the rectangle that I was testing
Removal of the popup - findAll works ok
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1817853
Title:
[1.1.3] findAll Fail
Status in Sikuli:
Opinion
Bug description:
1.1.3(2018-06-07_14:48)/Linux4.15.0-36-generic/Java8(64)1.8.0_191-b12
v_Image2 = Pattern(v_Image).similar(x1)
if exists(v_Image2,0.2) and v_test == 0:
v_Pos = find(v_Image2)
hover(Location(v_Pos.x,v_Pos.y))
v_Result = list(findAll(v_Image2))
I added the find and hover to see if the find work - it did the error was on the findAll
I have an image and I am looping on x1 to check what similiarity matches and how many many matches = len(v_Result)
[error] FindFailed ( /home/jeff/SikuliScripts_Linux/Subs/Vikings_Troops/Quantity Box.png: (4x11) seen at (221, 272) with 0.77 in S(0)[0,0 1366x768] E:Y, T:3.0 )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1817853/+subscriptions
References