"Location: outside any screen" when running headless

Asked by Ryan on 2017-06-29


I'm trying to run Sikuli on a Windows 7 VDI to automate a simple report that I do in the morning. I use a powershell script which automatically creates a session at 1280 x 1024 for Sikuli to run if no one is logged in. This is the same resolution as is normally used as well. The error from the log is "Location: outside any screen (38717760, 38717760) - subsequent actions might not work as expected".

I am only working with one screen @ 1280 x 1024, and have not moved the taskbar or changed any display properties.

Sikuli then looks for the images I've specified and returns:

[debug] Image: reused: BONavigator.png (file:/C:/Sikuli/Scripts/BusinessObjects.sikuli/BONavigator.PNG)
[debug] Observer: update result: Patterns: true
[debug] Observer: update result: Changes: false

Those messages repeat until the observer times out as specified.

Any help would be greatly appreciated, this is the last snag before I can fully automate this. Please let me know if there's any more info I should provide. Thank you in advance!! :)

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
Ryan (meatsauce) said : #2

I already use Sikuli headlessly with similar configurations in multiple other VMs. Those questions do not apply to mine, as I'm not using Jenkins and my powershell script does indeed run Sikuli headlessly.

masuo (masuo-ohara) said : #3

When we logged in other VM, we can use SikuliX headlessly.
We have to get screen to use SikuliX.

You explained that no one logged in system at this situation.
So SikuliX could not get screen, I think.

Can you help with this problem?

Provide an answer of your own, or ask Ryan for more information if necessary.

To post a message you must log in.