Sikuli folder in root directory? --- not possible with rc3(930)
This may be a bug, but perhaps I am missing something.
I am unable to get sikuli to run if the .sikuli folder is stored on the root of a drive.
For example:
C:\>java -jar "c:\Program Files (x86)\Sikuli X\sikuli-
mate.sikuli
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[error] Can't run this Sikuli script: c:\XBMCFlix-
File "<string>", line 1
addModPath(
SyntaxError: mismatched character '\n' expecting '"'
But, if I point it to the same .sikuli folder stored one level down in the directory structure, it works fine:
C:\>java -jar "c:\Program Files (x86)\Sikuli X\sikuli-
Flix-o-mate.sikuli
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[info] add hotkey: CTRL+ALT+SHIFT O
[info] add hotkey: CTRL+ALT+SHIFT F
[info] add hotkey: CTRL+ALT+SHIFT N
[info] add hotkey: CTRL+ALT+SHIFT B
[info] add hotkey: CTRL+ALT+SHIFT T
[info] add hotkey: CTRL+ALT+SHIFT Q
[info] add hotkey: CTRL+ALT+SHIFT X
I realize it isn't recommended to put things on the root of your drive...but this was done by a user of my app. I first realized that my AutoIt wrapper script was appending a "\" when ascertaining the running directory of the root drive "C:\" as opposed to it returning no trailing slash for a subdir "C:\Subir". Once I accounted for that, I was able to launch into Sikuli fine....but it looks like Sikuli may have a similar interpretation problem when running off the root.
Please advise.
thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: