[Other] Control 0.1.74 Windows bundle has incorrect Python SHA-256 in BUNDLE.json

Abierto Apto para principiantes
#7,922 3 comentarios 3 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
json, python
Área
devtools

Línea de trabajo

Inspecciona BUNDLE.json y python\python.exe del paquete de Windows de Control 0.1.74; compara el SHA-256 registrado con el hash del ejecutable indicado en el issue. Luego sigue el punto de entrada de validación de Python de la aplicación de escritorio empaquetada para confirmar cómo utiliza el manifiesto. El trabajo estará terminado cuando el hash del paquete oficial y la validación coincidan, permitiendo que la preparación del modelo acepte el Python incluido.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Control 0.1.74 Windows bundle has incorrect Python SHA-256 in BUNDLE.json

Description

After installing Strata 0.2.26, the desktop application reports that its bundled Python executable is missing or out of date when attempting to prepare a model.

I initially suspected a local installation problem, but after completely reinstalling Strata and independently downloading and extracting the official Control 0.1.74 Windows archive, I was able to reproduce the issue.

The problem appears to be an inconsistency between the SHA-256 hash recorded in BUNDLE.json and the actual bundled Python executable.

Observed error

The Strata desktop application displays:

The desktop app's installer only runs its bundled preparation tools; D:\Strata\control\python\python.exe -I is missing or out of date. Starting and serving never install or download anything. Run: START-HERE.bat (first-time setup), START-HERE.bat --update (update) or strata install.

Environment
  • Strata desktop: 0.2.26
  • Control: 0.1.74
  • Control commit: 119f81f2eff98c9a4516fe563c90cb51ff9fd9f3
  • Python: 3.12.15
  • Windows x86-64
  • NVIDIA inference engines installed:
    • Qwen engine 0.1.73
    • q4_lite engine 0.1.74
Python executable verification

The bundled Python executable exists and runs successfully, including isolated mode (-I).

Commands tested:

$py = "D:\Strata\control\python\python.exe"

& $py --version
& $py -I --version
& $py -I -c "import sys; print(sys.executable); print(sys.version)"

All commands execute successfully and report Python 3.12.15.

SHA-256 mismatch

The official D:\Strata\control\BUNDLE.json specifies the following expected Python executable hash:

Expected:

194c8f0d9e0de6f1c4576e5dfa67819a48c764be87608b74b8ad43387a57b93b

However, the actual SHA-256 hash of the bundled executable is:

Actual:

5D4228A6447FBD60653132CA692FBCF1DA95C8229B05AD50176F5046B2401E90
Independent reproduction

To rule out a corrupted local installation, I downloaded the official release archive:

strata-control-0.1.74-windows-x86_64.zip

I extracted it into a separate temporary directory and independently calculated the SHA-256 hash of its python\python.exe.

The freshly downloaded official archive contains exactly the same executable hash:

5D4228A6447FBD60653132CA692FBCF1DA95C8229B05AD50176F5046B2401E90

Its own BUNDLE.json, however, still specifies:

194c8f0d9e0de6f1c4576e5dfa67819a48c764be87608b74b8ad43387a57b93b

Therefore, the mismatch is reproducible directly from the official release archive and is not specific to my local installation.

Expected behavior

The desktop application should accept the bundled Python executable and allow the model preparation tools to run.

Actual behavior

The desktop application rejects the Python executable as missing or out of date, preventing model preparation.

Request

Could you verify the Python executable hash in the official Control 0.1.74 Windows release and investigate why the desktop application rejects it during bundled Python validation?

The expected SHA-256 recorded in BUNDLE.json does not match the executable included in the official archive. This appears to explain the desktop application's validation failure, although confirmation against the desktop application's validation logic would be helpful.

It appears that either:

  1. The Python executable was updated without updating the expected hash in BUNDLE.json, or
  2. The manifest contains an incorrect expected hash.

Please correct the manifest or publish a corrected Control bundle so that the desktop application can successfully validate its bundled Python environment.

Thank you!

Lenguaje dominante
C++
Estrellas
11.6k
Forks
1k
Merge medio
4 d 17 h
PR fusionados (30 d)
28

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Niko1221/Strata

Todos los issues de Niko1221/Strata

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.