← Back to team overview

sikuli-driver team mailing list archive

[Bug 1335398] Re: [1.1.0-Beta3] IDE: using click(../images/myimage.png) leads to not found images on reload of script

 

** Summary changed:

- [1.1.0-BetaX] IDE: using click(../images/myimage.png) leads to not found images on reload of script
+ [1.1.0-Beta3] IDE: using click(../images/myimage.png) leads to not found images on reload of script

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1335398

Title:
  [1.1.0-Beta3] IDE: using click(../images/myimage.png) leads to not
  found images on reload of script

Status in Sikuli:
  Fix Committed

Bug description:
  I have a folder structure as below

  |-images
     |-image1.png
     |-image2.png

  |-templates
     |-template1.sikuli (only has .py and .html)
     |-template2.sikuli (only has .py and .html)

  Issue #1 : If i refer the image1.png from my template1.sikuli script
  as click("../images/image1.png") then  it works first time but after
  saving the scripts does not work, i get error saying image not found
  in template1.sikuli directory

  Issue #2 : If i make any modification to my template1.sikuli , then
  the image relative reference gets overwritten as click("image1.png")

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1335398/+subscriptions


References