← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #257304]: Java and Sikuli crash using text recognize

 

Question #257304 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/257304

Breno posted a new comment:
Hi Raiman,
I tried to run it on new version of SikuliX (1.1.0 ) and I compiled the libVision sucessfully. But I still get the follow error message when I tried to work with some text recognize on Sikuli:

[log]  TYPE "GET_RFSTATE"
[debug] Region:  TYPE "GET_RFSTATE"
[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] Region:  TYPE "#ENTER."
[debug] Robot: doType: Enter ( 10 )
[debug] ScreenUnion: capture: (0,0) 1440x900
[debug] ScreenUnion: getIdFromPoint: (424, 602) as (424, 602) in (0, 0, 1440, 900) on 0
[error] script [ OCR ] stopped with error in line 7
[error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: org/sikuli/natives/VisionProxyJNI )
[error] --- Traceback --- error source first
line: module ( function ) statement 
62: Region (  text ) 	at org.sikuli.natives.Vision.initOCR(Vision.java:51)
[error] --- Traceback --- end --------------
[debug] Sikulix: cleanUp: 0
[debug] MenuAction.doSave
[debug] EditorPane: writeSrcFile: OCR.py
[debug] JythonScriptRunner: Convert Sikuli source code /home/breno.auricchio/testes_atuais/OCR.sikuli/ to HTML
[debug] EditorPane: cleanBundle
[debug] EditorPane: parseforImages: in 
/home/breno.auricchio/testes_atuais/OCR.sikuli
[debug] EditorPane: writeSrcFile: OCR.py
[debug] JythonScriptRunner: Convert Sikuli source code /home/breno.auricchio/testes_atuais/OCR.sikuli/ to HTML
[debug] EditorPane: cleanBundle
[debug] EditorPane: parseforImages: in 
/home/breno.auricchio/testes_atuais/OCR.sikuli
[debug] Running Jython: 2.7b2 (default:a5bc0032cf79+, Apr 22 2014, 21:20:17) 
[debug] Jython: requested to use as default region: R[0,0 1440x900]@S(0)
[debug] JythonScriptRunner: runPython: running script from IDE: 
/home/breno.auricchio/testes_atuais/OCR.sikuli
[log]  TYPE "GET_RFSTATE"
[debug] Region:  TYPE "GET_RFSTATE"
[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] Region:  TYPE "#ENTER."
[debug] Robot: doType: Enter ( 10 )
[error] Image: could not be loaded: file:/home/breno.auricchio/testes_atuais/OCR.sikuli/OK.png
[error] script [ OCR ] stopped with error in line 10
[error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: org/sikuli/natives/VisionProxyJNI )
[debug] Sikulix: cleanUp: 0
[debug] IDE: doQuit requested
[debug] Sikulix: cleanUp: 0
[debug] IDE: final cleanup
[debug] FileManager: deleteFileOrFolder: /tmp/Sikulix

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.