← Back to team overview

sikuli-driver team mailing list archive

[Bug 957127] Re: Sikuli IDE Deletes valid image files if the .py is modified by external IDE

 

This is not really a bug, but a wanted behavior, to keep the script
folders lean. And it is not a problem for users of the IDE.

If you develop in Eclipse PyDev and want to use the IDE to manage your
images, you should isolate them in one Sikuli script and use:

# myImages.sikuli
image1 = "some image.png"
image2 = "some other image.png"
"some more image.png"

and have a naming convention at least for the variable names.

In your main script just say:
from myImages import *

click(image1)
if exists(image2):
    click("some more image.png")

myImages.sikuli has to be stored in a sys.path directory.

With this concept, you can use the IDE to manage your images and Eclipse
PyDev in parallel and never loose any images, if you do not want that.


** Changed in: sikuli
       Status: New => Opinion

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

Title:
  Sikuli IDE Deletes valid image files if the .py is modified by
  external IDE

Status in Sikuli:
  Opinion

Bug description:
  I've been using the Sikuli IDE to capture images and set targets &
  eclipse to code the scripts. The problem is if i make a drastic change
  to my code in eclipse, save the .py and reopen the file in the Sikuli
  IDE, intermittently Sikuli will display none of the images and then i
  find it has deleted them from the project directory. it seems like the
  image clean-up code is malfunctioning causing Sikuli to delete unknown
  images, this feature is annoying at present as in some instances it's
  deleted images i simply just wanted to cut and paste.

  Issue on 1.0 RC3 (r905), Windows XP

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


References