← Back to team overview

sikuli-driver team mailing list archive

[Question #680190]: addImagePath working on a Pc and not in another

 

New question #680190 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680190

Hi,
on my development Pc:
1.1.4-SNAPSHOT-2019-01-30_21:31/Windows10.0/Java8(64)1.8.0_201-b09
I have a folder at the same level of the .sikuli folder that contains my script that contains a set of images.
To access them I have put this in the script:
addImagePath(r"..\ECUImg")
And it works perfectly.
In the "production" pc :
1.1.4-SNAPSHOT-2019-01-30_21:31/Windows6.1/Java8(64)1.8.0_201-b09
i run the same script in a different  location, but always with the Image repository folder at the same level of the script, and I have:
[error] ImagePath: add: not valid: ..\ECUImg 

I tested using absolute path instead of absolute and it worked well, so I suppose access right et cetc are ok but I'd like to remain "relocatable"...
TO eliminate some possibilities, in both pc the folder exists, withouth spaces in path and are writable by everybody.

Any idea?
Thanks in advance
P.s. I'm currently not using the last version of Sikulix since I have a problem with newer versions of it.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.