GNOME Bugzilla – Bug 629604
packagekit doesn't work for me
Last modified: 2010-09-15 13:32:51 UTC
I wanted to test the packagekit support but I get the following error in the console: (file-roller:30904): GLib-GIO-CRITICAL **: g_dbus_message_set_signature: assertion `value == NULL || g_variant_is_signature (value)' failed And an error messagebox (see attached image)
Created attachment 170213 [details] packagekit-fileroller.gif
well, it's because packagekit wasn't running in my dbus session, but message error isn't very helpful :?
that message is returned by DBus, but using the error type we could display a more meaningful message.
The code is buggy: g_dbus_proxy_call (proxy, "InstallPackageNames", g_variant_new ("(u^asms)", xid, names, "hide-confirm-search,hide-finished,hide-warning"), dbus doesn't support "m" types yet, AND the service doesn't even use "m" here! The signature must be (u^ass).
..and the timeout must be disabled using G_MAXINT instead of -1
This is now fixed in current master, thank you. (The commit was approved by the release team)
Cool! One last thing missing is that the message title "Could not create the archive" is not appropriate. But that implies a string change and is not a big issue.