Thanks Tom,

TESSDATA_PREFIX is set to point to tessdata parent:

[user@server ~]$ echo $TESSDATA_PREFIX
/usr/local/share/
[user@server ~]$ 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 haven't been able to find what the problem is and nothing comes when 
googling the error on line 173.
That's why I decided to post here and hope someone can help.

Thanks again,

Miguel


On Monday, 14 March 2016 12:53:41 UTC-4, Tom Morris wrote:
>
> 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/978f9c2b-b687-4861-a134-5798d3111572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to