[1.1.1] OCR text search not working - looks for image file --- fixed 2016-10-19

Bug #1634703 reported by Perkins on 2016-10-19
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

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$

Tags: ocr Edit Tag help
RaiMan (raimund-hocke) on 2016-10-19
summary: - OCR text search failure in 1.1.1-20160719
+ [1.1.1] OCR text search not working - looks for image file
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
RaiMan (raimund-hocke) wrote :

I think I fixed it.
New nightly in about 2 hours.

Please test.

thanks for finding.

summary: - [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
Perkins (lperkins) wrote :

That does seem to have fixed it.

RaiMan (raimund-hocke) wrote :

Thanks for confirmation.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers