Undefined symbol when using gi (GObject Introspection) in python
I am working on a project and I want to use Gtd library through gi in python. However, when I try any function call it returns an error
gi.repository.GLib.Error: g-invoke-error-quark: Could not locate gtd_[function]: 'gtd_[function]': python3: undefined symbol: gtd_[function] (1)
Where [function]
is the Gtd function i'm trying to call.
code to reproduce:
from gi.repository import Gtd
Gtd.Manager.get_default() # or any other function
gnome-todo version: 3.28.1
under Fedora 29 specefically gnome-todo-3.28.1-2.fc29.x86_64
source
Any ideas?