you are surely not working with 1.1.0 when this happens, since this
"protection feature" was only implemented in version 1.1.1 lately.

If you have the option selected, that images not used in the script as
"someimg.png", then when  saving a script, images, that are not
referenced in the script this way, are deleted.

before the above fix/feature, there where situations, where images where
deleted, though they should not be deleted, caused by incomplete strings
on a line. this is now detected and the image cleanup is not done (but
the script is saved).

thanks for the scripts.
the zip file contains 2 scripts.
Which one is the one to look into?

Nevertheless I will check, what might lead to the popup.

** Changed in: sikuli
       Status: Invalid => In Progress

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

** Summary changed:

- osx 10.11.6 sikulix 1.1.0 save error
+ [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string problem)

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

Title:
  [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string
  problem)

Status in Sikuli:
  In Progress

Bug description:
  After working with a sikuli IDE 1.1.0 program, I save the file and get
  this error:

  Delete images on save:
  possible uncomplete string in line 1
  No images will be delete!

  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.
  I had a backup file with all of the patterns...but after I copied all of the 
patterns back in my program, I could still not save my new program.
  The backup program lost it's patterns with the same error.  This was quite
  a bit of work to construct the proper icons and target offsets and correct
  size regions.  This is a critical problem to me....I have no way of 
recovering this data.  Even a backup gets corrupted and putting the new info 
back in the program does not correct it.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to