New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OsmGpsMap-CRITICAL: Map source setup called twice #1283
OsmGpsMap-CRITICAL: Map source setup called twice #1283
Conversation
tried it on Win64, grampsd.exe, 5.1.3v2 + all changes on Gramps51 branch + plus PR 1283: (grampsd.exe:9440): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_data: assertion 'width > 0' failed (grampsd.exe:9440): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed (grampsd.exe:9440): OsmGpsMap-WARNING **: Error getting missing tile (grampsd.exe:9440): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_data: assertion 'width > 0' failed (grampsd.exe:9440): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_data: assertion 'width > 0' failed (ABOUT 50 repetitions, similar to the last 3 lines deleted) gramps.ini has: I HAVEN'T BEEN ABLE TO reproduce this, please disregard this report, consider it as a testing error. |
I tried using only your change on a clean version of 5.1.3-v2 and I got these warnings when I changed trees: (2 repetitions, similar to the last 8 lines deleted) |
@lordemannd that's not a great way to test because a commit may depend on other commits made since the release. Better clone the repo, check out the branch, and copy everything to your package directory. Better still to set up an MSYS2 build environment. Unfortunately the wiki hasn't been updated since @prculley took on building it, but all of the dependencies are packaged so it's a matter of figuring out what you need and installing them with |
I get no more messages on my linux ubuntu 21.04 |
Mingw64 has had 1.1.0 since June 2019 but I don't know if that's what @prculley put in the 5.1.3 AIO. |
In Gramps for windows 5.1.3-v2, prerequisite checker has:
On debian/linux prerequisite checker has:
|
what is the result of "dpkg -l | grep osmgps | cut -b -80" I know _version is always 1.0 but the package gives the real package version. |
The version I use is built from the git repo listed as mingw-w64-x86_64-osmgpsmap-git r483.d275a5d-1. I don't tend to change things unless absolutely necessary, as every time I do it seems that there are a new set of issues to resolve in the msys mingw installation. Regarding build with msys2; https://www.gramps-project.org/wiki/index.php/Gramps_for_Windows_with_MSYS2 is the wiki describing this. We may want to look at older wiki articles like the one you pointed to and either remove them or add pointer to the newer msys2 one. |
I can now reproduce the problem with my ubuntu 21.04. |
That would be strange since MinGW64 is a runtime and build tools for building unix-style libraries and programs on Microsoft Windows. macOS is BSD (a Unix flavor) and doesn't need anything like that. FWIW the macOS build does also have osm-gps-map 1.1.0. Edit: I notice that @nzjrs released 1.2.0 in February and it fixes the dependency on the long-gone gnome-common. That will make building a lot easier, so I'll update the macOS build to that soon. |
@prculley That wiki page definitely needs to be more easily findable. Note, though, that it says to use a different osm-gps-package than what you say you're using. MinGW64 is still using the 1.1.0 tarball from November 2015; the commit indicated by your version says that you built your own package from nzjrs/master in September 2016. BTW, the wiki page needs some updating, the mingw64 repo has moved from https://github.com/alexpux/ to https://github.com/msys2/. And |
As those errors are only warnings and the critical message is gone, this PR shouldn't stop the 5.1.4 release. |
The critical error no longer shows on my patched Windows system. Thank you. |
Looking for in Gtk, I found the following which produce the errors:
So it could be a cairo problem. |
OK. Thanks. I'll go ahead with the release tomorrow. |
testing Win64 5.1.4, with added changes made about Jul 23, all of the Messages: Critical and Warning related to Geography view are gone. |
Fixes #012352
This message is relative to the osm-gps-map library after some changes.