Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-24 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Open = Answered

RaiMan proposed the following answer:
ok, your Java does not seem to be very compatible to Oracle's reference
version, at least according to system and JVM related features.

I made some adjustments in the startup sequence, so it should now get
through the RunTimeINIT, but produce some error/warnings for now.

additionally it spits out the System.properties in your case, which I am 
interested in, to compare with the Oracle settings.
You might paste this output section here or send it privately via 
https://launchpad.net/~raimund-hocke.

the revised sikulixapi.jar is available in the known place.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-23 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Open = Answered

RaiMan proposed the following answer:
The crash is due to some not compatible content of the Java version string in 
the properties.
I will change that and give you a new sikulixapi.jar in the known place later 
(I will post here again when ready).

To get a debug output of Sikuli from the beginning, you then have to take care, 
that you have 
-Dsikuli.Debug=3 
as Java command line parameter somehow, before anything of your stuff 
containing references to SikuliX classes is touched.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-23 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

RaiMan proposed the following answer:
ok, just uploaded the revised version.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-23 Thread Anantanag
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Answered = Open

Anantanag is still having a problem:
Hi RaiMan,
  Thank you.  But sorry I still have an issue
  I downloaded new api from the following URL
https://dl.dropboxusercontent.com/u/42895525/SikuliX-1.1/sikulixapi.jar

But getting following exception while creating an instance of screen.

[debug] Debug.init: from sikuli.Debug: on: 3
[error] RunTimeINIT: Java version not detected (using 7): 
pwi3270sr7fp1-20140712_01 (SR7 FP1)
[debug] init user preferences
[debug] RunTimeINIT: global init: entering as: API
[debug] RunTimeINIT: ScreenDevice 0 contains (0,0) --- will be used as primary
[debug] RunTimeINIT: runs as sikulixapi.jar in: D:\Sikuli
[debug] RunTimeINIT: new libs folder at: 
D:\Users\ycy\AppData\Roaming\Sikulix\SikulixLibs_201502230944
[debug] RunTimeINIT: exists libs folder at: 
D:\Users\ycy\AppData\Roaming\Sikulix\SikulixLibs_201502230944
[debug] RunTimeINIT: libs folder empty or has wrong content
[debug] RunTimeINIT: now exporting libs
[debug] RunTimeINIT: libs to export are at:
jar:file:/D:/Sikuli/sikulixapi.jar!/sikulixlibs/windows/libs32
[debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to:
 D:\Users\ycy\AppData\Roaming\Sikulix\SikulixLibs_201502230944
[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath:
D:\Users\ycy\AppData\Roaming\Sikulix\SikulixLibs_201502230944
[error] RunTimeINIT: checkJavaUsrPath: get
java.lang.NoSuchFieldException: usr_paths
[error] RunTimeINIT:  *** terminating: Problems setting up on Windows - see 
errors

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-22 Thread Anantanag
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Needs information = Open

Anantanag gave more information on the question:
I  was creating an instance inside the constructor after moving that
outside I am getting the Numberformat exception in initialization


Caused by: java.lang.ExceptionInInitializerError
DEBUG - D:\gitRepo\testing-and-qa\Test Automation 
Project//ExecutionResults//HydraNew//CreateGA//ScreenShots\Failure\23_02_2015 
101625 AM\null.jpg
at java.lang.J9VMInternals.initialize(J9VMInternals.java:259)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:204)
at APIs.HydraNew.tests.Common.open(Common.java:41)
... 71 more
Caused by: java.lang.NumberFormatException: For input string: i
at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:76)
at java.lang.Integer.parseInt(Integer.java:503)
at java.lang.Integer.parseInt(Integer.java:538)
at org.sikuli.script.RunTime.get(RunTime.java:135)
at org.sikuli.script.RunTime.get(RunTime.java:101)
at org.sikuli.script.RunTime.get(RunTime.java:238)
at org.sikuli.script.Region.clinit(Region.java:27)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
... 73 more


My Code:

package APIs.HydraNew.tests;

import org.sikuli.basics.Debug;
import org.sikuli.script.App;
import org.sikuli.script.Screen;

