You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the Docker image on an old Raspberry Pi with an ARMv6 processor, but container fails to start with following error:
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/opt/venv/lib/python3.11/site-packages/TheengsGateway/__init__.py", line 24, in <module>
from .ble_gateway import run
File "/opt/venv/lib/python3.11/site-packages/TheengsGateway/ble_gateway.py", line 45, in <module>
from TheengsDecoder import decodeBLE
File "/opt/venv/lib/python3.11/site-packages/TheengsDecoder/__init__.py", line 1, in <module>
from ._decoder import decodeBLE # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'TheengsDecoder._decoder'
Please note that this error comes from my own image build, as I tried different versions of base OS and Theengs Gateway versions.
The error also comes with the official image theengs/gateway:latest.
I notices that debian based python images don't have direct support for ARMv6, but for ARMv5, and it seems this one is chosen as an alternative, being the "closest" toi the target platform.
My guess is that is offers limited compatibility, and when it comes to compilation (which happens when creating the image), binaries may be incompatible.
At this point, if we want true ARMv6 support, we may look at the Alpine based version of Python. I will try to create a new Dockerfile with this distro.
For the time being, ARMv6 platform should be removed from Docker Hub. I didn't test the other platforms, except AMD64 which seems to be running fine.
Regards,
Yanik
The text was updated successfully, but these errors were encountered:
Hello,
I tried running the Docker image on an old Raspberry Pi with an ARMv6 processor, but container fails to start with following error:
Please note that this error comes from my own image build, as I tried different versions of base OS and Theengs Gateway versions.
The error also comes with the official image theengs/gateway:latest.
I notices that debian based python images don't have direct support for ARMv6, but for ARMv5, and it seems this one is chosen as an alternative, being the "closest" toi the target platform.
My guess is that is offers limited compatibility, and when it comes to compilation (which happens when creating the image), binaries may be incompatible.
At this point, if we want true ARMv6 support, we may look at the Alpine based version of Python. I will try to create a new Dockerfile with this distro.
For the time being, ARMv6 platform should be removed from Docker Hub. I didn't test the other platforms, except AMD64 which seems to be running fine.
Regards,
Yanik
The text was updated successfully, but these errors were encountered: