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

Aperta Adatta ai principianti
#7,922 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json, python
Ambito
devtools

Direzione di ricerca

Esamina BUNDLE.json e python\python.exe del bundle Windows di Control 0.1.74; confronta lo SHA-256 registrato con l’hash dell’eseguibile riportato nell’issue. Poi segui il punto di ingresso della convalida di Python dell’app desktop inclusa per confermare come utilizza il manifest. Il lavoro è completato quando l’hash del bundle ufficiale e la convalida concordano, consentendo alla preparazione del modello di accettare il Python incluso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
C++
Stelle
11.6k
Fork
1k
Merge medio
4g 17h
PR unite (30g)
28

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Niko1221/Strata

Tutte le issue di Niko1221/Strata

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.