FreeCAD 26.3rc2 AppImage: Addon Manager startup worker crashes with AttributeError on InitializeNetworkManager

オープン
#524 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

FreeCAD/AddonManager のほかの issue

FreeCAD/AddonManager の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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