can't support by win7-32bit

Bug #869842 reported by 唐琥
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

install Sikuli-X-1.0rc3 (r905)-win32 on win7-32bit, but can't capture the object of win7's screen or anything. it seems that sikuli can't support by both win7-32bit and win7-64bit. hope can be fixed, i am looking forward the good news.

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

rc3 runs fine on Win7 32-Bit.

did you have rc2 before on the machine? if yes: look faq 1766

Tried to start it with Sikuli-IDE.bat?

Do you have a recent Java version? ( > 15)

Any more specific symptoms?

Revision history for this message
唐琥 (hu-tang) wrote :

Hi RaiMan,

      Thanks for your reply, but i really tried to use rc3 on win7-32bit, it does't works well.

      The IDE would be quit without any exceptions while i wanna capture the object using screen capture function as well as
      javaw process still exist.

      First I thought that should drag the screen capture function icon to object i wanna capture, but still did not capture
     object to code .

     BTW: my system is chinese win7-32bit and service pack 1

Revision history for this message
唐琥 (hu-tang) wrote :

my Java version is 1.6

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

try out the latest build from
http://sikuli.org/hudson/job/Sikuli-IDE-Windows/lastSuccessfulBuild/artifact/sikuli-ide/build/Sikuli-r931-win32.zip

unzip the download and replace the content of Sikuli X program folder with the content of the zip-contained Sikuli-IDE folder.

Revision history for this message
唐琥 (hu-tang) wrote :

I just tried Sikuli-IDE.bat and Sikuli-IDE-w.bat still dosn't works well with screen capture function on win7-32bit using rc3

Revision history for this message
唐琥 (hu-tang) wrote :

Hi RaiMan,

     I also just tried again, but still did not works well with Sikuli-r931-win32.zip.

     still can't capture screen as long as click capture screen function or other click or type operation, IDE would be quit, whether Sikuli-IDE.exe or Sikuli-IDE.bat..

    It's very annoying that it would be quit as long as click capture screen function or other click or type operation.
   I am very urgent to use this amazing product....alwayslooking forward..

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

Running the newest java version?

on a command line try the following:

type:
java -jar "C:\Program Files\Sikuli X\sikuli-script.jar" -i

which opens an interactive Sikuli session:

type:
print capture()

and report what happens.

Revision history for this message
Yusuke Yamasaki (tm9233yy) wrote :

If you have jre6 and later installed jre7, C:\Windows\System32\javaw.exe is java7.
Sikuli IDE uses it by default. So you need to tell Sikuli-IDE.exe to use proper path to java6.

You need rewrite batch files in Sikuli's install folder.

[Sikuli-IDE-w.bat]
@echo off

PATH=%PATH%;%~d0%~p0libs
set JAVA_EXE="%PROGRAMFILES%\Java\jre6\bin\javaw.exe"
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\javaw.exe"
start /B "Sikuli-IDE" %JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*

[sikuli-script.bat]
@echo off

PATH=%PATH%;%~d0%~p0libs
set JAVA_EXE="%PROGRAMFILES%\Java\jre6\bin\java.exe"
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -jar "%~d0%~p0sikuli-script.jar" %*

Revision history for this message
Wayne McLachlan (waynemcl-l) wrote :

RC3 worked once for me in win7 32bit, then stopped working. I deleted the registry entries, per the FAQ, and it worked again, then stopped the next time I ran it. I've gone to RC2 because I needed a running solution.

Thanks for making this, Sikuli is the only thing I've found which will automate some awful 3rd party apps for a test system for me.

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.