简体   繁体   English

Sikuli错误-到目前为止没有可用的有效libs路径

[英]Sikuli error - No valid libs path available until now

I got the below error message after running the test case with Sikuli. 使用Sikuli运行测试用例后,出现以下错误消息。

[error] ResourceLoaderBasic: check: No valid libs path available until now!
[action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: C:/Build/vcac-qe-tar/lib/
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Build\vcac-qe-tar\lib\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:\Build\vcac-qe-tar\lib\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.

I got the few answers from SO and Official Sikuli Q&A forum. 我从SO和Sikuli官方问答网站获得了一些答案。 None of them are useful to me in my situation. 在我的情况下,它们都不对我有用。 Those solutions are useful to fix the above issue in my local setup. 这些解决方案对于解决我的本地设置中的上述问题很有用。 Once I moved it to the server, I can't apply the solution of restarting the machine (most of the members proposed this solution after getting the above error). 将其移至服务器后,无法应用重新启动计算机的解决方案(大多数成员在收到上述错误后提出了此解决方案)。

  1. Do we have any solution without restarting the server after updating the path successfully? 成功更新路径后,是否有任何解决方案而不重启服务器?

  2. Any other solution to avoid this error? 还有其他解决方案可以避免此错误?

  3. Is this issue is fixed in latest Sikuli version? 最新的Sikuli版本是否已解决此问题? (I'm using 1.0.1 version.) (我使用的是1.0.1版本。)

See the posts on this same issue. 请参阅有关同一问题的帖子。

  1. https://answers.launchpad.net/sikuli/+question/237544 https://answers.launchpad.net/sikuli/+question/237544

  2. "Fatal error" in Sikuli, libs dir is not on system path Sikuli中的“致命错误”,libs目录不在系统路径上

Update : 更新

I got the answers from RaiMan in Sikuli offical bug report tool. 我从RaiMan的Sikuli官方错误报告工具中获得了答案。 Attached the link to the bug. 将链接附加到该错误。 It will be useful to some one. 这将对某些人有用。

https://answers.launchpad.net/sikuli/+question/444232 https://answers.launchpad.net/sikuli/+question/444232

1.1.1中对库的处理及其他功能进行了完全修订,因此至少应尝试一下;-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM