# User has unexpected error

**URL:** <https://gramps.discourse.group/t/user-has-unexpected-error/1041>\
**Category:** Help\
**Created:** [December 24, 2020, 8:45pm UTC](https://gramps.discourse.group/t/user-has-unexpected-error/1041 "2020-12-24T20:45:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KCaulley](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@KCaulley](https://gramps.discourse.group/u/KCaulley)\
**Post date:** [December 24, 2020, 8:45pm UTC](https://gramps.discourse.group/t/user-has-unexpected-error/1041/1 "2020-12-24T20:45:39Z")

</div>

GRAMPS: 5.1.3  
Python: 3.6.9 (default, Oct 8 2020, 12:12:24) […  
BSDDB: 6.1.0 (5, 3, 28)  
sqlite: 3.22.0 (2.6.0)  
LANG: en\_US.UTF-8  
OS: Linux  
Distribution: 4.15.0-128-generic

I don’t want report this as a bug because I have run the “Narrated Web Report” to many times with out errors. So the only cause of the error is something I have done. I’m sure someone can tell me what I have screwed up. The error message I get is

5336062: ERROR: \_reportdialog.py: line 748: Failed to run report.  
Traceback (most recent call last):  
File “/usr/lib/python3/dist-packages/gramps/gui/plug/report/\_reportdialog.py”, line 709, in report  
my\_report.write\_report()  
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/narrativeweb.py”, line 428, in write\_report  
self.tab[“Place”].display\_pages(self.title)  
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/place.py”, line 124, in display\_pages  
self.placepage(self.report, title, place\_handle)  
File “/usr/lib/python3/dist-packages/gramps/plugins/webreport/place.py”, line 431, in placepage  
jsc += OSM\_MARKERS % ([[float(longitude),  
TypeError: float() argument must be a string or a number, not ‘NoneType’

Thanks in advance  
Kurt

---

<div class="post-metadata">

**Author:** ![anon9092048](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon9092048](https://gramps.discourse.group/u/anon9092048)\
**Post date:** [December 24, 2020, 9:07pm UTC](https://gramps.discourse.group/t/user-has-unexpected-error/1041/2 "2020-12-24T21:07:35Z")

</div>

> [@KCaulley](#):
>
> I don’t want report this as a bug because I have run the “Narrated Web Report”

already reported and fixed see discussion on bugtracker

[https://gramps-project.org/bugs/view.php?id=11301](https://gramps-project.org/bugs/view.php?id=11301)

---

<div class="post-metadata">

**Author:** ![KCaulley](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@KCaulley](https://gramps.discourse.group/u/KCaulley)\
**Post date:** [December 25, 2020, 8:50am UTC](https://gramps.discourse.group/t/user-has-unexpected-error/1041/3 "2020-12-25T08:50:02Z")

</div>

Thank you for the information. Using DaveSch suggestion not only did I find the problem that caused the error I found other locations that were wrong.

Kurt

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [January 24, 2021, 8:50am UTC](https://gramps.discourse.group/t/user-has-unexpected-error/1041/4 "2021-01-24T08:50:11Z")

</div>

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