mirror of
https://github.com/TaterTotterson/microWakeWord-Trainer-Nvidia-Docker.git
synced 2026-06-12 20:10:19 -06:00
502
This commit is contained in:
@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
# System deps
|
# System deps
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
python3.12 python3.12-venv python3.12-dev python3-pip python-is-python3 \
|
python3.12 python3.12-venv python3.12-dev python3-pip python-is-python3 \
|
||||||
git wget curl unzip patch ca-certificates nano less \
|
git wget curl unzip patch ninja-build ca-certificates nano less \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& mkdir -p /data
|
&& mkdir -p /data
|
||||||
|
|
||||||
|
|||||||
@@ -2012,6 +2012,12 @@ def _run_firmware_build_flash_background(session_id: str):
|
|||||||
"Tip: PlatformIO's ESP-IDF Python environment crashed while installing dependencies. "
|
"Tip: PlatformIO's ESP-IDF Python environment crashed while installing dependencies. "
|
||||||
"Run Clean Build Files once, then retry the flash.",
|
"Run Clean Build Files once, then retry the flash.",
|
||||||
)
|
)
|
||||||
|
if "pioarduino/registry" in joined_lines and "ninja-" in joined_lines and "status code '502'" in joined_lines:
|
||||||
|
_append_firmware_log(
|
||||||
|
session_id,
|
||||||
|
"Tip: GitHub returned a 502 while PlatformIO was downloading Ninja. "
|
||||||
|
"This is an upstream package download failure; retry the build in a few minutes.",
|
||||||
|
)
|
||||||
_append_firmware_log(session_id, f"✗ Firmware build + flash failed (exit_code={rc})")
|
_append_firmware_log(session_id, f"✗ Firmware build + flash failed (exit_code={rc})")
|
||||||
with FIRMWARE_LOCK:
|
with FIRMWARE_LOCK:
|
||||||
live = FIRMWARE_SESSIONS.get(session_id)
|
live = FIRMWARE_SESSIONS.get(session_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user