Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application crashes on api.init(datapath, lang) #7

Closed
GoogleCodeExporter opened this issue Jun 11, 2015 · 3 comments
Closed

Application crashes on api.init(datapath, lang) #7

GoogleCodeExporter opened this issue Jun 11, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Successful build of library ( followed the readme ) and the so files 
generated
2. copy tessdata folder that contains languages to /mnt/sdcrad/ on my galaxy s
3. call theses functions 
TessBaseAPI api = new TessBaseAPI();
api.init("/mnt/sdcard/tessdata", "eng");

What is the expected output? What do you see instead?
I expected the program to continue execting.
I get these messages in ddms : 
06-07 01:19:25.335: INFO/Tesseract(native)(32592): Attempting Init() with 
dir=/mnt/sdcard/tessdata, lang=eng
06-07 01:19:25.358: INFO/DEBUG(31742): tid 32591 does not exist in pid 32584. 
ignoring debug request
06-07 01:19:25.370: INFO/ActivityManager(311): Process yostane.android.ocr (pid 
32592) has died.

and the application is killed.

What version of the product are you using? On what operating system?
tessreact-for-andriod-1.00
used ubuntu64 11.04 to build so files
source versions as in readme file
java application compiled using eclipse on vista 64

Please provide any additional information below.
I didn't specify any permission for the application

Original issue reported on code.google.com by yassine....@gmail.com on 6 Jun 2011 at 11:28

@GoogleCodeExporter
Copy link
Author

you may miss trainneddata file. please fix path of the file location in class 
com.googlecode.tesseract.android.test.TessBaseAPITest.TESSBASE_PATH. you could 
check the detail error on junit logger

Original comment by hirasirojudin@gmail.com on 22 Jul 2011 at 8:10

@GoogleCodeExporter
Copy link
Author

Not enough information. Please include logcat output for log level "verbose" 
and above.

Original comment by alanv@google.com on 11 Sep 2012 at 8:33

@GoogleCodeExporter
Copy link
Author

Original comment by alanv@google.com on 14 Sep 2012 at 6:39

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant