Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: env TESSERACT_LANGS overrides env LANGS #2464

Closed
1 task done
janguenther-conventus opened this issue Dec 16, 2024 · 1 comment · Fixed by #2468
Closed
1 task done

[Bug]: env TESSERACT_LANGS overrides env LANGS #2464

janguenther-conventus opened this issue Dec 16, 2024 · 1 comment · Fixed by #2468

Comments

@janguenther-conventus
Copy link

Installation Method

Docker fat

The Problem

During the processing of the environment variable “TESSERACT_LANGS” in “/scripts/init.sh”, the variable “LANGS” is overwritten. The environment variable “LANGS” is also used to install fonts in “/scripts/installFonts.sh”. It is not possible to install a font using the environment variable “LANGS” while the environment variable “TESSERACT_LANGS” is set.

Version of Stirling-PDF

0.36.2

Last Working Version of Stirling-PDF

No response

Page Where the Problem Occurred

No response

Docker Configuration

services:
  stirling-pdf:
    image: stirlingtools/stirling-pdf:0.36.2-fat
    environment:
      TESSERACT_LANGS: eng,deu
      LANGS: "GENERAL,en_EN,de_DE"

Relevant Log Output

No response

Additional Information

No response

Browsers Affected

No response

No Duplicate of the Issue

  • I have verified that there are no existing issues raised related to my problem.
@Stirling-Tools Stirling-Tools deleted a comment from dosubot bot Dec 16, 2024
@Frooodle
Copy link
Member

You are welcome to raise a PR for this if you have the fix in mind!

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

Successfully merging a pull request may close this issue.

2 participants