Skip to content

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

Description

@sergeydyshlevyi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions