While eradicating the stub for about [plugin registration problems in the Error and Warning Reference
wiki appendix, I needed a sample dialog. After documenting the error conditions that it should report, tried to force one of the errors. However, I was unable to create a condition that makes the GUI dialog appear.
However, the expected error was reported in the console.
Is the Show plugin status dialog on plugin load error
feature in Edit → Preferences → Warning still supported in 5.2 ? I’ve seen statusbar ‘warn’ lightbulbs for some plugin registration problems in the past. But I don’t recall seeing any recently.
The feature is supposed to report registering plugins with bad gramps_target_version
. Future versions were simply ignored. Invalid version format (‘“5.2a”’) caused a terminal failure. But no (or commented out) version reports an error to the console.
Installed the new Historical Context addon gramplet and commented out the HistContext.gpr.py
line.
#gramps_target_version="5.2",
Starting Gramps from the terminal results in the following line during startup:
ERROR: Plugin file /home/districtsupport/.gramps/gramps52/plugins/HistContext/HistContext.py has a version of "None" which is invalid for Gramps "5.2.3".
changed to outdated version
gramps_target_version="5.1",
Starting Gramps from the terminal results in the following line during startup:
ERROR: Plugin file /home/districtsupport/.gramps/gramps52/plugins/HistContext/HistContext.py has a version of “5.1” which is invalid for Gramps “5.2.3”.`