# Dynamic Web Report B

**URL:** <https://gramps.discourse.group/t/dynamic-web-report-b/6712>\
**Category:** Development\
**Tags:** third-party-addon\
**Created:** [January 3, 2025, 6:19pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712 "2025-01-03T18:19:35Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [January 4, 2025, 4:10pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/21 "2025-01-04T16:10:49Z")

</div>

> [@emyoulation](#):
>
> > [@stuck](#):
> >
> > the ‘B’ from the name the new DynamicWeb folder and restarte Gramps.
> 
> This name change doesn’t seem necessary

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

---

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [January 4, 2025, 4:28pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/22 "2025-01-04T16:28:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [January 4, 2025, 5:31pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/23 "2025-01-04T17:31:43Z")

</div>

After changing line 240 it started correctly but ended with another error:

```plaintext
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

---

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [January 4, 2025, 6:16pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/24 "2025-01-04T18:16:05Z")

</div>

> [@PLegoux](#):
>
> 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.

🤷

---

<div class="post-metadata">

**Author:** ![GaryGriffin](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/garygriffin/32/6525_2.png) [@GaryGriffin](https://gramps.discourse.group/u/GaryGriffin)\
**Post date:** [January 4, 2025, 7:11pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/25 "2025-01-04T19:11:17Z")

</div>

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])])

```

---

<div class="post-metadata">

**Author:** ![Researcher](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Researcher](https://gramps.discourse.group/u/Researcher)\
**Post date:** [January 5, 2025, 12:58am UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/26 "2025-01-05T00:58:00Z")

</div>

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](https://gramps.discourse.group/t/dynamicwebextended-an-updated-dynamic-web-report-addon/10151).

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [January 6, 2025, 3:58pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/27 "2025-01-06T15:58:02Z")

</div>

Split this topic on January 6, 2025, 3:58pm UTC

9 posts were split to a new topic: [5.2 seems to be slower than 5.1](https://gramps.discourse.group/t/5-2-seems-to-be-slower-than-5-1/6736)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [November 29, 2026, 2:35pm UTC](https://gramps.discourse.group/t/dynamic-web-report-b/6712/29 "2026-11-29T14:35:40Z")

</div>

Opened on November 29, 2026, 2:35pm UTC



[Previous page](https://gramps.discourse.group/t/dynamic-web-report-b/6712.md?page=1)
