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

Bug #1634703 reported by Perkins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
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
RaiMan (raimund-hocke)
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
Revision history for this message
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
Revision history for this message
Perkins (lperkins) wrote :

That does seem to have fixed it.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Thanks for confirmation.

Revision history for this message
Thomas Horn (drgirasol) wrote :

Related to https://github.com/RaiMan/SikuliX1/issues/553
2.0.6-SNAPSHOT-202208171145/Windows 11 (amd64)/Java 18

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.