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

未关闭 适合新手
#7,922 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
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 小时
30 天内合并 PR
28

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Niko1221/Strata 的其他 Issue

查看 Niko1221/Strata 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。