On Monday, March 14, 2016 at 3:25:16 AM UTC-4, MiguelArmas wrote: > > > I'm getting the following error when running tesseract --list-langs > > fseek(data_file_, static_cast<size_t>(offset_table_[tessdata_type]), > SEEK_SET) == 0:Error:Assert failed:in file ../ccutil/tessdatamanager.h, > line 173 > Segmentation fault > > I have compiled tesseract 3.04.01 and leptonica 1.73 on Amazon EC2 linux. > eng.trainneddata downloaded from https://github.com/tesseract-ocr/tessdata > is placed inside tessdata/ > > Any idea what's wrong? >
I'd double check where your TESSDATA_PREFIX points to. It should be the *parent* of the tessdata directory. I get a similar symptom if I run tesseract --list-langs with the variable set wrong (which is a bug, but one that's on a pretty rare path). Tom -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fc7786f8-8347-447e-901c-995527bdc8b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

