sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29279
Re: [Question #257304]: Java and Sikuli crash using text recognize
Question #257304 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/257304
Status: Answered => Open
Breno is still having a problem:
Hi RaiMan,
Tks for replied,
- Delete the libs folder in the SikuliX setup folder and run again.
I tried it but the crash still happen.
best would be to run from command line with options -d 3 -c to get debug
output, that might help if the problem persists.
I did it and I got the followin description on my Terminal:
[debug] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path
/home/breno.auricchio/sikuli_2/sikuli-ide.jar/Lib
[debug] Jython: sikuli: __init__: entering
[debug] Jython: sikuli: Sikuli: entering
[debug] Jython: sikuli: Sikuli: constants
[debug] Jython: sikuli: Sikuli: import Region
[debug] Jython: sikuli: Sikuli: import Screen
[debug] Jython: sikuli: Sikuli: Env.addHotkey
[debug] Jython: sikuli: Sikuli: import Match
[debug] Jython: sikuli: Sikuli: import Pattern
[debug] Jython: sikuli: Sikuli: import Location
[debug] Jython: sikuli: Sikuli: import ScreenUnion
[debug] Jython: sikuli: Sikuli: import Finder
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
[debug] Jython: sikuli: Sikuli: import App
[debug] Jython: sikuli: Sikuli: import Key
[debug] Jython: sikuli: Sikuli: import from Basics
[debug] Jython: sikuli: Sikuli: import from compare
[debug] Jython: sikuli: Sikuli: init SikuliImporter
[debug] Jython: sikuli: Sikuli: import SikuliScript
[debug] Jython: init SCREEN as ()
[debug] Sikuli-IDE environment setup: 3953
[log] TYPE "GET_TXCHANNEL"
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[debug] Robot: doType: Shift ( 16 )
[log] TYPE "#ENTER."
[debug] Robot: doType: Enter ( 10 )
[debug] waiting for OK to appear
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1440,height=900]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1440,height=900]
[debug] ResourceLoaderBasic: loadLib: Is already loaded: VisionProxy
[debug] OCR data path: /usr/local/share/
Error: Illegal min or max specification!
"Fatal error encountered!" == NULL:Error:Assert failed:in file globaloc.cpp, line 75
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fad0cc0833a, pid=3210, tid=140381343438592
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libtesseract.so.3+0x22533a] ERRCODE::error(char const*, TessErrorLogCode, char const*, ...) const+0x16a
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/breno.auricchio/sikuli_2/hs_err_pid3210.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./runIDE: line 20: 3210 Aborted (core dumped) "$JAVABIN" $PROPS -jar "$shome/sikuli-ide.jar" $SIKULI_COMMAN
After that, I went to the tessdata OCR website (
https://code.google.com/p/tesseract-ocr/wiki/ReadMe ) and I got some
.traineddata file and put it on the 'tessdata' directory, probably
/usr/share/tessdata. But the crash still happen as described. Do u
think is that a crash from tesseract ?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.