-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When running elcap build with the v2025.10.00-ga SDK, I observed a Python error during step 5 of the build of the Docker image. The build still completed and the device was flashed successfully.
Here is a snippet of the error, and the full log is attached (docker_image_build_python_error.txt):
Step 5/10 : RUN pip install pyelftools==0.32 ecdsa --break-system-packages
---> Running in 27aad4b7f93d
Collecting pyelftools==0.32
Downloading pyelftools-0.32-py3-none-any.whl.metadata (372 bytes)
Collecting ecdsa
Downloading ecdsa-0.19.1-py2.py3-none-any.whl.metadata (29 kB)
Collecting six>=1.9.0 (from ecdsa)
Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Downloading pyelftools-0.32-py3-none-any.whl (188 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.5/188.5 kB 7.0 MB/s eta 0:00:00
--- Logging error ---
Traceback (most recent call last):
File "logging\__init__.py", line 1154, in emit
File "encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 47-86: character maps to <undefined>
Call stack:
File "elcap\main.py", line 102, in <module>
File "elcap\main.py", line 97, in main
File "typer\main.py", line 322, in __call__
File "click\core.py", line 1161, in __call__
File "typer\core.py", line 740, in main
File "typer\core.py", line 195, in _main
File "click\core.py", line 1697, in invoke
File "click\core.py", line 1443, in invoke
File "click\core.py", line 788, in invoke
File "typer\main.py", line 697, in wrapper
File "elcap\command\command.py", line 176, in wrapper
File "elcap\build\build.py", line 68, in run
File "elcap\project\trident_project.py", line 145, in build
File "elcap\build\build_container.py", line 108, in __enter__
File "elcap\build\build_container.py", line 163, in _get_image
File "elcap\build\build_container.py", line 181, in _build_image
File "logging\__init__.py", line 1508, in debug
File "logging\__init__.py", line 1665, in _log
File "logging\__init__.py", line 1681, in handle
File "logging\__init__.py", line 1737, in callHandlers
File "logging\__init__.py", line 1027, in handle
File "logging\__init__.py", line 1265, in emit
File "logging\__init__.py", line 1159, in emit
Message: '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.5/188.5 kB 7.0 MB/s eta 0:00:00'
Arguments: ()
Downloading ecdsa-0.19.1-py2.py3-none-any.whl (150 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.6/150.6 kB 8.1 MB/s eta 0:00:00
--- Logging error ---
Traceback (most recent call last):
File "logging\__init__.py", line 1154, in emit
File "encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 47-86: character maps to <undefined>
Call stack:
File "elcap\main.py", line 102, in <module>
File "elcap\main.py", line 97, in main
File "typer\main.py", line 322, in __call__
File "click\core.py", line 1161, in __call__
File "typer\core.py", line 740, in main
File "typer\core.py", line 195, in _main
File "click\core.py", line 1697, in invoke
File "click\core.py", line 1443, in invoke
File "click\core.py", line 788, in invoke
File "typer\main.py", line 697, in wrapper
File "elcap\command\command.py", line 176, in wrapper
File "elcap\build\build.py", line 68, in run
File "elcap\project\trident_project.py", line 145, in build
File "elcap\build\build_container.py", line 108, in __enter__
File "elcap\build\build_container.py", line 163, in _get_image
File "elcap\build\build_container.py", line 181, in _build_image
File "logging\__init__.py", line 1508, in debug
File "logging\__init__.py", line 1665, in _log
File "logging\__init__.py", line 1681, in handle
File "logging\__init__.py", line 1737, in callHandlers
File "logging\__init__.py", line 1027, in handle
File "logging\__init__.py", line 1265, in emit
File "logging\__init__.py", line 1159, in emit
Message: '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.6/150.6 kB 8.1 MB/s eta 0:00:00'
Arguments: ()
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pyelftools, six, ecdsa
Successfully installed ecdsa-0.19.1 pyelftools-0.32 six-1.17.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
---> Removed intermediate container 27aad4b7f93d
---> 3089c385dcaf
Step 6/10 : COPY entrypoint.sh /usr/local/bin/entrypoint.sh
elcap version output:
ElCap: 0.1.15
ElCap CLI: v0.3.33
ElCap Deps: release-1fc5c63
Metadata
Metadata
Assignees
Labels
No labels