Created attachment 398080 [details] emerge --info Hi, On my stable system with LINGUAS="fr", app-text/tesseract-3.03_rc1 fails to run with : > Error opening data file /usr/share/tesseract-ocr/tessdata/eng.traineddata > Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory. > Failed loading language 'eng' > Tesseract couldn't load any languages! > Failed to initialize tesseract (OCR). Ubuntu bug [1]. This seems to be an upstream bug and seems to be fixed since svn r822 which is git commit 42c92c3e29d35e4978defde395b7e622cf9564de [2]. Downgrading to previous stable 3.02-r1 helped me to workaround the problem. [1] https://bugs.launchpad.net/ubuntu/+source/tesseract/+bug/1189995 [2] https://code.google.com/p/tesseract-ocr/source/detail?r=42c92c3e29d35e4978defde395b7e622cf9564de
Created attachment 398082 [details] 3.03_rc1 build.log
In mu first post you should read : > svn 811 instead of : > svn 822
After reading the build.log and the some part of the code, I'm not sure anymore this is the same issue. Patch does not apply since code is different, and according to the build.log «eng.traineddata» is installed.
I tried different french locales, but I can't reproduce the problem. The training data are installed in /usr/share/tessdata. Do you have some local configuration that makes it search in some other directory?
No, I don't have any local configuration. But after investigating I think it is simply not your problem. See https://github.com/ruediger/VobSub2SRT/issues/45 Sorry for the inconvenience. Closing as invalid.