Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --- language files missing ???
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
********** fixed in the Debian world
*********** Ubuntu 12.04 *******
--- from comment #9 (thanks Robert Campbell)
Very happy that sikuli is working now on my Ubuntu 12.04.
In summary, after doing the:
sudo apt-get install sikuli-ide
to get sikuli installed,
you must also do (again, Florian points this out earlier):
sudo apt-get install tesseract-ocr-eng
sudo apt-get install libswing-
and wrap up with what I stated at the beginning of this:
if there is a /tmp/sikuli directory, do: sudo rm -r /tmp/sikuli
and wrap up with:
sudo mkdir -p /tmp/sikuli
sudu ln -s /usr/share/
That's how I got sikuli to run as expected on Ubuntu 12.04.
-------
I have default precise pangolin ubuntu install with sikuli on top of it. When I run sikuli-ide and try to create an script via gui, as sson as I am done with taking a screenshot and selecting the area to "Click" on sikluli-ide crashes. Please see log below.
$ sikuli-ide
[info] locale: en_US
Error opening data file /tmp/sikuli/
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
vlog 1 Input
vlog 1 Canny
vlog 1 AdaptiveThresholded
vlog 1 LongLinesFound
vlog 1 LongLinesRemoved
vlog 1 NonEdgeRemoved
vlog 1 blobs-extracted
vlog 1 blobs-filtered
vlog 1 lineblobs
vlog 1 lineblobs-filtered
vlog 1 lineblobs-merged
vlog 1 paragblobs
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x022bfb6d, pid=23685, tid=3030788928
#
# JRE version: 7.0_03-b147
# Java VM: OpenJDK Client VM (22.0-b10 mixed mode, sharing linux-x86 )
# Derivative: IcedTea7 2.1.1pre
# Distribution: Ubuntu precise (development branch), package 7~u3-2.
# Problematic frame:
# C [libtesseract.
#
# Core dump written. Default location: /home/code/core or core.23685
#
# An error report file with more information is saved as:
# /home/code/
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https:/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
Installed packages are
$ dpkg --list | grep sikuli
ii libsikuli-
ii libsikuli-
ii sikuli-ide 1.0~x~rc3.
summary: |
- Ubuntu: sikuli-ide crashes on precise pangolin + Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --- language files + missing ??? |
Changed in sikuli: | |
status: | New → Fix Released |
description: | updated |
description: | updated |
Changed in sikuli: | |
milestone: | none → x1.0 |
assignee: | nobody → RaiMan (raimund-hocke) |
status: | Fix Released → In Progress |
tags: | added: fkt-text ubuntu |
Changed in sikuli: | |
importance: | Undecided → Medium |
tags: | added: build |
Changed in sikuli: | |
importance: | Medium → High |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
importance: | High → Critical |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
--- Tesseract couldn't load any languages!
Seems, that Tesseract is not installed correctly on your system