[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated) [error] Terminating SikuliX after a fatal error

Asked by dat nguyen

Hi All,

I cannot open sikuli IDE, after launch sikuli ide the command line will be terminate.
Log sikuli as bellow:
[debug] Running on Java 7 (1.7.0_25-b17)
[debug] --- Sikuli parameters ---
[debug] 1: -f
[debug] 2: -d
[debug] 3: 3
[debug] init user preferences
[debug] locale: en_US
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 20AUG2013135233
[debug] ResourceLoaderBasic: check: we are running on arch: x86
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files (x86)/Java/jre7/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: C:/Users/AAC/Desktop/Sikuli/
[debug] ResourceLoaderBasic: checkLibsDir: C:/Users/AAC/Desktop/Sikuli/libs
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Users\AAC\Desktop\Sikuli\libs
[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
[debug] ResourceLoaderBasic: checkLibsDir: current:(HKEY_CURRENT_USER\Environment PATH): C:\Users\AAC\Desktop\Sikuli\libs;C:\Users\AAC\Desktop\Sikuli With Test Recognition\libs;C:\SikuliSetUP\Sikuli With Test Recognition\libs;C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files\Common Files\Lenovo;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\Services\IPT\;C:\SWTOOLS\ReadyApps;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\HP\QuickTest Professional\bin;C:\Program Files (x86)\Ixia\Tcl\8.4.14.0\bin;C:\Program Files (x86)\Ixia\Test Conductor\aptixia\bin\win\client;C:\Program Files (x86)\Ixia\Test Conductor\aptixia\bin\win;C:\Program Files (x86)\Ixia\Test Conductor\aptixia\bin\win\client\3rdParty\bin;C:\Program Files\TortoiseSVN\bin;C:\Python27;C:\Program Files (x86)\Java\jre7\bin
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug] SikuliXFinal: cleanUp: 0

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Reinaldo Burgos
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Just do what it says ;-)

Logout and Login again! (Since libs folder is in user's path, but not activated)

... to activate the fresh registry entry.

This would not have happened, if you had used runIDE.cmd as recommended.

Revision history for this message
Best Reinaldo Burgos (reinaldo-burgos-y) said :
#2

Hi RaiMan,

I get similar message as above from Eclipse? When I try to launch my Jython/Sikuli project.
I have added in both user/system environment the path to C:\SikuliX\libs.
I have logged out and logged in and I have restarted but I steel get the same message.

This is the message I get in the console:
pydev debugger: starting
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\SikuliX\libs
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[info] runcmd: reg QUERY HKCU
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.

I would greatly appreciate it if you kindly give me some feedback.

//RB

Revision history for this message
dat nguyen (datnguyensg28) said :
#3

Hi guy,

I try delete all information of sikuli in window regedit then i reinstall sikuli. Now , all thing in my handle loop!
Thanks for you help