[Pidgin] #11958: Get Info on contact doesn't work with Gadu-Gadu protocol.
Pidgin
trac at pidgin.im
Sun Jan 16 07:23:51 EST 2011
#11958: Get Info on contact doesn't work with Gadu-Gadu protocol.
-----------------------------+----------------------------------------------
Reporter: diskape | Owner: bartosz
Type: defect | Status: new
Milestone: Patches welcome | Component: Gadu-Gadu
Version: 2.7.0 | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment(by buzdygan):
I don't know if this will be of any help, but I'm using both Windows and
Linux and here are logs from both when trying to get information on a
contact:
Linux (working correctly):
{{{
Pidgin Debug Log : nie, 16 sty 2011, 10:58:34
(10:58:21) gg: It's time to perform a search...
(10:58:21) gg: ** gg_pubdir50_new(3);
(10:58:21) gg: uin: 12880226
(10:58:21) gg: ** gg_pubdir50_add_n(0x8909d58, 0, "FmNumber", "12880226");
(10:58:21) gg: offset: 0
(10:58:21) gg: ** gg_pubdir50_add_n(0x8909d58, 0, "fmstart", "0");
(10:58:21) gg: ** gg_pubdir50(0x871ffe0, 0x8909d58);
(10:58:21) gg: ** gg_send_packet(0x871ffe0, 0x14, ...);
(10:58:21) gg: // gg_send_packet() partial write(), 41 sent, 0 left, 0
total left
(10:58:21) gg: search sequence number: 1295171901
(10:58:21) gg: ggp_get_info(): Added seq 1295171901(10:58:22) gg: **
gg_watch_fd(0x871ffe0);
(10:58:22) gg: // gg_watch_fd() GG_STATE_CONNECTED
(10:58:22) gg: ** gg_watch_fd_connected(0x871ffe0, 0x890b6d0);
(10:58:22) gg: ** gg_recv_packet(0x871ffe0);
(10:58:22) gg: // gg_recv_packet() header recv(9,0xbfb03514,8) = 8
(10:58:22) gg: // gg_recv_packet() body recv(9,0x890c6f8,76) = 76
(10:58:22) gg: // gg_watch_fd_connected() received pubdir/search reply
(10:58:22) gg: ** gg_pubdir50_handle_reply_sess(0x871ffe0, 0x890b6d0,
0x890c6f8, 76);
(10:58:22) gg: ** gg_pubdir50_new(5);
(10:58:22) gg: ** gg_pubdir50_add_n(0x890d9a0, 0, "FmNumber", "12880226");
(10:58:22) gg: ** gg_pubdir50_add_n(0x890d9a0, 0, "FmStatus", "1");
(10:58:22) gg: ** gg_pubdir50_add_n(0x890d9a0, 0, "birthyear", "1992");
(10:58:22) gg: ** gg_pubdir50_add_n(0x890d9a0, 0, "city", "slupsk");
(10:58:22) gg: ** gg_pubdir50_add_n(0x890d9a0, 0, "firstname", "Jula");
(10:58:22) gg: ggp_pubdir_reply_handler(): seq 1295171901 --> form
0x8909e80(10:58:22) gg: ** gg_pubdir50_get(0x890d9a0, 0, "FmStatus");
(10:58:22) gg: ggp_status_by_id: 1
(10:58:22) gg: ** gg_pubdir50_get(0x890d9a0, 0, "FmNumber");
(10:58:22) gg: ** gg_pubdir50_get(0x890d9a0, 0, "firstname");
(10:58:22) gg: ** gg_pubdir50_get(0x890d9a0, 0, "nickname");
(10:58:22) gg: ** gg_pubdir50_get(0x890d9a0, 0, "city");
(10:58:22) gg: ** gg_pubdir50_get(0x890d9a0, 0, "birthyear");
(10:58:22) gg: ** gg_event_free(0x890b6d0);
}}}
Windows (not working):
{{{
Pidgin Debug Log : 2011-01-15 18:37:56
(18:37:35) gg: It's time to perform a search...
(18:37:35) gg: ** gg_pubdir50_new(3);
(18:37:35) gg: uin: 12880226
(18:37:35) gg: ** gg_pubdir50_add_n(00BB8EE0, 0, "FmNumber", "12880226");
(18:37:35) gg: offset: 0
(18:37:35) gg: ** gg_pubdir50_add_n(00BB8EE0, 0, "fmstart", "0");
(18:37:35) gg: ** gg_pubdir50(00B179E0, 00BB8EE0);
(18:37:35) gg: ** gg_send_packet(00B179E0, 0x14, ...);
(18:37:35) gg: // gg_send_packet() partial write(), 41 sent, 0 left, 0
total left
(18:37:35) gg: search sequence number: 1295113055
(18:37:35) gg: ggp_get_info(): Added seq 1295113055(18:37:35) gg: **
gg_watch_fd(00B179E0);
(18:37:35) gg: // gg_watch_fd() GG_STATE_CONNECTED
(18:37:35) gg: ** gg_watch_fd_connected(00B179E0, 00BBD6C0);
(18:37:35) gg: ** gg_recv_packet(00B179E0);
(18:37:35) gg: // gg_recv_packet() header recv(440,0022E510,8) = 8
(18:37:35) gg: // gg_recv_packet() body recv(440,00BB7A68,76) = 76
(18:37:35) gg: // gg_watch_fd_connected() received pubdir/search reply
(18:37:35) gg: ** gg_pubdir50_handle_reply_sess(00B179E0, 00BBD6C0,
00BB7A68, 76);
(18:37:35) gg: ** gg_pubdir50_new(5);
(18:37:35) gg: ** gg_pubdir50_add_n(00BBB340, 0, "FmNumber", "12880226");
(18:37:35) gg: ** gg_pubdir50_add_n(00BBB340, 0, "FmStatus", "1");
(18:37:35) gg: ** gg_pubdir50_add_n(00BBB340, 0, "birthyear", "1992");
(18:37:35) gg: ** gg_pubdir50_add_n(00BBB340, 0, "city", "slupsk");
(18:37:35) gg: ** gg_pubdir50_add_n(00BBB340, 0, "firstname", "Jula");
(18:37:35) gg: ggp_pubdir_reply_handler(): seq 1315784287 --> form
00000000(18:37:35) g_log: ggp_pubdir_reply_handler: assertion `form !=
NULL' failed
(18:37:35) gg: ** gg_event_free(00BBD6C0);
}}}
I don't understand most of this code, but I can see that on Windows, the
information is received from the server, but it's just not displayed in
the information window.
--
Ticket URL: <http://developer.pidgin.im/ticket/11958#comment:29>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list