[1.1.0-Beta3] IDE: using click(../images/myimage.png) leads to not found images on reload of script
Bug #1335398 reported by
Rajesh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
should work now with 1.1.0 (2014-09-17+)
-------
I have a folder structure as below
|-images
|-image1.png
|-image2.png
|-templates
|-template1.
|-template2.
Issue #1 : If i refer the image1.png from my template1.sikuli script as click("
Issue #2 : If i make any modification to my template1.sikuli , then the image relative reference gets overwritten as click("image1.png")
summary: |
- [1.1.0-BetaX] IDE: using click(../images/myimage.png) leads to not found + [1.1.0-Beta3] IDE: using click(../images/myimage.png) leads to not found images on reload of script |
Changed in sikuli: | |
importance: | High → Critical |
description: | updated |
To post a comment you must log in.
.. in filenames are officially not supported generally.
That it works in your case is interesting though. I will check that.
please report complete Sikuli version info (see File -> About) and what system.
to work around this problem, you might either use the ImagePath features or use a variable having:
iDir = "../images/"
and use
click(iDir + "image1.png")
to avoid these internal changes of your script code.