[1.0.1] The sikuli libs path validation should be case insensitive on Windows

Bug #1247006 reported by Andy Chen on 2013-11-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

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.

Andy Chen (ppstay) on 2013-11-01
summary: - The sikuli libs path validation should be case insensitive
+ The sikuli libs path validation should be case insensitive on Windows
RaiMan (raimund-hocke) wrote :

Thanks for pointing out. Fixed in 1.1-Beta1

Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
summary: - The sikuli libs path validation should be case insensitive on Windows
+ [1.0.1] The sikuli libs path validation should be case insensitive on
+ Windows
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers