I’m using Gramps v5.1.6 on Win10 and DWR B is my “every day work horse” for some downstream tasks. I had to downgrade from v5.2.2 because of the speed issues with this version, but I’ve not noticed any problems with DWR B. So I guess the answer to your question is “yes” but propably, you have to try it for yourself.
copied the resulting folder (and all its contents) to the plugins folder (I’m on indows 11 and the path given on GitHub is the correct one to the plugins folder except you first have to ‘show hidden files’
opened Gramps
There was only one option option for DynamicWeb and it produced something that looked the same as the original version.
I then closed Gramps, renamed the original DynamicWeb folder, removed the ‘B’ from the name the new DynamicWeb folder and restarte Gramps. I still only got a report that looked like the original version.
However, that doesn’t mean it doesn’t work, it just means I’ve not got it to work.
(1) Download the ZIP file from GitHub and decompress it into the Gramps Plugin folder with a new folder name (the standard version is in ..\plugins\DynamicWeb)
(2) There should be a file named dynamicwebB.gpr.py in this new folder. The content of this file (besides the comments) is:
register(REPORT,
id = 'DynamicWebB',
name = _("Dynamic Web Report B"),
description = _("Produces dynamic web pages for the database"),
version = '0.0.93',
gramps_target_version = "5.1",
status = STABLE,
fname = 'dynamicwebB.py',
category = CATEGORY_WEB,
reportclass = 'DynamicWebReport',
optionclass = 'DynamicWebOptions',
report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI],
authors = ['Pierre Bélissent', 'mods by JV'],
authors_email = ['xxxyyy@gmail.com'],
require_active = True
)
I’m not 100 % sure what I had to change here, but I guess it was the name and the gramps_target_version. I guess this is the very change @emyoulation refers to.
(3) Now start Gramps and you should have both DWR reports available.
The download hasn’t been published to the official addon collection.
So they probably developed for their own use. Either they are still using 5.1 or decided the 5.2 registration tweak wasn’t a hassle for users to tweak.
Interesting. I tried looking in the original DynamicWeb. It imported from an entirely different module: the alphabeticindex.py module. The gramps/plugins/webreport/common.py doesn’t have a first_letter to import.
It looks like you use the Index feature and others do not.
That is the English version of the same French error dialog that Patrice reports above.
He notes that additional diagnostic feedback is in the console when that dialog appears. It is related to the indexing trying to import from the wrong module.
I am in the same category. However the error message in the console is very explicit. Line 333 240 of dynamicwebB' cannot find the first_letter to import from common.py module. from gramps.plugins.webreport.common import first_letter
But the original dynamic web has: from gramps.plugins.webreport.alphabeticindex import first_letter
If your Gramps reports the same thing to the console, all you have to do is edit line 333 to have the right path. The run again to see the next error, if any.
EDITED…
[–OK but what is the name of the file that holds this line? As yet I’ve not found it.–]
IGNORE THAT, I’ve found it now, sorry, couldn’t see for looking…