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

Error opening data file /usr/share/tesseract//tessdata/fr.traineddata #74

Open
sergeydyshlevyi opened this issue Nov 9, 2023 · 0 comments

Comments

@sergeydyshlevyi
Copy link

This is for the customer (MACIF).

The error is:
[2023/11/07-15:53:51.869] [null-err-76] [INFO] [dku.utils] - Exception: OCR - Error calling pytesseract: (1, 'Error opening data file /usr/share/tesseract//tessdata/fr.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language \'fr\' Tesseract couldn\'t load any languages! Could not initialize tesseract.')

They are on tesseract v4 and claimed to fix this by:
plugin try to use fr.traineddata but the langpack called fra.traineddata so i just rename langpack to fr.traineddata like the plugin need it

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

No branches or pull requests

1 participant