We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get the following error when trying to run Weblate 5 with Docker on an aarch64 machine.
aarch64
docker-compose.override.yml
No response
weblate-weblate-1 | Starting... weblate-weblate-1 | [2023-09-04 22:31:57,522: WARNING/10] Handled exception: ImportError: libtesseract.so.4: cannot open shared object file: No such file or directory weblate-weblate-1 | Traceback (most recent call last): weblate-weblate-1 | File "/usr/local/bin/weblate", line 8, in <module> weblate-weblate-1 | sys.exit(main()) weblate-weblate-1 | ^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/weblate/runner.py", line 19, in main weblate-weblate-1 | utility.execute() weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute weblate-weblate-1 | self.fetch_command(subcommand).run_from_argv(self.argv) weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv weblate-weblate-1 | self.execute(*args, **cmd_options) weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute weblate-weblate-1 | output = self.handle(*args, **options) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/management/commands/check.py", line 76, in handle weblate-weblate-1 | self.check( weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 485, in check weblate-weblate-1 | all_issues = checks.run_checks( weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/checks/registry.py", line 88, in run_checks weblate-weblate-1 | new_errors = check(app_configs=app_configs, databases=databases) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/checks/urls.py", line 14, in check_url_config weblate-weblate-1 | return check_resolver(resolver) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/core/checks/urls.py", line 24, in check_resolver weblate-weblate-1 | return check_method() weblate-weblate-1 | ^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/urls/resolvers.py", line 494, in check weblate-weblate-1 | for pattern in self.url_patterns: weblate-weblate-1 | ^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/utils/functional.py", line 57, in __get__ weblate-weblate-1 | res = instance.__dict__[self.name] = self.func(instance) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/urls/resolvers.py", line 715, in url_patterns weblate-weblate-1 | patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/utils/functional.py", line 57, in __get__ weblate-weblate-1 | res = instance.__dict__[self.name] = self.func(instance) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/django/urls/resolvers.py", line 708, in urlconf_module weblate-weblate-1 | return import_module(self.urlconf_name) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module weblate-weblate-1 | return _bootstrap._gcd_import(name[level:], package, level) weblate-weblate-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ weblate-weblate-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import weblate-weblate-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load weblate-weblate-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked weblate-weblate-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked weblate-weblate-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module weblate-weblate-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/weblate/urls.py", line 25, in <module> weblate-weblate-1 | import weblate.screenshots.views weblate-weblate-1 | File "/usr/local/lib/python3.11/site-packages/weblate/screenshots/views.py", line 39, in <module> weblate-weblate-1 | from tesserocr import OEM, PSM, RIL, PyTessBaseAPI, iterate_level weblate-weblate-1 | ImportError: libtesseract.so.4: cannot open shared object file: No such file or directory weblate-weblate-1 | Failed to load configuration, please see errors above.
Docker container
weblate/weblate:latest
The text was updated successfully, but these errors were encountered:
Duplicate of WeblateOrg/docker#1944
Sorry, something went wrong.
No branches or pull requests
Describe the issue
I get the following error when trying to run Weblate 5 with Docker on an
aarch64
machine.I already tried
Steps to reproduce the behavior
docker-compose.override.yml
Expected behavior
No response
Screenshots
No response
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
weblate/weblate:latest
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: