[2.0.1] IDE: script load: absolute image filenames produce "not found" errors
2.0.1-2019-
When I open a script in the IDE I get many Errors regarding ImagePath
e.g.
[error] ImagePath: find: File does not exist: /home/jeff/
[error] ImagePath: find: File does not exist: /home/jeff/
There is maybe 40 of these errors listed all to do with where the Images are stored on different machines
Why do I get these
The Code that is causing this is :-
if g_Running_Version == "Mac":
v_Image = "/Users/
g_This_Ruler = Pattern(
else:
g_This_Ruler = "/home/
The IDE does not know that g_Running_Version = "Mac" on this machine and will not process this line
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 Jeff_Vallis for more information if necessary.