← Back to team overview

sikuli-driver team mailing list archive

[Bug 1335398] [NEW] [IDE 1.1.0] Sikuli script does not load images for relative image reference like click(../images/myimage.png)

 

Public bug reported:

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")

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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:
  [IDE 1.1.0] Sikuli script does not load images for relative image
  reference like click(../images/myimage.png)

Status in Sikuli:
  New

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


Follow ups

References