No, it’s not. In the end all I had to do was:
- edit the line about v5.1, to 5.2
- edit the line about webreport.common, to .alphabeticindex
No, it’s not. In the end all I had to do was:
I’ve come across another problem but I suspect it’s to do with Google and their map API and not the plugin.
The ‘options’ tab of this report has two tick boxes to include maps. When I chose OpenStreet Map as the service the maps tab in the output didn’t show any maps.
When I chose Google as the service, the maps work but give an error on loading. I then went in search of a Google Map API key** and entered that in to the relevant field in the ‘Options’ tab. However, the maps still give an error when used.
I suspect the problem is that although there’s stuff on the Google website saying you can use the map API without a billing account, and I eventually managed to get a key, without entering my credit card, Google have crippled that feature and you really must give them billing details.
Has anyone else tried this mapping feature in this report?
**an explanation of how I got said key will require a separate topic but it didn’t involve anything illegal.
After changing line 240 it started correctly but ended with another error:
545199: ERROR: _reportdialog.py: line 801: Failed to run report.
Traceback (most recent call last):
File "C:\Program Files\GrampsAIO64-5.2.2\gramps\gui\plug\report\_reportdialog.py", line 760, in report
my_report.write_report()
File "C:\Users\patri\AppData\Local\gramps\gramps52\plugins\DynamicWebB\dynamicwebB.py", line 822, in write_report
self._export_individuals()
File "C:\Users\patri\AppData\Local\gramps\gramps52\plugins\DynamicWebB\dynamicwebB.py", line 975, in _export_individuals
jdata['events'] = self._data_events(person)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\patri\AppData\Local\gramps\gramps52\plugins\DynamicWebB\dynamicwebB.py", line 1624, in _data_events
jdatas.append(self._jdata_event(event_ref, an_object))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\patri\AppData\Local\gramps\gramps52\plugins\DynamicWebB\dynamicwebB.py", line 1673, in _jdata_event
part_person.append([self.obj_dict[Person][personhandle][OBJDICT_INDEX], str(part_person_role[0])])
~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Not sure if it’s quite ready for v5.2
it started correctly but ended with another error
Yet it starts and ends without errors on both my Win 10 Pro desktop PC and my Win 11 Pro laptop, which both run Gramps 5.2.3.
I have a similar crash when running on 5.1.6, so the issue is not due to 5.2 .
Changing the filter of people makes a difference for me - if I choose my whole db, it crashes. If I use an ancestor or descendant filter, it worked.
I made the following change in dynamicwebB.py and it seemed to work.
line 1673 was:
part_person.append([self.obj_dict[Person][personhandle][OBJDICT_INDEX], str(part_person_role[0])])
and I changed to:
if (part_person_role) :
part_person.append([self.obj_dict[Person][personhandle][OBJDICT_INDEX], str(part_person_role[0])])
Hi all, I wrote DWR B, and have just noticed these messages (thanks emyoulation). Thanks for your interest.
I was running 5.1.6 but have looked at DWR B and have made some changes, so it can run now on 5.2.3.
I am part way though an interesting change, which needs another day or two, and so will publish my update in a few.days.
9 posts were split to a new topic: 5.2 seems to be slower than 5.1
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.