Skip to content

SCP causes infinite QGIS window loop on macOS M4 with QGIS 3.44.6 #432

@cesare710

Description

@cesare710

Description:
Environment

OS: macOS Sonoma 14.7.2 (Tahoe 26.2)
Hardware: MacBook M4 (ARM64)
QGIS: 3.44.6
Python: 3.12 (QGIS bundled)
SCP versions tested: 8.3.0, 8.5.0

Problem

When attempting to enable the Semi-Automatic Classification Plugin, QGIS enters an infinite loop that continuously opens new QGIS windows. The process cannot be stopped except by force quitting QGIS.
Steps to Reproduce

Install SCP via QGIS Plugin Manager or manually
Go to Plugins → Manage and Install Plugins → Installed
Check the box to enable "Semi-Automatic Classification Plugin"
Multiple QGIS windows start opening continuously

Dependencies Status

All dependencies are correctly installed and working:

✅ remotior_sensus - installed and importable
✅ scipy 1.16.3 - installed, ARM64 native
✅ matplotlib 3.10.8 - installed, ARM64 native
✅ All libraries verified as ARM64 compatible

Verified in QGIS Python Console:
python

import remotior_sensus # ✓ Works
import scipy # ✓ Works
import matplotlib # ✓ Works


## Error Messages
Console shows:

Sorgente Dati non Valida: /from multiprocessing.resource_tracker import main;main(27) non è una sorgente dati valida o riconosciuta.

This suggests the issue is related to multiprocessing during plugin initialization.
Additional Notes

The plugin installs successfully
The problem occurs specifically during the startPlugin() phase
Both versions 8.3.0 and 8.5.0 exhibit the same behavior
This appears to be a macOS-specific issue with multiprocessing in QGIS plugins

Is there a known workaround for macOS M-series chips, or is a fix planned for this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions