Sikuli错误 - 直到现在还没有有效的libs路径

时间:2017-01-17 12:59:37

标签: java 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.

我从SO和官方Sikuli Q& A论坛得到了一些答案。在我的情况下,它们对我都没有用。这些解决方案可用于在我的本地设置中修复上述问题。一旦我将它移动到服务器,我就无法应用重启机器的解决方案(大多数成员在得到上述错误后提出了这个解决方案)。

  1. 在成功更新路径后,我们是否有任何解决方案而无需重新启动服务器?

  2. 避免此错误的其他任何解决方案?

  3. 此问题是否已在最新的Sikuli版本中修复? (我使用1.0.1版本。)

  4. 请参阅同一问题的帖子。

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

    2. "Fatal error" in Sikuli, libs dir is not on system path

    3. 更新

      我从Sikuli官方错误报告工具中的RaiMan得到了答案。附上了bug的链接。这对某些人来说很有用。

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

1 个答案:

答案 0 :(得分:1)

图书处理和更多内容在1.1.1中完全修订 所以你至少应该试一试; - )