sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40460
[Bug 1634703] Re: [1.1.1] OCR text search not working - looks for image file --- fixed 2016-10-19
I think I fixed it.
New nightly in about 2 hours.
Please test.
thanks for finding.
** Summary changed:
- [1.1.1] OCR text search not working - looks for image file
+ [1.1.1] OCR text search not working - looks for image file --- fixed 2016-10-19
** Changed in: sikuli
Importance: High => Critical
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1634703
Title:
[1.1.1] OCR text search not working - looks for image file --- fixed
2016-10-19
Status in Sikuli:
Fix Committed
Bug description:
With 1.1.1, transparent text search now fails with an error about not
being able to find the file in question.
If there is now a different way to call for text searches, I am unable
to find it in the docs (Not that I have a 100% success rate at that.)
Demonstration interactive session output:
running SikuliX: -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
-jar ./sikulix.jar -i
[info] runcmd: lsb_release -i -r -s
Hello, this is your interactive Sikuli (rules for interactive Python apply)
use the UP/DOWN arrow keys to walk through the input history
help()<enter> will output some basic Python information
... use ctrl-d to end the session
>>> Settings.OcrTextSearch
False
>>> Settings.OcrTextSearch=True
>>> exists("autotest")
[error] Image: could not be loaded: file:/mnt/oldsystem/home/lperkins/build/sikuli-1.1.1-20160719.184310/autotest.png
[error] RunTimeIDE: Exists: Abort: Jython: at <stdin> (1)
[error] RunTimeIDE: ImageMissing: autotest
lperkins@lperkins-workstation:~/build/sikuli-1.1.1-20160719.184310$
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1634703/+subscriptions
References