From 593086161ed9430f9af4bf9bd11c7eaaec093189 Mon Sep 17 00:00:00 2001 From: JarbasAi Date: Fri, 25 Sep 2026 01:40:04 +0000 Subject: [PATCH] fix(offline): da and nl build scripts autoconfigure their own language build_raspOVOS_da.sh passed de-DE and build_raspOVOS_nl.sh passed n-NL. Both now pass the tag their hybrid and lite siblings pass: da-DK and nl-NL. n-NL is not a language code. With ovos-config 2.3.11a2, the floor in constraints-alpha.txt, the call exits 1 and set -e stops the Dutch offline build. With ovos-config 2.1.1 it exits 0 and writes lang as n. de-DE is valid, so the Danish offline image was configured for German. T-3951 Co-Authored-By: Claude Opus 5 --- lang_builds/offline/build_raspOVOS_da.sh | 2 +- lang_builds/offline/build_raspOVOS_nl.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang_builds/offline/build_raspOVOS_da.sh b/lang_builds/offline/build_raspOVOS_da.sh index 8c0bffdb..8a9b6d0a 100644 --- a/lang_builds/offline/build_raspOVOS_da.sh +++ b/lang_builds/offline/build_raspOVOS_da.sh @@ -17,7 +17,7 @@ source /home/$OVOS_USER/.venvs/ovos/bin/activate export UV_CONSTRAINT="${CONSTRAINTS:-}" PIP_CONSTRAINT="${CONSTRAINTS:-}" UV_PRERELEASE=allow echo "Configuring for target language..." -/home/$OVOS_USER/.venvs/ovos/bin/ovos-config autoconfigure --lang de-DE --offline --male --platform rpi5 +/home/$OVOS_USER/.venvs/ovos/bin/ovos-config autoconfigure --lang da-DK --offline --male --platform rpi5 echo "Downloading base whisper model ..." python -c "from huggingface_hub import snapshot_download; repo_id = 'Systran/faster-whisper-base'; file_path = snapshot_download(repo_id=repo_id); print(f'Downloaded {repo_id}')" diff --git a/lang_builds/offline/build_raspOVOS_nl.sh b/lang_builds/offline/build_raspOVOS_nl.sh index 96531e21..77dcd90e 100644 --- a/lang_builds/offline/build_raspOVOS_nl.sh +++ b/lang_builds/offline/build_raspOVOS_nl.sh @@ -17,7 +17,7 @@ source /home/$OVOS_USER/.venvs/ovos/bin/activate export UV_CONSTRAINT="${CONSTRAINTS:-}" PIP_CONSTRAINT="${CONSTRAINTS:-}" UV_PRERELEASE=allow echo "Configuring for target language..." -/home/$OVOS_USER/.venvs/ovos/bin/ovos-config autoconfigure --lang n-NL --offline --male --platform rpi5 +/home/$OVOS_USER/.venvs/ovos/bin/ovos-config autoconfigure --lang nl-NL --offline --male --platform rpi5 echo "Installing Citrinet plugin..." uv pip install --no-progress ovos-stt-plugin-citrinet -c $CONSTRAINTS