← 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

 

** Changed in: sikuli
   Importance: High => Critical

** Description changed:

+ should work now with 1.1.0 (2014-09-17+)
+ 
+ -----------------------------------------
+ 
  I have a folder structure as below
  
  |-images
-    |-image1.png
-    |-image2.png
+    |-image1.png
+    |-image2.png
  
  |-templates
-    |-template1.sikuli (only has .py and .html)
-    |-template2.sikuli (only has .py and .html)
+    |-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")

-- 
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:
  should work now with 1.1.0 (2014-09-17+)

  -----------------------------------------

  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