Bug#816855: gramps: unable to display places in geography view
Control: tags -1 pending Hi, Confirmed fixed in 4.2.3 which I am in the middle of packaging. Regards, Ross signature.asc Description: OpenPGP digital signature
Bug#816855: gramps: unable to display places in geography view
Upstream Issue 0009207 Resolved - Fix will be in Gramps 4.2.3 when released. https://gramps-project.org/bugs/view.php?id=9207 Fixed commits for Gramps 4.2.3 https://github.com/gramps-project/gramps/commit/97fbbfa31c92f7bcc861d3bded967c69d83b4f1f https://github.com/gramps-project/gramps/commit/037f8607e05a8c2f15ef7716982fdda6ec910412 On 6 March 2016 at 10:10, Sam Manzi wrote: > Related upstream issue: 0009207: geography view Location could not convert > string to float > https://gramps-project.org/bugs/view.php?id=9207 > > > On 6 March 2016 at 07:00, IOhannes m zmoelnig wrote: > >> Package: gramps >> Version: 4.2.2~dfsg-1 >> Severity: normal >> >> Dear Maintainer, >> >> today i discovered that the "geography view" stopped working (i'm pretty >> sure it >> did work, but don't know the last version of gramps where this is true). >> >> The problem is, that I store the coordinates of my places in >> degree/minutes/seconds (e.g. "51° 28′ 48″ N") and gramps fails to >> convert these >> coordinates into floating point (51.48). >> Btw, gramps does a syntax-check when I enter the coordinates, and >> verifies that >> the above coordinates are fine; but when I want to display the places, I >> get a >> traceback: >> >> > Traceback (most recent call last): >> > File "/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py", line >> 966, in __create_page >> > page_display = page.get_display() >> > File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", >> line 389, in get_display >> > self.top = self.build_interface() >> > File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", >> line 162, in build_interface >> > widget = self.build_widget() >> > File >> "/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/osmgps.py", line >> 115, in build_widget >> > self.change_map(None, config.get("geography.map_service")) >> > File >> "/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/osmgps.py", line >> 172, in change_map >> > self.goto_handle(handle=None) >> > File >> "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", line >> 176, in goto_handle >> > self.build_tree() >> > File >> "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", line >> 194, in build_tree >> > self._createmap(active) >> > File >> "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", line >> 279, in _createmap >> > self.osm.set_center_and_zoom(float(place.get_latitude()), >> > ValueError: could not convert string to float: '51° 28′ 48″ N' >> >> Attached is a minimal database (consisting of a single place), that >> exhibits the problem. >> Basically, you only have to go to the "Geography" view and select "All >> known places". >> (sometimes i have to switch to another menu and then back after that). >> >> -- System Information: >> Debian Release: stretch/sid >> APT prefers unstable >> APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, >> 'experimental') >> Architecture: amd64 (x86_64) >> Foreign Architectures: i386 >> >> Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) >> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) >> Shell: /bin/sh linked to /bin/dash >> Init: systemd (via /run/systemd/system) >> >> Versions of packages gramps depends on: >> ii gir1.2-gtk-3.03.18.8-1 >> ii librsvg2-22.40.13-3 >> ii python3-bsddb36.1.0-1+b2 >> ii python3-gi3.18.2-2 >> ii python3-gi-cairo 3.18.2-2 >> pn python3:any >> ii xdg-utils 1.1.1-1 >> >> Versions of packages gramps recommends: >> ii gir1.2-gexiv2-0.100.10.3-2 >> ii gir1.2-osmgpsmap-1.0 1.1.0-1 >> ii graphviz 2.38.0-12+b1 >> ii python3-icu 1.9.2-2+b2 >> >> Versions of packages gramps suggests: >> ii fonts-freefont-ttf20120503-4 >> pn gir1.2-goocanvas-2.0 >> ii gir1.2-gtkspell3-3.0 3.0.7-2 >> ii python3-pil 3.1.1-1 >> ii rcs 5.9.4-3 >> >> -- no debconf information >> > >
Bug#816855: gramps: unable to display places in geography view
Related upstream issue: 0009207: geography view Location could not convert string to float https://gramps-project.org/bugs/view.php?id=9207 On 6 March 2016 at 07:00, IOhannes m zmoelnig wrote: > Package: gramps > Version: 4.2.2~dfsg-1 > Severity: normal > > Dear Maintainer, > > today i discovered that the "geography view" stopped working (i'm pretty > sure it > did work, but don't know the last version of gramps where this is true). > > The problem is, that I store the coordinates of my places in > degree/minutes/seconds (e.g. "51° 28′ 48″ N") and gramps fails to convert > these > coordinates into floating point (51.48). > Btw, gramps does a syntax-check when I enter the coordinates, and verifies > that > the above coordinates are fine; but when I want to display the places, I > get a > traceback: > > > Traceback (most recent call last): > > File "/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py", line > 966, in __create_page > > page_display = page.get_display() > > File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", > line 389, in get_display > > self.top = self.build_interface() > > File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", > line 162, in build_interface > > widget = self.build_widget() > > File > "/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/osmgps.py", line > 115, in build_widget > > self.change_map(None, config.get("geography.map_service")) > > File > "/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/osmgps.py", line > 172, in change_map > > self.goto_handle(handle=None) > > File > "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", line > 176, in goto_handle > > self.build_tree() > > File > "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", line > 194, in build_tree > > self._createmap(active) > > File > "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", line > 279, in _createmap > > self.osm.set_center_and_zoom(float(place.get_latitude()), > > ValueError: could not convert string to float: '51° 28′ 48″ N' > > Attached is a minimal database (consisting of a single place), that > exhibits the problem. > Basically, you only have to go to the "Geography" view and select "All > known places". > (sometimes i have to switch to another menu and then back after that). > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, > 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages gramps depends on: > ii gir1.2-gtk-3.03.18.8-1 > ii librsvg2-22.40.13-3 > ii python3-bsddb36.1.0-1+b2 > ii python3-gi3.18.2-2 > ii python3-gi-cairo 3.18.2-2 > pn python3:any > ii xdg-utils 1.1.1-1 > > Versions of packages gramps recommends: > ii gir1.2-gexiv2-0.100.10.3-2 > ii gir1.2-osmgpsmap-1.0 1.1.0-1 > ii graphviz 2.38.0-12+b1 > ii python3-icu 1.9.2-2+b2 > > Versions of packages gramps suggests: > ii fonts-freefont-ttf20120503-4 > pn gir1.2-goocanvas-2.0 > ii gir1.2-gtkspell3-3.0 3.0.7-2 > ii python3-pil 3.1.1-1 > ii rcs 5.9.4-3 > > -- no debconf information >
Bug#816855: gramps: unable to display places in geography view
Package: gramps Version: 4.2.2~dfsg-1 Severity: normal Dear Maintainer, today i discovered that the "geography view" stopped working (i'm pretty sure it did work, but don't know the last version of gramps where this is true). The problem is, that I store the coordinates of my places in degree/minutes/seconds (e.g. "51° 28′ 48″ N") and gramps fails to convert these coordinates into floating point (51.48). Btw, gramps does a syntax-check when I enter the coordinates, and verifies that the above coordinates are fine; but when I want to display the places, I get a traceback: > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/gramps/gui/viewmanager.py", line 966, > in __create_page > page_display = page.get_display() > File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", line > 389, in get_display > self.top = self.build_interface() > File "/usr/lib/python3/dist-packages/gramps/gui/views/pageview.py", line > 162, in build_interface > widget = self.build_widget() > File "/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/osmgps.py", > line 115, in build_widget > self.change_map(None, config.get("geography.map_service")) > File "/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/osmgps.py", > line 172, in change_map > self.goto_handle(handle=None) > File "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", > line 176, in goto_handle > self.build_tree() > File "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", > line 194, in build_tree > self._createmap(active) > File "/usr/lib/python3/dist-packages/gramps/plugins/view/geoplaces.py", > line 279, in _createmap > self.osm.set_center_and_zoom(float(place.get_latitude()), > ValueError: could not convert string to float: '51° 28′ 48″ N' Attached is a minimal database (consisting of a single place), that exhibits the problem. Basically, you only have to go to the "Geography" view and select "All known places". (sometimes i have to switch to another menu and then back after that). -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gramps depends on: ii gir1.2-gtk-3.03.18.8-1 ii librsvg2-22.40.13-3 ii python3-bsddb36.1.0-1+b2 ii python3-gi3.18.2-2 ii python3-gi-cairo 3.18.2-2 pn python3:any ii xdg-utils 1.1.1-1 Versions of packages gramps recommends: ii gir1.2-gexiv2-0.100.10.3-2 ii gir1.2-osmgpsmap-1.0 1.1.0-1 ii graphviz 2.38.0-12+b1 ii python3-icu 1.9.2-2+b2 Versions of packages gramps suggests: ii fonts-freefont-ttf20120503-4 pn gir1.2-goocanvas-2.0 ii gir1.2-gtkspell3-3.0 3.0.7-2 ii python3-pil 3.1.1-1 ii rcs 5.9.4-3 -- no debconf information places-bug.gramps Description: application/gzip