I encountered a problem that seems likely to bite Developers new to the Gramps coding environment. After Claude AI resolved the ambiguity, I prompted it to write a short (approx. 1-page) intro to the issue.
Do we want to make such things part of our developer documentation? Or use it as reference for writing a human doc?
Developer Note: Using Python Subprocesses in Gramps Addons
Author: Claude (Anthropic AI)
Contributor: Brian McCullough
Date: February 17, 2026
Applies to: Gramps 5.2.x, Gramps 6.0.x (desktop versions)
Status: Current as of February 2026
Reference:
In a wish-coding experiment to reframe the make.py into Gramps Debug Tool with a GUI for Addon Developers tool, beta tester Patrice discovered that the Tool did not know which Python environment to use.
Experimental ‘debug’ addon tool Addon Pack and Ship worked on the Fedora 37 Linux development system. But on a Windows box (where @PLegoux also had a full Python development environment installed), button actions gave the following error:
Error: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.

