Maven -Sikuli Dependency Problem

Asked by Selenium RDS

<Info> Starting test case LEARN_SikuliImage,
[error] ResourceLoaderBasic: check: No valid libs path available until now!
[action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: C:/Documents and Settings/Administrator/.m2/repository/org/sikuli/sikuli-java/1.0.1/
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Documents and Settings\Administrator\.m2\repository\org\sikuli\sikuli-java\1.0.1\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
[info] runcmd: reg ADD HKEY_CURRENT_USER\Environment /v PATH /t REG_EXPAND_SZ /f /d "C:\Documents and Settings\Administrator\.m2\repository\org\sikuli\sikuli-java\1.0.1\libs;C:\Documents and Settings\Administrator\My Documents\Rahul Pratap\SikuliStuff\libs;C:\Documents and Settings\Administrator\My Documents\Downloads\SikuliStuff\libs"
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Successfully added the libs folder to users PATH!
RESTART all processes/IDE's using Sikuli for new PATH to be used!/nFor usages from command line logout/login might be necessary!
[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.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Selenium RDS (seleniumrds) said :
#1

Hi Friends while running my program I am getting this error.Please help me solve this issue..

Revision history for this message
RaiMan (raimund-hocke) said :
#2

Sorry for the not so informative error message, will be improved with the next setup:

At the first run the libs folder is created and filled, if it does not exist:
[error] ResourceLoaderBasic: check: No valid libs path available until now!
[action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: C:/Documents and Settings/Administrator/.m2/repository/org/sikuli/sikuli-java/1.0.1/
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Documents and Settings\Administrator\.m2\repository\org\sikuli\sikuli-java\1.0.1\libs

Then we detect, that the libs folder is not yet on system path. We create an adequate registry entry and ask you to logout/login, to make this new setting available to the system.

[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
[info] runcmd: reg ADD HKEY_CURRENT_USER\Environment /v PATH /t REG_EXPAND_SZ /f /d "C:\Documents and Settings\Administrator\.m2\repository\org\sikuli\sikuli-java\1.0.1\libs;C:\Documents and Settings\Administrator\My Documents\Rahul Pratap\SikuliStuff\libs;C:\Documents and Settings\Administrator\My Documents\Downloads\SikuliStuff\libs"
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Successfully added the libs folder to users PATH!
RESTART all processes/IDE's using Sikuli for new PATH to be used!/nFor usages from command line logout/login might be necessary!
...

this is a little bit cryptic ;-)
...
[error] ResourceLoaderBasic: checkLibsDir: Successfully added the libs folder to users PATH!
... of course: something successful cannot be an error, LOL ;-)

RESTART all processes/IDE's using Sikuli for new PATH to be used!
For usages from command line logout/login might be necessary!

To be sure, it works, I will ask people in the future, to reboot in this case.

Revision history for this message
Sai Nikhil (saint1729) said :
#4

Yes, restarting cmd and running sikuli-ide.jar helped me. I also got this error previously. ;)

Revision history for this message
Selenium RDS (seleniumrds) said :
#5

Thank u all guys ,now it is working fine..... Thank u again for your useful answers.

Revision history for this message
Anil Kumar Reddy (anil05) said :
#6

Do we have any other way to resolve this issue rather than doing the restart operation. In my case, I cannot perform the restart operation on my server. I'm using the Sikuli code in a server(For every run new server use to generate). Please help to handle this situation.

Revision history for this message
RaiMan (raimund-hocke) said :
#7

@Anil
Please make up your own question (this topic is more than 3 years old!)
Be sure, to use the latest SikuliX version.

Revision history for this message
Anil Kumar Reddy (anil05) said :
#8

Created a question in Stack Over flow. Please have a look on it. http://stackoverflow.com/questions/41697889/sikuli-error-no-valid-libs-path-available-until-now

Can you help with this problem?

Provide an answer of your own, or ask Selenium RDS for more information if necessary.

To post a message you must log in.