import utils.Log;
import APIs.HydraNew.screens.GroupedAssetPanelScreen;
import APIs.HydraNew.screens.HomeScreen;
import APIs.HydraNew.screens.LoginScreen;
import Helpers.ScriptHelper;
public class Common extends ScriptHelper {
protected static String hydraEnvironment = ;
protected static String hydraVersion = ;
protected static Screen hydraScreen;
protected static LoginScreen hydraLoginScreen;
protected static HomeScreen hydraHomeScreen;
protected static GroupedAssetPanelScreen hydraGroupedAssetPanelScreen;
protected static Log log;


public Common() {
log = new Log();
Debug.on(3);

}

/**
 * Open Hydra Window
 * @throws Exception ({@link #ExceptionHandler(Exception, String, 
String, String)})
 */
public void open() throws Exception {
try {
hydraScreen = new Screen();
} catch (Exception e) {
exceptionHandler(e, open(), Failed to open XXX!, 
Yes);
}

}

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-20 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Open = Needs information

RaiMan requested more information:
ok, I guess, that the problem is caused in the imports and static stuff
in the referenced classes somewhere.

So it would help me, to get the list of import statements you use and
might be any other references towards SikuliX stuff outside this
testMain().

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-19 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Open = Answered

RaiMan proposed the following answer:
ok, sorry for the inconveniences.

-- 1. with the new jar, you can delete the libs folder. It is no longer
created in the folder of the sikulixapi.jar, but in a folder Sikulix in
the folder pointed to by the environment variable %APPDATA%

--2. Screen screen = new Screen();
is this the first statement executed, that references SikuliX stuff?
Before any usage of SikuliX classes put:
Debug.on(3);

and run again.

I cannot recreate the problem with a test consisting only of this:

import org.sikuli.script.*

public class Test {
  public static void main(String[] args) {
Screen s = new Screen();
  } 
}

the version with Debug:

import org.sikuli.basics.Debug;
import org.sikuli.script.*

public class Test {
  public static void main(String[] args) {
Debug.on(3);
Screen s = new Screen();
  } 
}

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-19 Thread Anantanag
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Answered = Open

Anantanag is still having a problem:

Hi, thank you for the detailed explanation, unfortunately it is not working for 
me.

With the debug line added, it is not giving any additional logging.
Deleted libs folder

new Code: 
public void testMain(Object[] args) throws Exception 
{
Debug.on(3);
Screen screen = new Screen();
}

getting following exception
Exception occurred during playback of script [Runner.XXX.Creation] 
[RationalTestScriptError on line 30 of script Runner.XXX.XCreation:  
[java.lang.ExceptionInInitializerError] - null.].


Not sure if this is because I am using IBM JDK 7.1. I have integrated Sikuli 
code with in IBM  RFT framework.
It works find with Sikuli 1.0 but I have a trouble in using ocr in 1.0 so I am 
trying to switch to sikuli 1.1.0. 

It will be really helpful if this issue can be resolved.

Thanks
Anant

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-18 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Open = Answered

RaiMan proposed the following answer:
Just tested:
with the latest available nightly build (2015-01-16) there seem to be some 
problems with the tessdata stuff, exported to the libs folder at runtime.

So you have 2 options:
-- 1. with the current nightly
take care, that at runtime (check it and repair after the crash and repeat the 
run), that you have the following folder setup in the folder containing the 
sikulixapi.jar at runtime (depends on wether you run inside or outside of an 
IDE or even using Maven projects):
sikulixapi.jar
-- libs
   some dlls
   -- tessdata
  some eng… files
  -- configs
  -- tessconfigs

after the crash, the tessdata folder is somewhere deeper in the folders
below libs

-- 2. if 1. does not work
download
https://dl.dropboxusercontent.com/u/42895525/SikuliX-1.1/sikulixapi.jar

this is a ready-for-windows (no setup needed!) from the current head of 
development (will be the next nightly build these days).
I have tested your situation and it works.
Take care, that you surely use this new artifact in all situations, if you try 
it.

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-18 Thread RaiMan
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Description changed to:
Hi,
  I have installed Sikuli 1.1.0 choosing option 2 and 3 on Windows 7 having JRE 
7 64 Bit.

Have following code
systemArea = screen.find(D:/gitRepo/testing-and-qa/Test Automation 
Project/APIs/HydraNew/images/GroupedAsset/SystemArea.JPG).right().text().trim();

Added sikulixapi.jar to the Java build path

Getting following Segmentation Error.

[error] ResourceLoader: checkLibsDir: usr_paths
Unhandled exception
Type=Segmentation error vmState=0x0004
J9Generic_Signal_Number=0004 ExceptionCode=c005 
ExceptionAddress=6567F5F1 ContextFlags=0001007f
Handler1=66F80120 Handler2=66ADEF70 InaccessibleAddress=
EDI=0027F378 ESI=0020 EAX=66FDE7D8 EBX=
ECX=FFFDA000 EDX=23F5061C
EIP=6567F5F1 ESP=0027F278 EBP=0027F370 EFLAGS=00010212
GS=002B FS=0053 ES=002B DS=002B
Module=D:\Sikuli\libs\VisionProxy.dll
Module_base_address=6564 Offset_in_DLL=0003f5f1
Target=2_60_20140627_204598 (Windows 7 6.1 build 7601 Service Pack 1)
CPU=x86 (4 logical CPUs) (0xf88ef000 RAM)

Can you please help me to resolve the issue.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-18 Thread Anantanag
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Status: Answered = Open

Anantanag is still having a problem:
Thank you RaiMan.

I tried the second option. I replaced sikulixapi.jar with the one download from 
the link. But I am getting an initialization exception.
[java.lang.ExceptionInInitializerError] - null.].

