← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236725]: Why does onChange() work with a sikuli.Region and not with a org.sikuli.script.Region

 

Question #236725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236725

    Status: Open => Answered

RaiMan proposed the following answer:
--- This is how this should be read:
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Apps\sikuli-api-1.0.1\libs
-- we expect to be on system path (you have SikuliX installed in C:\Apps\sikuli-api-1.0.1)

-- the current system path:
C:\Windows\system32
C:\Windows
C:\Apps\Sikuli-api-1.0.1\libs\
C:\Apps\Sikuli-api-1.0.1\libs\Lib\
C:\Program Files (x86)\Java\jdk1.7.0_40\jre\bin
-- C:\Apps\Sikuli-api-1.0.1\libs\ should be recognized, but is not because of the trailing backslash (a minor bug of course)
-- C:\Apps\Sikuli-api-1.0.1\libs\Lib\ does not make sense on system path

-- now we try to add it to the user path as first entry
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[debug] ResourceLoaderBasic: runcmd: reg QUERY HKCU
[info] runcmd: reg QUERY HKCU
[debug] ResourceLoaderBasic: runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH

-- this is the result (written to the registry
[debug] ResourceLoaderBasic: checkLibsDir: current:(HKEY_CURRENT_USER\Environment PATH): C:\Apps\sikuli-api-1.0.1\libs;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%JYTHON_HOME%;%JYTHON_HOME%\bin;%SIKULI_HOME%;%SIKULI_HOME%\libs

-- to activate this, at least a logout login is necessary
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)

--- You should do the following, to make things going:
- remove from system path (is on user path now)
C:\Apps\Sikuli-api-1.0.1\libs\

- remove the path entry (not needed)
C:\Apps\Sikuli-api-1.0.1\libs\Lib\

- remove from your user path settings:
%SIKULI_HOME%;%SIKULI_HOME%\libs (no longer used by Sikuli)

-- restart your system and try Sikuli again.

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