← Back to team overview

sikuli-driver team mailing list archive

[Bug 979524] Re: Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --- language files missing ???

 

** Changed in: sikuli
       Status: New => Fix Released

** Description changed:

+ ********** fixed in the Debian world
+ 
+ ----------------------------------------------
+ 
  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 
+ $ sikuli-ide
  [info] locale: en_US
  Error opening data file /tmp/sikuli/tessdata/eng.traineddata
  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.1.1~pre1-1ubuntu1
  # Problematic frame:
  # C  [libtesseract.so.3+0x226b6d]  tesseract::Classify::CharNormClassifier(TBLOB*, DENORM const&, INT_TEMPLATES_STRUCT*, ADAPT_RESULTS*)+0x61
  #
  # Core dump written. Default location: /home/code/core or core.23685
  #
  # An error report file with more information is saved as:
  # /home/code/hs_err_pid23685.log
  #
  # If you would like to submit a bug report, please include
  # instructions on how to reproduce the bug and visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
  # 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-script-java                  1.0~x~rc3.tesseract3-dfsg1-1               Visual scripting API for jython
  ii  libsikuli-script-jni                   1.0~x~rc3.tesseract3-dfsg1-1               Native libs for libsikuli-java
  ii  sikuli-ide                             1.0~x~rc3.tesseract3-dfsg1-1               IDE to develop sikuli scripts

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/979524

Title:
  Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --- language files
  missing ???

Status in Sikuli:
  Fix Released

Bug description:
  ********** fixed in the Debian world

  ----------------------------------------------

  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/tessdata/eng.traineddata
  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.1.1~pre1-1ubuntu1
  # Problematic frame:
  # C  [libtesseract.so.3+0x226b6d]  tesseract::Classify::CharNormClassifier(TBLOB*, DENORM const&, INT_TEMPLATES_STRUCT*, ADAPT_RESULTS*)+0x61
  #
  # Core dump written. Default location: /home/code/core or core.23685
  #
  # An error report file with more information is saved as:
  # /home/code/hs_err_pid23685.log
  #
  # If you would like to submit a bug report, please include
  # instructions on how to reproduce the bug and visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
  # 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-script-java                  1.0~x~rc3.tesseract3-dfsg1-1               Visual scripting API for jython
  ii  libsikuli-script-jni                   1.0~x~rc3.tesseract3-dfsg1-1               Native libs for libsikuli-java
  ii  sikuli-ide                             1.0~x~rc3.tesseract3-dfsg1-1               IDE to develop sikuli scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/979524/+subscriptions


References