← Back to team overview

sikuli-driver team mailing list archive

[Bug 1445940] [NEW] [1.0.1] Finder: seems to only find one match

 

Public bug reported:

I am using Sikulix 1.1.0 (2015-01-16_01:00nightly) on win 7
I try to implement the codes on example 2 of http://doc.sikuli.org/finder.html

f = Finder("stars.png")
img = "star.png"
f.find(img)
mm = []
while f.hasNext():
    mm.append(f.next())
print f.hasNext()
f.destroy()
print len(mm)
for m in mm:
    print m

The result is supposed to be 5 matches. However, I only get
1
M[30,32 23x23]@S(S(0)[0,0 1920x1080]) S:1.00 C:41,43 [0/0 msec]

Please help.
Thanks.

** Affects: sikuli
     Importance: High
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1445940

Title:
  [1.0.1] Finder: seems to only find one match

Status in Sikuli:
  Fix Committed

Bug description:
  I am using Sikulix 1.1.0 (2015-01-16_01:00nightly) on win 7
  I try to implement the codes on example 2 of http://doc.sikuli.org/finder.html

  f = Finder("stars.png")
  img = "star.png"
  f.find(img)
  mm = []
  while f.hasNext():
      mm.append(f.next())
  print f.hasNext()
  f.destroy()
  print len(mm)
  for m in mm:
      print m

  The result is supposed to be 5 matches. However, I only get
  1
  M[30,32 23x23]@S(S(0)[0,0 1920x1080]) S:1.00 C:41,43 [0/0 msec]

  Please help.
  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1445940/+subscriptions


Follow ups

References