[Telepathy] Type Conversion Error in PyGI tp-glib

Mystilleef mystilleef at gmail.com
Sun Jun 12 00:12:39 PDT 2011


I get the following error when I use an integer parameter
during account creation:

Traceback (most recent call last):
  File "/home/lateef/teletest/AccountCreator.py", line 75, in __create_async_cb
    account = telepathy_account_manager.create_account_finish(result)
  File "/usr/lib/python2.7/site-packages/gi/types.py", line 44, in function
    return info.invoke(*args)
glib.GError: org.freedesktop.DBus.GLib.UnmappedError.McdAccountManagerError.Code0:
Failed to set parameter: parameter keepalive-interval must be of type
guint, not gint

Python only uses ints, no uints. And I can't find a way to
convert from Python ints to Glib uints.

I'm I doing something wrong? Or is this a bug?


More information about the telepathy mailing list