FreeCAD 26.3rc2 AppImage: Addon Manager startup worker crashes with AttributeError on InitializeNetworkManager
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- linux, python
调研方向
Start with addonmanager_workers_startup.py and follow get_constraints().reload() into addonmanager_python_constraints.py, then inspect blocking_get() in addonmanager_utilities.py where NetworkManager is used. Reproduce by launching the FreeCAD 26.3rc2 AppImage on Ubuntu and watching the startup worker logs. The change is done when the worker no longer raises the AttributeError or QSslSocket: device not open errors and the Addon Manager completes its constraint check and package index loading.
由索引模型根据 Issue 内容生成。
描述
Problem description
Description:
When launching the FreeCAD 26.3rc2 AppImage on Ubuntu 24.04.5 LTS Linux, the Addon Manager startup worker throws an AttributeError during initialization, preventing the constraint check from completing and triggering SSL socket errors.
Environment:
FreeCAD Version: 26.3.0, Libs: 26.3.0RC2R20261018 (Git shallow)
Operating System: Ubuntu Linux (AppImage bundle)
Installation method: AppImage
Traceback / Log:
Traceback (most recent call last):
File "/tmp/.mount_FreeCAKfGjKk/usr/Mod/AddonManager/addonmanager_workers_startup.py", line 963, in run
get_constraints().reload()
File "/tmp/.mount_FreeCAKfGjKk/usr/Mod/AddonManager/addonmanager_python_constraints.py", line 77, in reload
self._versions = self._parse(self._fetch_or_read_cache())
File "/tmp/.mount_FreeCAKfGjKk/usr/Mod/AddonManager/addonmanager_python_constraints.py", line 90, in _fetch_or_read_cache
text = self._fetch(location)
File "/tmp/.mount_FreeCAKfGjKk/usr/Mod/AddonManager/addonmanager_python_constraints.py", line 100, in _fetch
data = blocking_get(location)
File "/tmp/.mount_FreeCAKfGjKk/usr/Mod/AddonManager/addonmanager_utilities.py", line 672, in blocking_get
NetworkManager.InitializeNetworkManager()
AttributeError: 'NoneType' object has no attribute 'InitializeNetworkManager'
QIODevice::read (QSslSocket): device not open
Workbench affected?
None
Steps to reproduce
Download and run FreeCAD 26.3rc2 AppImage on Linux.
Observe startup logs or open Addon Manager.
The background worker crashes immediately upon trying to fetch constraints via blocking_get().
Expected behavior
The Addon Manager should initialize its network worker successfully upon startup without throwing Python AttributeError exceptions or SSL socket errors, allowing the background checks and package index to load normally.
Actual behavior
Upon launching FreeCAD, the startup background worker immediately fails to fetch or parse constraints. The call to blocking_get() triggers an AttributeError because NetworkManager evaluates to None, accompanied by SSL socket read errors (QSslSocket: device not open). As a result, the addon constraints reload fails entirely.
Development version About Info (in Safe Mode)
**Development version About Info (in Safe Mode):**
OS: Ubuntu 24.04.5 LTS (Noble Numbat)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 26.3.0RC2R20261018 (Git shallow)
Build type: Release
Branch: (HEAD detached at 26.3rc2)
Hash: [Hier den Git-Hash aus dem Dialog einfügen, falls angezeigt]
Python 3.x.x, Qt 5.x / 6.x, Coin 4.x.x, Vtk 9.x.x, OCC 7.x.x
Last known good version (optional)
any
- 主要语言
- Python
- 星标
- 21
- 派生
- 33
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FreeCAD/AddonManager 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
FreeCAD/AddonManager#521 ·
-
难度 3/5 1-2 天 新手友好度 57/100
FreeCAD/AddonManager#519 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 65/100
FreeCAD/AddonManager#510 · 20 条评论 ·
-
repo maintenance未关闭
难度 5/5 一周以上 新手友好度 25/100
FreeCAD/AddonManager#507 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
FreeCAD/AddonManager#491 · 10 条评论 ·
查看 FreeCAD/AddonManager 的全部 Issue
相似的 Issue
-
area/test type/bug
难度 2/5 1-3 小时 新手友好度 76/100
Clodmony/starship-coop#70 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
难度 2/5 1-3 小时 新手友好度 67/100
jumpserver/jumpserver#17980 ·
维护者通常 1 天内回复
-
community enhancement good first issue
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
namespace
难度 2/5 1-3 小时 新手友好度 60/100
EclipseFdn/open-vsx.org#15341 ·
维护者通常 1 天内回复