← Back to team overview

sikuli-driver team mailing list archive

[Bug 778819] [NEW] X-1.0rc2: TypeError: click(): expected 2 args; got 1

 

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)


Follow ups

References