# 5.1.4 bug in GPS location dialog

**URL:** <https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731>\
**Category:** Help\
**Created:** [August 10, 2021, 1:01pm UTC](https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731 "2021-08-10T13:01:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgee](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@bgee](https://gramps.discourse.group/u/bgee)\
**Post date:** [August 10, 2021, 1:01pm UTC](https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731/1 "2021-08-10T13:01:11Z")

</div>

Gramps 5.1.4 on Fedora 34 …

I just upgraded to Gramps 5.1.4 today using the Fedora repository. The dialog box for adding a new place has an error in the processing of GPS coordinate fields. The field for entering a comma-separated string says the sequence is latitude, longitude. However, the field is parsed as longitude, latitude. This is a change from previous behavior.

I think I got a screenshot attached here …

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/5/546e0c2a4a96294d12e69186ed591f88a304d009.png)

Bill Gee

---

<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:** [August 10, 2021, 1:36pm UTC](https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731/2 "2021-08-10T13:36:57Z")

</div>

Ran into that straight away. Serge quickly posted a [patch for swapped lat/long parsing. It is targeted for the 5.1.5 release](https://github.com/gramps-project/gramps/pull/1290/commits).

It is a minor tweak to 2 files. But those files are in the core. The changes are fully compatible when manually applied to 5.1.4

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 10, 2021, 1:42pm UTC](https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731/3 "2021-08-10T13:42:17Z")

</div>

Apply the patch and then check all new Place records you added since installing 5.1.4

---

<div class="post-metadata">

**Author:** ![bgee](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@bgee](https://gramps.discourse.group/u/bgee)\
**Post date:** [August 10, 2021, 5:14pm UTC](https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731/4 "2021-08-10T17:14:24Z")

</div>

Thanks! The patches worked.

Bill Gee

---

<div class="post-metadata">

**Author:** ![Bouscram](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/bouscram/32/1000_2.png) [@Bouscram](https://gramps.discourse.group/u/Bouscram)\
**Post date:** [August 13, 2021, 8:35am UTC](https://gramps.discourse.group/t/5-1-4-bug-in-gps-location-dialog/1731/5 "2021-08-13T08:35:11Z")

</div>

Same on macOS - you have to change the files in the app bundle to apply the patch, they are located at the following location (in Gramps.app: Contents/Resources/lib/python3.9/site-packages/gramps/gui/editors/)
