Gramps-6.0.8 on Slackware -current. Slackware’s gexiv2 package was recently upgraded to version 0.16.0. When I launch Gramps after that upgrade, I get a warning that the gexiv module hasn’t been loaded (see attached).
Recompiled Gramps, hoping that it would pick up the new libraries, but no change
Not particularly important, I have never tried to access exiv data from within Gramps. I guess that a simple editing of some source file could fix it, but don’t know where to look (checked a few _init_.py files but couldn’t find anything related to gexiv).
I’ve had a similar issue in a different distribution. This is because gramps requires version 0.10, but the distribution does not provide it (only a newer version):
gi.require_version("GExiv2", "0.10")
This pattern is present in gramps/grampsapp.py, gramps/plugins/lib/libmetadata.py and gramps/plugins/gramplet/gramplet.gpr.py. Providing GExiv2 0.10 should fix the issue.
Thanks a lot, @roptat , for giving me the relevant source files. Rather than downgrading (creating issues with other applications) or keeping two versions installed, I patched those files so that they have
gi.require_version("GExiv2", "0.16")
Rebuilt gramps, no more warning about unloaded module.