Parameter and imagepath escape characters
Hello, I am having trouble understanding how paths work with Sikuli and Jython.
My project is set up into "threads" which execute high level test automation, and "apps" which deal with interacting with the actual programs running on the computer.
The folder structure is as follows:
main
|----Applications
|----Threads
|
|
(There are many apps and threads, but this information is not super important.)
In my threads I import apps in order to interact with only the programs that thread needs, and keep my code clean. Of course, at the top of each file I have 'from sikuli import *' as instructed.
My problem lies in the following: When I am working in threadAgile, and try to import appAgile, I get two errors:
[ERROR Commons] parameter(main: C:\Users\
[ERROR Commons] makeURL: mainFile.
It appears that \a in the file path is being replaced with a unicode alert character. Sikuli can not find any of the images I inserted in appAgile because of this, and all finds end up failing. What is even more strange is that despite all the app's names starting with "app" this issue only happens with appAgile.
To make things even worse, I have tried running threadAgile on two different versions of Sikuli, 2.0.5 and 1.1.0. On both versions I get the ERROR Commons printout in the console. But in version 1.1.0 it can find the images, and in version 2.0.5 it can not.
If you have any ideas or guidance on how to fix this pathing issue, I would greatly appreciate it. Thank you.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask patrick bateman for more information if necessary.