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

Abierto
#524 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
linux, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
21
Forks
33
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FreeCAD/AddonManager

Todos los issues de FreeCAD/AddonManager

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.