IDE startup throws: [error] Location: outside any screen

Asked by Boomy Grunt

Hi,

I was able to install the Sikuli IDE successfully on my Windows 7 machine.
After some "playing" with it on Friday, I tried to fire it up again today. Executing the "runIDE.cmd" I get the following output:

+++ running this Java
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
+++ trying to start Sikuli IDE
+++ using: -Xms128M -Xmx1024M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\sikuli\sikuli-ide.jar
[error] Location: outside any screen (1272, -8) - subsequent actions might not work as expected

and a yellow box saying: " Sikuli IDE 1.0.1 ... starting - pls. wait ..." . Now its waiting and waiting and waiting....

What do I do?

Question information

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

On Friday did you run with only one monitor and now with more than one monitor active?

if yes (I guess so): in the registry in the branch
HKEY_CURRENT_USER\Software\JavaSoft\Prefs\

delete the branches starting with org/sikuli/...

... and try again (might be necessary to logout/login or even restart the system.

The cause: Sikuli IDE saves the position of the window at shutdown. With the new monitor setup, this is now invalid.

I accept this a s a bug and will fix it as soon as possible.

Revision history for this message
Boomy Grunt (noneathome) said :
#2

Thanks for the quick workaround - it worked.

I had on both days the same monitor setup. All I did was moving my Windows taskbar, from the left edge of monitor 1 to right edge of monitor 2. So it might be a Windows thing.

Thanks for the help.

Revision history for this message
Boomy Grunt (noneathome) said :
#3

Thanks RaiMan, that solved my question.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

OK, thanks for feedback.

Moving the taskbar this way indeed changes the monitor setup, since this changes the primary monitor in the sense of Sikuli/Java.

Nevertheless this is a bug and I will fix it (which is now easier based on your feedback )

Revision history for this message
Boomy Grunt (noneathome) said :
#5

I'm also able to add, only moving my taskbar back to the original position didn't fix it.

I moved my taskbar (after closing Sikuli-IDE) and later shut down my machine, powering it back up the other day and starting Sikuli-IDE gave me the mentioned error. Just moving the taskbar back didn't solve it ....

Revision history for this message
aiguillon jerome (aiguillon-jerome) said :
#6

Hi all,
Got the same problem on kubuntu, (kubuntu 14.10 on a laptop with dual screen, sikuli 1.0.1)
thanks to RaiMan information I can find the workaround for linux user:
look for this file ~/.java/.userPrefs/org/sikuli/basics/prefs.xml
or grep for this string '<entry key="IDE_LOCATION" value="-2,-3"/>' to find the correct path
I tryed different modification in file without success so I just deleted the directory and everything worked again.