Public bug reported:

This gives the error above:

    for ready in region.findAll(status):
      ready.nearby(100)).click(ok)

Note that this also gives the same error:

    for ready in region.findAll(status):
      ready = Region(ready)
      ready.nearby(100).click(ok)

Only this one works without `click(): expected 2 args; got 1` error:

    for ready in region.findAll(status):
      Region(ready.nearby(100)).click(ok)

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  X-1.0rc2: TypeError: click(): expected 2 args; got 1

Status in Sikuli:
  New

Bug description:
  This gives the error above:

      for ready in region.findAll(status):
        ready.nearby(100)).click(ok)

  Note that this also gives the same error:

      for ready in region.findAll(status):
        ready = Region(ready)
        ready.nearby(100).click(ok)

  Only this one works without `click(): expected 2 args; got 1` error:

      for ready in region.findAll(status):
        Region(ready.nearby(100)).click(ok)

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to