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

オープン 初心者向け
#7,922 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
json, python
領域
devtools

調査の方向性

Control 0.1.74 の Windows バンドルに含まれる BUNDLE.json と python\python.exe を調べ、記録された SHA-256 を issue に記載された実行ファイルのハッシュと比較してください。次に、デスクトップアプリに同梱された Python 検証のエントリポイントをたどり、マニフェストの使用方法を確認してください。公式バンドルのハッシュと検証結果が一致し、モデルの準備で同梱された Python が受け入れられるようになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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!

主要言語
C++
スター
11.6k
フォーク
1k
平均マージ
4日 17時間
マージ済み PR(30日)
28

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。