← Back to team overview

sikuli-driver team mailing list archive

[Bug 1213439] Re: "FindFailed" or "Location: outside any screen" error on dual-screen configuration

 

--- FindFailed for image on left monitor
It is still so, that you have to tell Sikuli, on which screen to look for images (version 1.1 will have more support for multi-screen-search).

click(<any_picture_on_left_screen>) per definition looks on Screen(0) (which is set as a pseudo-constant SCREEN, that is used for all undotted Region functions like click, find, type, ...)
So this FindFailed is a "feature" ;-)

if you want to work on screen 1 use e.g.
S1 = Screen(1)
S1.click(<any_picture_on_left_screen>)

... means all Region/Screen functions using images located on screen 1
need to be written as S1.function

(this is in fact the approach, to "restrict" a search operation to a
specific region)

All functions using Regions or Locations as parameters need not be
qualified, even if the region or location is on another monitor.

*** [error] Location: outside any screen ...
I am working on that


** Summary changed:

- "FindFailed" or "Location: outside any screen" error on dual-screen configuration
+ [1.0.1] "Location: outside any screen" error on dual-screen configuration

** Description changed:

  Sikuli IDE 1.0.1
  Windows 7 x64
  
  1. Dual-screen configuration where the right screen is primary (thus, coordinates on the left screen is negative).
- 2. Run script: click(<any_picture_on_left_screen>)
- 3. Script return: [error] FindFailed ( can not find 1376853223841.png on the screen. )
+ 2. Sikuli window on the left screen.
+ 3. Move mouse ower any thumbnail in the script.
+ 4. Sequence error in message pane like "[error] Location: outside any screen (32, -3) - subsequent actions might not work as expected". See attached screenshot.
  
  or
  
- 2. Sikuli window on the left screen.
- 3. Move mouse ower any thumbnail in the script.
- 4. Sequence error in message pane like "[error] Location: outside any screen (32, -3) - subsequent actions might not work as expected". See attached screenshot.
+ 2. Run script: click(<any_picture_on_left_screen>)
+ 3. Script return: [error] FindFailed ( can not find 1376853223841.png on the screen. )

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

Title:
  [1.0.1] "Location: outside any screen" error on dual-screen
  configuration

Status in Sikuli:
  New

Bug description:
  Sikuli IDE 1.0.1
  Windows 7 x64

  1. Dual-screen configuration where the right screen is primary (thus, coordinates on the left screen is negative).
  2. Sikuli window on the left screen.
  3. Move mouse ower any thumbnail in the script.
  4. Sequence error in message pane like "[error] Location: outside any screen (32, -3) - subsequent actions might not work as expected". See attached screenshot.

  or

  2. Run script: click(<any_picture_on_left_screen>)
  3. Script return: [error] FindFailed ( can not find 1376853223841.png on the screen. )

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


References