gramps-project / flatpak

Manifest and data files required to make a Gramps Flatpak
3 stars 4 forks source link

goocanvas is not findable #2

Closed OzarkShepherd closed 3 years ago

OzarkShepherd commented 4 years ago

When I had goocanvas 2 in the flatpak, graphviz could not find goocanvas 2.

Nick-Hall commented 4 years ago

Is this an error from a graph report? It may be looking to run graphviz from the command line.

OzarkShepherd commented 4 years ago

No, it was an error that popped up when I started Gramps due to the GraphView addon. Before the flatpak, I had the GraphView add-on installed on my prior Gramps installation. So when I made the flatpak and ran it, Gramps opened up my genealogy file and prior Gramps settings. Since Graphview couldn't find goocanvas 2, it threw the error at startup about not finding goocanvas 2. However, I had goocanvas2, Graphviz, and pygraphviz installed in the flatpak at that time. So what I did was remove GraphView from my addons, kept graphviz in the flatpak, and took out goocanvas 2 and pygraphviz to possibly deal with later since they were optional dependencies.

OzarkShepherd commented 3 years ago

I've revisited Goocanvas 2 for the past few days in my testing fork, and still have the same problem of Goocanvas 2 (and 3) not being found. The picture shows the result of running the Gramps flatpak from terminal in my VM with GooCanvas installed. I'm wondering if the canberra-gtk-module error is a related issue, but internet searches show it has been around for a while with other flatpaks. Screenshot from 2021-02-11 13-35-08 I tried installing Gnome gobject introspection as a substitute for gir1.2-goocanvas-2.0, for which I couldn't find an archive that isn't a deb file. The result was that the Gramps flatpak stopped launching the GUI. The dependencies mentioned should be part of the Gnome Platform that gets installed with the flatpak, but they are not being found. Screenshot from 2021-02-10 12-55-37 So that is the current status of GooCanvas in the flatpak.

OzarkShepherd commented 3 years ago

I needed to point Goocanvas to the typelib path, it is resolved in PR #14