← Back to team overview

sikuli-driver team mailing list archive

[Bug 1247006] [NEW] The sikuli libs path validation should be case insensitive on Windows

 

Public bug reported:

While I was running test on  Windows, I happen to changed the Sikuli
libs path in the system path, and it doesn't work as if Sikuli cannot
found the directory.  After a couple of hours debugging I finally
figured out that Sikuli is using case sensitive comparison here.

As following example, it was because I have "c:\Jenkins\workspace\Test-Runner\lib\libs" in my system path. Note the lower case c in c: and upper case J in Jenkins.  As directory names on Windows should be always case insensitive. I think the current behavior may drive someone nuts if he/she happen to encounter. 
-------
ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\jenkins\workspace\Test-Runner\lib\libs
00:25:22.084 [action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
00:25:22.085 [info] runcmd: reg QUERY HKCU 
00:25:22.138 [info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH 
00:25:22.177 [error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
00:25:22.177 [error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
00:25:22.177 If you do not have any idea about the error cause or solution, run again
00:25:22.177 with a Debug level of 3. You might paste the output to the Q&A board.

** Affects: sikuli
     Importance: Undecided
         Status: New


** Tags: libs path windows

** Summary changed:

- The sikuli libs path validation should be case insensitive
+ The sikuli libs path validation should be case insensitive on Windows

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1247006

Title:
  The sikuli libs path validation should be case insensitive on Windows

Status in Sikuli:
  New

Bug description:
  While I was running test on  Windows, I happen to changed the Sikuli
  libs path in the system path, and it doesn't work as if Sikuli cannot
  found the directory.  After a couple of hours debugging I finally
  figured out that Sikuli is using case sensitive comparison here.

  As following example, it was because I have "c:\Jenkins\workspace\Test-Runner\lib\libs" in my system path. Note the lower case c in c: and upper case J in Jenkins.  As directory names on Windows should be always case insensitive. I think the current behavior may drive someone nuts if he/she happen to encounter. 
  -------
  ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\jenkins\workspace\Test-Runner\lib\libs
  00:25:22.084 [action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
  00:25:22.085 [info] runcmd: reg QUERY HKCU 
  00:25:22.138 [info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH 
  00:25:22.177 [error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
  00:25:22.177 [error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
  00:25:22.177 If you do not have any idea about the error cause or solution, run again
  00:25:22.177 with a Debug level of 3. You might paste the output to the Q&A board.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1247006/+subscriptions


Follow ups

References