But Brian, my problem was that the error message returned by the plugin installer
gave no indication as to what the error was or what was causing it.
I have been chasing the Graph View and Network Chart addon error messages for
sometime now. OK I have Graph View installed and working but I still can’t get the
Network Chart (0.0.25) installed. I see the same message as I reported in my original
post. There is nothing at all reported in terminal mode.
I guess I’ve been around software for so long that I still expect even spelling errors
to be located at /var/log/messages.
Perhaps this could be seen as an enhancement request for the Third Party Plugin Installer ?
There are Command line options for checking Prerequisites and debug logging … useful if you had problems that prevent Gramps loading far enough to use a gramplet. A few years ago Gramps use required a lot higher skill levels to install or use. Skills using command line options could be assumed.
Since installer wizards and pre-installs became common, users begin to expect a lot more hand holding. That’s not really likely in open source. Programming of Hand-holding is the most tedious, frustrating and bloat inducing kind of coding. It requires significant skills and creates features that are useful to users for the short time they are newbies. Volunteer programmers are more likely to want to work on features instead.
Gramps has several levels of troubleshooting tools. (Look at the See also section of the Prequisites Checker addon docs.) Depending on what you’re doing (installations, debugging, code exploration, optimizing tests, low overhead use), you can enable different levels… from inside the code or with overrides from the command line or environment variables.
But because added overhead means a performance hit and because there’s serious overlap possibilities with a plug-in framework, there’s wide latitude in which level is enabled. It is informative to occassionally run Gramps from the command line with debug messaging enabled.
If the add-on developer doesn’t enable logging, that’s their choice… or maybe an oversight.
Where does one actually find the reason for these failures?
The message returned by the installer is cryptic at best; “Installation Errors - Gramps” and another line repeating the same message with the addon name(s) then a “close” button.
Man gramps(1) suggests that -d --debug=LOGGER_NAME might be used and states
“Enable debug logs for development and testing. Look at the source code for details.”
Which raises the next question - where? That manual page seems to be long out-of-date.
And then raises a further question: in a previous message on this subject @Nick-Hall suggests using the Prerequisites Gramplet to show the requirements for third-party addons. The checker should be located where? it’s doesn’t appear in the Gramplets drop-down list.
I’ve been using Gramps for a long time without the need for the extra functions that can be provided by addons and now I see some which might be useful but cannot install them.
Please could the maintainer(s) include some comparatively simple error logging mechanisms in the addon installation code.
There is also an option in the Warnings tab of Edit → Preferences to Show plugin status dialog on plugin load error. That option is deselected (disabled) by default.
Some Gramplets are only usable in certain View Categories. (For example, the Photo Tagging gramplet only works with the selected image Media object. So it is only listed in the Media gramplet menus.) This can sometimes make them difficult to predict where a particular gramplet will be listed in a gramplet menu.
In general, gramplets where the content does not change based on a particular record being selected will be found in the Dashboard gramplet menus.
If you want to be more aware of what the restrictions and requirements are for a particular addon, it is enlightening to read the “Gramps Plugin Registration” Python module. (These files match the name of the plugin module but end in .gpr.py )
The plugins each have their own folder within gramps60/plugins folder in the Gramps User Directory.
You might want to download the Gramps Addons User Manual 6.0 file. Searching a single PDF is a lot easier than paging through the wiki. (Especially when the wiki hosting is misbehaving so badly right now.)
Can you mention which cryptic addon please ? And also the version of Gramps
you are using?
There is NO cryptic addon - The message from the installer is cryptic - It gives
NO clues as to what the error is.
Version is 6.0.8
johnrye06:
Please could the maintainer(s) include some comparatively simple error
logging mechanisms in the addon installation code.
If you start Gramps from the command line and attempt the installation, can
you copy paste the complete error message here?
[john@walter ~]$ gramps
Two Gramps application data directories exist.
Gdk-Message: 16:09:37.880: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:37.885: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:38.228: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:38.362: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:41.562: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:41.562: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:41.562: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:41.562: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:45.371: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:46.983: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:47.229: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:47.229: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:47.229: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:47.229: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:47.260: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:47.293: Unable to load col-resize from the cursor theme
Gdk-Message: 16:09:55.494: Unable to load col-resize from the cursor theme
[john@walter ~]$
As You see the console messages are not helpful either.
And then raises a further question: in a previous message on this subject @Nick-Hall suggests using the Prerequisites Gramplet to show the requirements for third-party addons. The checker should be located where? it’s doesn’t appear in the Gramplets drop-down list.
I’ve been using Gramps for a long time without the need for the extra functions that can be provided by addons and now I see some which might be useful but cannot install them.
There is also an option in the Warnings tab of Edit → Preferences to Show plugin status dialog on plugin load error. That option is deselected (disabled) by default.
Thanks, not very obvious and still nothing being shown in GUI or console/terminal