X-1.0rc2: Windows XP: Sikuli IDE does not start --- try this

Bug #719250 reported by Janusz Golebiewski
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

******************** possible cause and workaround **************
might be a problem with your localization.

Try this (supposing you have installed Sikuli using the .exe installer)
It switches to the US-english localization

-- Make a copy of the Sikuli-IDE.bat in the Sikuli folder

-- on the line containing %JAVA_EXE% append "-Duser.language=en_US" so it looks like this:
%JAVA_EXE% -Xms64M -Xmx512M -Duser.language=en_US -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*

-- Run this modified you-name-it.bat, and you hopefully will see the IDE with the English interface.

-- if it solves your problem, please report a bug with reference to your locale
----------------------------------------------------------------------------------------------------

Version: Sikuli-X-1.0rc2-win32, system Windows XP 32-bit.
After installation the application will not start. In command line I see only
[info] locale: pl_PL
[debug] init user preferences
and application stops

RaiMan (raimund-hocke)
summary: - X-1.0rc2 Windows XP aplication not start
+ X-1.0rc2: Windows XP: Sikuli IDE does not start
Revision history for this message
RaiMan (raimund-hocke) wrote : Re: X-1.0rc2: Windows XP: Sikuli IDE does not start

try the following from a command line:

java -Dsikuli.console=false -jar "c:\Programs\Sikuli X\sikuli-ide.jar"

If there are any crash messages, they will be visible in the cmd-window.

please report.

Revision history for this message
Janusz Golebiewski (toudiczek) wrote :

In cmd-window shows

info] locale: pl_PL
[debug] init user preferences
Exception in thread "main" java.lang.IllegalArgumentException: can't parse argum
ent number 0.number
        at java.text.MessageFormat.makeFormat(Unknown Source)
        at java.text.MessageFormat.applyPattern(Unknown Source)
        at org.sikuli.ide.I18N._I(I18N.java:40)
        at org.sikuli.ide.StatusBar.setCaretPosition(StatusBar.java:34)
        at org.sikuli.ide.StatusBar.<init>(StatusBar.java:26)
        at org.sikuli.ide.SikuliIDE.initStatusbar(SikuliIDE.java:595)
        at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:688)
        at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:130)
        at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:913)

Revision history for this message
Rafał Kasza (rkasza) wrote :

I have the exactly same problem. Is there any workaround to run this version of sikuli?

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

@Rafal

might be a problem with the pl_PL localization.

Try this (supposing you have installed Sikuli using the .exe installer)

-- Make a copy of the Sikuli-IDE.bat in the Sikuli folder

-- on the line containing %JAVA_EXE% and append "-Duser.language=en_US" so it looks like this:
%JAVA_EXE% -Xms64M -Xmx512M -Duser.language=en_US -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*

-- Run this modified you-name-it.bat, and you hopefully will see the English interface.

Revision history for this message
Rafał Kasza (rkasza) wrote :

This is it, thank you sincerely. application starts up properly.

RaiMan (raimund-hocke)
summary: - X-1.0rc2: Windows XP: Sikuli IDE does not start
+ X-1.0rc2: Windows XP: Sikuli IDE does not start --- try this
description: updated
Changed in sikuli:
status: New → Confirmed
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: Confirmed → Fix Committed
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
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.