Windows7 64Bit: Sikuli disappears when Take Screenshot is clicked

Bug #893772 reported by Jim Peers
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

Sikuli version X-1.0rc3 (r905)
Operating System Windows 7 Enterprise SP1 (64-bit)

To reproduce:
- Start Sikuli
- Press the Take Screenshot button

Sikuli disappears but remains running. It can't be used at this point and must be shut down using Task Manager.

Revision history for this message
RaiMan (raimund-hocke) wrote :

on 64-Bit Windows:
-- 32-Bit Java has to be used
-- Sikuli-IDE.bat or Sikuli-IDE-w.bat has to be used to start Sikuli IDE (the .exe cannot be used)

summary: - Sikuli disappears when Take Screenshot is clicked
+ Windows7 64Bit: Sikuli disappears when Take Screenshot is clicked
Revision history for this message
Josef Schneider (ubuntu-lp) wrote :

I have the same problem. I am using 32bit Java, Sikuli-IDE.bat and JRE 7u1.
Do I have to install Java 6?
Also, is there a way to make Sikuli output usable debug information?
The console window only contains "[info] locale: de_DE" and that is not very helpful...

Revision history for this message
RaiMan (raimund-hocke) wrote :

@ Josef

--1. Java 7 currently not yet possible --- you need Java 6

--2. Try additional parameter -Dsikuli.console=false on the java execute line in Sikuli-IDE.bat. But this might not give you additional information when having startup problems.

Revision history for this message
Light Templar (lighttemplar) wrote :

Windows 7 sp1 x86, JRE6 and JRE7
I had this problem, until I wrote in .bat file the path to jre6. Thanks, RaiMan. It works without this parameter.

Revision history for this message
na (dirkgb30) wrote :

I cant get this working on windows 7 .... no matter what i try i cannot capture screenshots in sikuli, the program just dissapears and I have to use the task manager to close it.

Revision history for this message
RaiMan (raimund-hocke) wrote :

@ na (dirkgb30)

pls give detailed information about your config (system, environment info, Sikuli installation, ...)
and some information on what you have done so far (How do you start Sikuli?)

Revision history for this message
na (dirkgb30) wrote :

Hi this is fixed now ... i had to uninstall all versions of java and re-install java 6 update 30.

I also had to change the set java in sikuli to this -
set JAVA_EXE="C:\Program Files\Java\jre6\bin\java.exe"
in the bat file here -
C:\Program Files\Sikuli X\Sikuli-IDE.bat

Thanks for the support, very much appreciated !

Revision history for this message
na (dirkgb30) wrote :

by the way i was using windows 7 - 32bit with autoupdate enabled for both windows and java ... i suspect this problem occured due to a recent java update.

Revision history for this message
Tedi Roca (tedi-roca) wrote :

That's what I have in my sikuli-ide.bat to make it work on Windows XP 32bits + JAVA 6.

@echo off
set JAVA_EXE="C:\Program Files\Java\jre6\bin\java.exe"
PATH=%PATH%;%~d0%~p0libs
%JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
RaiMan (raimund-hocke)
tags: added: windows-startup
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → Critical
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.