[1.1.3] findAll Fail

Bug #1817853 reported by Jeff_Vallis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Invalid
Undecided
RaiMan

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 )

Revision history for this message
RaiMan (raimund-hocke) wrote :

can you send me the image and a screenshot (sikulix---at---outlook---dot---com)

Changed in sikuli:
status: New → Opinion
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
summary: - findAll Fail
+ [1.1.3] findAll Fail
Revision history for this message
Jeff_Vallis (vallis-pj) wrote :

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

RaiMan (raimund-hocke)
Changed in sikuli:
status: Opinion → Invalid
importance: Medium → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.