GNOME Bugzilla – Bug 674762
cannot assign method calls to Gio.DBusInterfaceVTable
Last modified: 2012-04-25 05:35:25 UTC
Hi, this code causes error, and I need it get fixed ASAP, since I use it in my app (moved from dbus-python, because of GVariants). Also, could you advice me, how to share whole object over dbus? (I was not able any example or pythonic docs) Thanks ** ERROR:/build/buildd/pygobject-3.2.0/gi/pygi-argument.c:1029:_pygi_argument_from_object: code should not be reached CODE: vtable = Gio.DBusInterfaceVTable() vtable.method_call = method_call
With GI you unfortunately cannot do "server-side" gdbus (i. e. exporting objects). The error you see is bug 656325, which is blocked by bug 656554. Client-side D-BUS (i. e. calling methods on objects) works fine with Gio. For now I recommend to use dbus-python for writing D-BUS servers. *** This bug has been marked as a duplicate of bug 656325 ***