[Pidgin] #7432: BUG in ./dbus-analyze-functions.py | Dbus(libpurple-client) interface generate error (purple-client-bindings.c)

Pidgin trac at pidgin.im
Mon Dec 22 10:57:33 EST 2008


#7432: BUG in ./dbus-analyze-functions.py | Dbus(libpurple-client) interface
generate error (purple-client-bindings.c)
-----------------------+----------------------------------------------------
 Reporter:  Math2Gold  |        Owner:  rlaager  
     Type:  patch      |       Status:  closed   
Milestone:  2.5.3      |    Component:  libpurple
  Version:  2.5.2      |   Resolution:  fixed    
 Keywords:  dbus       |  
-----------------------+----------------------------------------------------

Comment(by darkrain42):

 This patch basically breaks the Dbus ABI by changing the types of a number
 of parameters. Ubuntu's Fast User Switching Applet trying to change the
 status via dbus gives me this:
 {{{
 method call sender=:1.5443 -> dest=:1.4769
 path=/im/pidgin/purple/PurpleObject;
 interface=im.pidgin.purple.PurpleInterface;
 member=PurpleSavedstatusFindTransientByTypeAndMessage
    uint32 3
    string ""
 error sender=:1.4769 -> dest=:1.5443
 error_name=org.freedesktop.DBus.Error.InvalidArgs reply_serial=36
    string "Argument 0 is specified to be of type "int32", but is actually
 of type "uint32"
 "
 method call sender=:1.5443 -> dest=:1.4769
 path=/im/pidgin/purple/PurpleObject;
 interface=im.pidgin.purple.PurpleInterface; member=PurpleSavedstatusNew
    string ""
    uint32 3
 error sender=:1.4769 -> dest=:1.5443
 error_name=org.freedesktop.DBus.Error.InvalidArgs reply_serial=37
    string "Argument 1 is specified to be of type "int32", but is actually
 of type "uint32"
 "
 method call sender=:1.5443 -> dest=:1.4769
 path=/im/pidgin/purple/PurpleObject;
 interface=im.pidgin.purple.PurpleInterface;
 member=PurpleSavedstatusGetCurrent
 method return sender=:1.4769 -> dest=:1.5443 reply_serial=38
    int32 4374
 method call sender=:1.5443 -> dest=:1.4769
 path=/im/pidgin/purple/PurpleObject;
 interface=im.pidgin.purple.PurpleInterface;
 member=PurpleSavedstatusGetType
    int32 4374
 method return sender=:1.4769 -> dest=:1.5443 reply_serial=39
    int32 5
 }}}

 Disapproving the patch and recompiling returns it to functioning.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7432#comment:7>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list