Sikuli Guide extension graphical problem --- Java 7 not supported --- needs JRE 6

Asked by Tuomas Kaski on 2012-08-09

Hello,

I can't get the Sikuli Guide extension to work properly. I have been following the instructions in the Sikuli Guide documentation (http://sikuli.org/docx/extensions/sikuli-guide/index.html) and I tried this test script below:

from guide import *
text("1344258229392.png", "This is an icon")
circle("1344258744333.png")
flag("1344258988728.png", "This is a flag")
callout("1344259871164.png", "päsadfj lds fjdklsaj fdsa lfjdslf dklfjdsa ff")
show(7)

When I run it, the screen goes totally white and then I see the above graphics elements drawn on screen. I have tried these commands individually as well (with the same results). If I run it again, I get weird gliched graphics of the Sikuli application window on top of the white screen (+ the the drawn graphics). Normal sikuli commands work fine.

Any ideas on how to solve this? I already updated my graphics drivers.

Here is my set up:
Sikuli X-1.0rc3 (r905)
Java7 update 5 (build 1.7.0_05-b05)
Windows7 (64bit)
Dell Presicion M4500 (laptop)

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2012-08-10
Last query:
2012-08-10
Last reply:
2012-08-09
RaiMan (raimund-hocke) said : #1

--- 1. Java 7
... is not supported by Sikuli yet - use a JRE 6 32Bit

--2. guide
where did you get it?
what version of guide is it?

I am asking, because the latest publicly available version was for rc2 and is not compatible with rc3.

look https://answers.launchpad.net/sikuli/+question/171313

Tuomas Kaski (tuomas-kaski) said : #2

1. So this might be the cause? I'll try it out.

2. I got Guide through that link you sent me. I used the dropbox link (http://dl.dropbox.com/u/42895525/SikuliGuide.zip) for rc3.

Best RaiMan (raimund-hocke) said : #3

Ok, then come back after testing with JRE 6.

Tuomas Kaski (tuomas-kaski) said : #4

Hi,

I changed to JRE 6 and it works now!

Thanks alot!

Tuomas Kaski (tuomas-kaski) said : #5

Thanks RaiMan, that solved my question.