Location: outside any screen at startup

Asked by David ENJOLRAS

I have the message "Location: outside any screen (45924672, 45924672)' at a regular basis.

I've modified the code to dump stack in such case and have this :

[error] 10:48:45 Location: outside any screen (38977856, 38977856) - subsequent actions might not work as expected/ 1 screen exist
java.lang.Thread.getStackTrace(Unknown Source)
org.sikuli.script.Location.getScreen(Location.java:140)
org.sikuli.script.Mouse.move(Mouse.java:348)
org.sikuli.script.Mouse.move(Mouse.java:329)
org.sikuli.script.Mouse.init(Mouse.java:58)
org.sikuli.script.Screen.initScreens(Screen.java:105)
org.sikuli.script.Screen.<clinit>(Screen.java:70)

So, it seems to be at startup, before any of my actions.

I'm using a 1.1.x up to date ( checkouted yesterday )

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Possible reason: You either have an irregular screen setup or no real screen at all.

Revision history for this message
David ENJOLRAS (david-enjolras) said :
#2

I'm running sikuli by command line,
On same system, Multiple test run well, and some fails.

The particularity: the script are opening VNC connection ( after the error occured ),
So, I can have 5-10 script running in parallel.

with "-d 4" option, I have more traces :

[debug] JythonSupport: ***** Jython sys.path end
[debug] Jython: sikuli: Sikuli: starting init
[debug] RunTimeIDE: loadLib: VisionProxy.dll
[debug] Mouse: init start
[error] 13:54:13 Location: outside any screen (46907712, 46907712) - subsequent actions might not work as expected
...
[debug] Mouse: init end
[debug] RunTimeIDE: loadLib: WinUtil.dll
[debug] Jython: requested to use as default region: S(0)[0,0 1680x1050]
[debug] Jython: sikuli: Sikuli: ending init
[debug] JythonScriptRunner: running Jython 2.7.0

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.