osm-gps-map
osm-gps-map copied to clipboard
OsmGpsMap - Glade-previewer does not want to load it.
Hi! I've tried to use OsmGpsMap in glade 3.28.1, but glade-previewer complains with following error:
Couldn't load builder definition: ../../OpenTacho.glade:122:1 Invalid object type 'OsmGpsMap'
When I remove it from glade UI, it loads fine. Widget is added in extra templates menu:
Any idea how I can resolve this problem?
Maybe it's because ver 1.2 haven't had corrected catalog file... see PR #84
I should've made release quite some time ago..
I've tested it on git master branch to be quite honest, not on official 1.2 release.
Dunno. I don't know much about glade. @dakk - would you be able to help with the issue here?
I think something with the versions in general is a little bit strange.
In Ubuntu
uname@hostname:~$ apt show libosmgpsmap-1.0-1
Package: libosmgpsmap-1.0-1
Version: 1.2.0-1build1
Priority: optional
Section: universe/libs
Source: osm-gps-map
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Debian GIS Project <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 142 kB
Depends: libc6 (>= 2.29), libcairo2 (>= 1.2.4), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.19.12), libsoup2.4-1 (>= 2.41.90)
Conflicts: libosmgpsmap-1.0-0
Replaces: libosmgpsmap-1.0-0
Homepage: https://nzjrs.github.com/osm-gps-map/
Task: ubuntustudio-photography
Download-Size: 41,4 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
Description: GTK+ library to embed OpenStreetMap maps
libosmgpsmap is a library to embed maps in applications that when given GPS
co-ordinates, draws a GPS track, and points of interest on a moving map
display. Downloads map data from a number of websites, including
openstreetmap.org, openaerialmap.org and others.
it is called 1.0-1 but the Version then is 1.2.0?
Using
gi.require_version("OsmGpsMap", "1.0")
works but
gi.require_version("OsmGpsMap", "1.2")
fails... Already played around a lot but didn't get it running the way I think it should run...
I think something with the versions in general is a little bit strange.
In Ubuntu
uname@hostname:~$ apt show libosmgpsmap-1.0-1 Package: libosmgpsmap-1.0-1 Version: 1.2.0-1build1 Priority: optional Section: universe/libs Source: osm-gps-map Origin: Ubuntu Maintainer: Ubuntu Developers <[email protected]> Original-Maintainer: Debian GIS Project <[email protected]> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 142 kB Depends: libc6 (>= 2.29), libcairo2 (>= 1.2.4), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.19.12), libsoup2.4-1 (>= 2.41.90) Conflicts: libosmgpsmap-1.0-0 Replaces: libosmgpsmap-1.0-0 Homepage: https://nzjrs.github.com/osm-gps-map/ Task: ubuntustudio-photography Download-Size: 41,4 kB APT-Manual-Installed: yes APT-Sources: http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages Description: GTK+ library to embed OpenStreetMap maps libosmgpsmap is a library to embed maps in applications that when given GPS co-ordinates, draws a GPS track, and points of interest on a moving map display. Downloads map data from a number of websites, including openstreetmap.org, openaerialmap.org and others.
it is called 1.0-1 but the Version then is 1.2.0?
Using
gi.require_version("OsmGpsMap", "1.0")
works but
gi.require_version("OsmGpsMap", "1.2")
fails... Already played around a lot but didn't get it running the way I think it should run...
This is an error of the package on apt; as github said, the current version is 1.2. Regarding gi.require_version, there were still some wrong version numbers into he code.
Hi! I've tried to use OsmGpsMap in glade 3.28.1, but glade-previewer complains with following error:
Couldn't load builder definition: ../../OpenTacho.glade:122:1 Invalid object type 'OsmGpsMap'
When I remove it from glade UI, it loads fine. Widget is added in extra templates menu:
Any idea how I can resolve this problem?
Glade-previewer does not work even for me: but if I create a glade file works well importing it on python/pygtk