sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39556
[Bug 1607861] Re: [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string problem) --- when comment contains '
Python doesn't recognize strings in comments.
Seems a user should be able to put most anything
in comment.
I would have never figured this one out, although
I did make some changes in my script before I ran into this
problem trying to save them.
I did uncheck the "delete not used images" box in
the Preferences => more options in 1.1.0 to finally
make the box go away and keep my patterns from being
erased. I never saw any indication as to what caused this problem.
I still have the ' characters in my 1.1.0 script after turning off the "delete not used
images". I would recommend looking for the end of the comment
only. Python allows ''' for a block comment, but this doesn't
work either. I see what I need to do in order to work around this. Thanks.
--
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) --- when comment contains '
Status in Sikuli:
Fix Committed
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
References