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
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