Question #200752 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200752

Human gave more information on the question:
To be clear, when I said that this is happening by design, that does not
mean that the behavior is correct.

The algorithm seems to have been designed with the assumption that any
PNG file in the script directory must have come through interactions
with the IDE.  The IDE creates a large number of temporary PNG files
during use (most of them seem to occur when OCR is involved), and it
makes sense to have a mechanism to clean up any image file that the user
didn't incorporate into their script.

The *bug* is that the algorithm assumes that any filename not explicitly
matched in the python file is one of these temp images that should be
cleaned away.

A possible workaround for this would be to designate a subdirectory
where this cleanup mechanism does not run, and where sikuli can still
use the imagery.  What do you think about that?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
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