while creating an instance of Screen (Screen screen = new Screen();)

Am I doing something wrong here..?

Folder structure in the Sikuli folder:
sikulixapi.jar
Lib 
 sikuli/
 xlrd/
 xutils/
 xlwt/
HTML TestRunner.py
 sikulix.rb
 XMLTestRunner1.py
 XMLTestRunner2.py

libs
tessdata/
configs/
tessconfigs/
eng. files


I did not follow the first option as I do not see any changes in the folder 
structure before crash and after the crash.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-17 Thread Anantanag
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Anantanag posted a new comment:
Can any one please help me. Let me know if you need any additional information.
This is very critical for my project.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-16 Thread Anantanag
Question #262228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262228

Description changed to:
Hi,
  I have installed Sikuli 1.1.0 choosing option 2 and 3 on Windows 7 having JRE 
7 64 Bit.

Have following code
systemArea = screen.find(D:/gitRepo/testing-and-qa/Test Automation 
Project/APIs/HydraNew/images/GroupedAsset/SystemArea.JPG).right().text().trim();

Added sikulixapi.jar to the Java build path

Getting following Segmentation Error.

[error] ResourceLoader: checkLibsDir: usr_paths
Unhandled exception
Type=Segmentation error vmState=0x0004
J9Generic_Signal_Number=0004 ExceptionCode=c005 
ExceptionAddress=6567F5F1 ContextFlags=0001007f
Handler1=66F80120 Handler2=66ADEF70 InaccessibleAddress=
EDI=0027F378 ESI=0020 EAX=66FDE7D8 EBX=
ECX=FFFDA000 EDX=23F5061C
EIP=6567F5F1 ESP=0027F278 EBP=0027F370 EFLAGS=00010212
GS=002B FS=0053 ES=002B DS=002B
Module=D:\Sikuli\libs\VisionProxy.dll
Module_base_address=6564 Offset_in_DLL=0003f5f1
Target=2_60_20140627_204598 (Windows 7 6.1 build 7601 Service Pack 1)
CPU=x86 (4 logical CPUs) (0xf88ef000 RAM)

Can you please help me to resolve the issue.





The installation log:

[debug (17/02/15 4:32:48 PM)] Debug: setLogFile: 
D:\Sikuli\SikuliX-1.1.0-SetupLog.txt
[debug (17/02/15 4:32:48 PM)] RunSetup: ... starting with no args given
[debug (17/02/15 4:32:48 PM)] RunSetup: Setup in: D:\Sikuli
using: D:\Sikuli\sikulixsetup-1.1.0.jar
[debug (17/02/15 4:32:48 PM)] RunSetup: SikuliX Setup Build: 1.1.0 
2015-01-16_01:00nightly
[debug (17/02/15 4:32:48 PM)] RunSetup: RunningSystem: Windows 6.1
[debug (17/02/15 4:32:48 PM)] RunSetup: parent of jar/classes: D:\Sikuli
[debug (17/02/15 4:32:48 PM)] RunSetup: RunningJava: Java 7 (x86) 1.7.0_65-b20
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=LOCALE 
value=en_AU/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=USER_TYPE 
value=0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=IDE_SESSION 
value=/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=CAPTURE_HOTKEY value=50/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=CAPTURE_HOTKEY_MODIFIERS value=3/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=CAPTURE_DELAY 
value=1.0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=STOP_HOTKEY 
value=67/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=STOP_HOTKEY_MODIFIERS value=9/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=EXPAND_TAB 
value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=TAB_WIDTH 
value=4/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=FONT_SIZE 
value=14/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=FONT_NAME 
value=Monospaced/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=AUTO_NAMING 
value=0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=DEFAULT_THUMB_HEIGHT value=50/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_COMMAND_BAR value=1/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=AUTO_CAPTURE_FOR_CMD_BUTTONS value=1/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=AT_SAVE_MAKE_HTML value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=AT_SAVE_CLEAN_BUNDLE value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_RUN_SAVE value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_HIGHLIGHT value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=CHECK_UPDATE 
value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=LAST_SEEN_UPDATE value=0.0.0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=LAST_CHECK_UPDATE value=1424134163498/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=IDE_SIZE 
value=1770x980/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=IDE_LOCATION 
value=75,0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_IMAGES value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_IMAGES_PATH value=/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_MESSAGE value=0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_LOG_ACTIONS value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_LOG_INFO value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=CONSOLE_CSS 
value=body   { font-family:serif; font-size: 12px; }.normal{ color: black; 
}.debug { color:#505000; }.info  { color: blue; }.log   { color: #09806A; 
}.error { color: red; }/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_TEXT_SEARCH value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_TEXT_OCR value=false/
[debug (17/02/15 4:33:00 PM)] FileManager: 

