Family map in Narrative Web Site report - missing

Gramps Version 5.1.5
OS: Ubuntu

Hi
I created a storytelling website. Unfortunately the family map is empty.

What am I doing wrong?

1 Like

Check out this earlier thread. There is a known issue (and a fix). But is your issue with Family maps only??

1 Like

Gramps is a huge program. So volunteers often have to run experiments to try to reproduce what you are seeing. It helps us find the same feature if you note which Report you are running.

You are asking about the Reports → Web Pages → Narrated Web Site…. And using the
Include Family Map Pages with all places shown on the map option under Place Map Options, correct?

Let’s start by validating the underlying data is mappable. The Family or family members must have Events that Gramps can map (with valid dates, roles, and places with GPS coordinates).

You have 3 Events with 3 different Places in your example. But your place titles (“Ortstitel”) look suspiciously incomplete. I see “Saarlouis” but don’t see “Saarlouis, Saarland, Germany”. Since you did not fill in the enclosing administrative regions, I suspect that you did not add GPS coordinates (latitude and longitude) in the Place Editor either. These are required for mapping.

Switch to the Family Category and select the same family as your example above. Then select the Geography view and view the same Family data using the All known places for one Family view mode.

If you do not see map pins plotted in the interactive Geography view, they will not be in the report either.

Suggested 1st step: Edit your Place records for Saarlouis, HĂĽttersdorf, and Gretna Green. Make certain they have valid Latitude and Longitude values.

1 Like

All locations have correct GPS data and you can see them on Geography

As you are on ubuntu, when you mouse is over the page in firefox, click on <CTRL>right button and select “Source code of the page”. A new page will be opened. On this page, search the string openlayers.org. Do you have ?

<script src=“https://openlayers.org/en/latest/build/ol.js” type=“text/javascript”>
<link href=“https://openlayers.org/en/latest/css/ol.css” rel=“stylesheet” type=“text/css” />

If YES, you need to do what is shown on Help with Maps in Narrative Web Site needed - #12 by DaveSch

2 Likes

unfortunately I found these two lines :frowning:

||<script src=https://openlayers.org/en/latest/build/ol.js type=text/javascript></script>|
|---|---|
||<link href=https://openlayers.org/en/latest/css/ol.css rel=stylesheet type=text/css />|
``
1 Like

yes, it is with Family maps only.
In Geography it works fine.

1 Like

I think you misunderstood.

In the Narrative Web, there is the Place record map and there is a map that can appear in the Family page. In your initial post you make reference to the family map only.

Ah - OK - and yes, I am a bloody beginner in this phantastic software.

This Place record map is empty as well

1 Like

I think @SNoiraud mis posted. If you found the lines with “latest” you should follow the link to the bug report.

Bottom line, before Gramps 5.2 is released, modify your program file: ...\gramps\plugins\webreport\place.py
replace “latest” by “v6.15.1” at lines 387 and 390

and in person.py in the same directory
replace “latest” by “v6.15.1” at lines 722 and 725

1 Like

As were we all at one time!

Yes, I made a mistake. I change the comment with: “if YES”

This was the solution — my sysadmin (my son :wink: ) helped me over the last hurdle as I didn’t know where to find the files. Thanks a million for the hint!

I case anyone wants to do that on ubuntu

#find the path
sudo apt install apt-file
apt-file search webreport/place.py

# go where the result above points you
cd /usr/lib/python3/dist-packages/gramps/plugins/webreport

# for safety to see if 'latest' only appears at this place and replace inline
grep latest place.py
sudo sed -i "s/latest/v6.15.1/" place.py

and then the same for place.py

Thanks again for the solution - you guys are awesome :wink:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.