[BUG]"Error opening data file /usr/share/eng.traineddata" error, regardless of TESSDATA_PREFIX #681

Open
opened 2026-01-29 16:50:51 +00:00 by claunia · 0 comments
Owner

Originally created by @rezad1393 on GitHub (Feb 7, 2022).

To get the version of CCExtractor, you can use --version.

CCExtractor version: CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.

In raising this issue, I confirm the following:

  • [ x] I have read and understood the contributors guide.
  • [x ] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • [x ] I have checked that the issue I'm posting isn't already reported.
  • [ x] I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • [x ] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
  • [x ] I have used the latest available version of CCExtractor to verify this issue exists.
  • [x ] I have ticked all the boxes in this section and to prove it I'm deleting the section completely to remove boilerplate text.

Necessary information

  • Is this a regression (i.e. did it work before)? I don't know
  • What platform did you use? linux
  • What were the used arguments? ccextractor -hardsubx VIDEOPATH

Video links

anything really

Additional information

what ever I set as TESSDATA_PREFIX ccextract still says the same error with the same path,
setting TESSDATA_PREFIX affects tesseract so I know it is not that.
but CCExtractor seems to look at a hardocded path.

Originally created by @rezad1393 on GitHub (Feb 7, 2022). To get the version of CCExtractor, you can use `--version`. CCExtractor version: CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke. # In raising this issue, I confirm the following: - [ x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x ] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present. - [x ] I have checked that the issue I'm posting isn't already reported. - [ x] I have checked that the issue I'm porting isn't already solved and no duplicates exist in [closed issues](https://github.com/CCExtractor/ccextractor/issues?q=is%3Aissue+is%3Aclosed) and in [opened issues](https://github.com/CCExtractor/ccextractor/issues) - [x ] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion. - [x ] I have used the latest available version of CCExtractor to verify this issue exists. - [x ] I have ticked all the boxes in this section and to prove it I'm deleting the section completely to remove boilerplate text. # Necessary information - Is this a regression (i.e. did it work before)? I don't know - What platform did you use? linux - What were the used arguments? ccextractor -hardsubx VIDEOPATH # Video links anything really # Additional information what ever I set as TESSDATA_PREFIX ccextract still says the same error with the same path, setting TESSDATA_PREFIX affects tesseract so I know it is not that. but CCExtractor seems to look at a hardocded path.
claunia added the OCR label 2026-01-29 16:50:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#681