[Sikuli-driver] [Question #262228]: Getting [error] ResourceLoader: checkLibsDir: usr_paths Unhandled exception

2015-02-16 Thread Anantanag
New question #262228 on Sikuli:
https://answers.launchpad.net/sikuli/+question/262228

Hi,
  I have installed Sikuli 1.1.0 choosing option 2 and 3 on Windows 7 having JRE 
7 64 Bit.

Have following code
systemArea = screen.find(D:/gitRepo/testing-and-qa/Test Automation 
Project/APIs/HydraNew/images/GroupedAsset/SystemArea.JPG).right().text().trim();


Getting following Segmentation Error.

[error] ResourceLoader: checkLibsDir: usr_paths
Unhandled exception
Type=Segmentation error vmState=0x0004
J9Generic_Signal_Number=0004 ExceptionCode=c005 
ExceptionAddress=6567F5F1 ContextFlags=0001007f
Handler1=66F80120 Handler2=66ADEF70 InaccessibleAddress=
EDI=0027F378 ESI=0020 EAX=66FDE7D8 EBX=
ECX=FFFDA000 EDX=23F5061C
EIP=6567F5F1 ESP=0027F278 EBP=0027F370 EFLAGS=00010212
GS=002B FS=0053 ES=002B DS=002B
Module=D:\Sikuli\libs\VisionProxy.dll
Module_base_address=6564 Offset_in_DLL=0003f5f1
Target=2_60_20140627_204598 (Windows 7 6.1 build 7601 Service Pack 1)
CPU=x86 (4 logical CPUs) (0xf88ef000 RAM)

Can you please help me to resolve the issue.








The installation log:

[debug (17/02/15 4:32:48 PM)] Debug: setLogFile: 
D:\Sikuli\SikuliX-1.1.0-SetupLog.txt
[debug (17/02/15 4:32:48 PM)] RunSetup: ... starting with no args given
[debug (17/02/15 4:32:48 PM)] RunSetup: Setup in: D:\Sikuli
using: D:\Sikuli\sikulixsetup-1.1.0.jar
[debug (17/02/15 4:32:48 PM)] RunSetup: SikuliX Setup Build: 1.1.0 
2015-01-16_01:00nightly
[debug (17/02/15 4:32:48 PM)] RunSetup: RunningSystem: Windows 6.1
[debug (17/02/15 4:32:48 PM)] RunSetup: parent of jar/classes: D:\Sikuli
[debug (17/02/15 4:32:48 PM)] RunSetup: RunningJava: Java 7 (x86) 1.7.0_65-b20
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=LOCALE 
value=en_AU/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=USER_TYPE 
value=0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=IDE_SESSION 
value=/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=CAPTURE_HOTKEY value=50/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=CAPTURE_HOTKEY_MODIFIERS value=3/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=CAPTURE_DELAY 
value=1.0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=STOP_HOTKEY 
value=67/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=STOP_HOTKEY_MODIFIERS value=9/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=EXPAND_TAB 
value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=TAB_WIDTH 
value=4/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=FONT_SIZE 
value=14/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=FONT_NAME 
value=Monospaced/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=AUTO_NAMING 
value=0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=DEFAULT_THUMB_HEIGHT value=50/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_COMMAND_BAR value=1/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=AUTO_CAPTURE_FOR_CMD_BUTTONS value=1/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=AT_SAVE_MAKE_HTML value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=AT_SAVE_CLEAN_BUNDLE value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_RUN_SAVE value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_HIGHLIGHT value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=CHECK_UPDATE 
value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=LAST_SEEN_UPDATE value=0.0.0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=LAST_CHECK_UPDATE value=1424134163498/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=IDE_SIZE 
value=1770x980/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=IDE_LOCATION 
value=75,0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_IMAGES value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_IMAGES_PATH value=/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_MESSAGE value=0/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_LOG_ACTIONS value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_LOG_INFO value=true/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry key=CONSOLE_CSS 
value=body   { font-family:serif; font-size: 12px; }.normal{ color: black; 
}.debug { color:#505000; }.info  { color: blue; }.log   { color: #09806A; 
}.error { color: red; }/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_TEXT_SEARCH value=false/
[debug (17/02/15 4:33:00 PM)] RunSetup: main: Prefs: entry 
key=PREF_MORE_TEXT_OCR value=false/
[debug (17/02/15 4:33:00 PM)] FileManager: deleteFileOrFolder: 
D:\Sikuli\SikuliPrefs.txt
[debug (17/02/15