GNOME Bugzilla – Bug 750588
geocode_forward_search returns list entries with coordinates 0.0, 0.0
Last modified: 2015-06-09 18:21:47 UTC
Using Python with GObject Introspection, example forward_search: from gi.repository import GeocodeGlib forward = GeocodeGlib.Forward.new_for_string("Newcastle. UK") for place in forward.search(): location = place.get_location() print(location.get_description(), location.get_latitude(), location.get_longitude()) outputs: ./forward_search:6: Warning: g_ascii_strtod: assertion 'nptr != NULL' failed for place in forward.search(): Newcastle upon Tyne 54.9770924 -1.6142059 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 geocode-glib-3.16.2 python-3.4.3 gobject-introspection-1.42.0 pygobject-3.14.0 Same with geocode-glib-3.14.0 but only after stopping segfault by applying patch from bug 747397 https://git.gnome.org/browse/geocode-glib/commit/?h=gnome-3-16&id=8877b11ad4cdb172323ca5c229a74d4284c1b7e7
Duplicate of bug 749963 ? Please test the patch there.
Fixed by e11087f from bug 749963 on both geocode-glib-3.16.2 and geocode-glib-3.14.0. Many thanks. *** This bug has been marked as a duplicate of bug 749963 ***