My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 22: Google Talk client chokes on JEP-0022 typing notifications sent by PyICQ-t
  Back to list
Status:  WontFix
Owner:  ----
Closed:  Dec 2008


 
Reported by jadest...@gmail.com, Dec 9, 2007
 Posted by xfyre at 2006-04-02 06:54:00

Actually the problem occurs only in native GTalk client, so I'm not sure
this is
pyicq-t issue. When I'm initiating chat session, sending message to ICQ
contact,
it goes offline right after I've sent my message (or maybe it happens at the
moment when he/she starts typing, so it's probably typing notification
problem).

The part of log follows (relevant UIN is 66962251):

=====
[2006-04-02 10:29:11] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'status': None, 'el': <twisted.words.xish.domish.Element object at
0xb734d90c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0xb746db2c>, 'show': None, 'url': None, 'fro':
u'ilya.obshadko@gmail.com/Talk.v91D1B3AFC3', 'avatarHash': '',
'avatarType': '',
'ptype': u'probe', 'toj': <twisted.words.protocols.jabber.jid.JID instance at
0xb746d7cc>, 'to': u'66962251@icq.matrix.xfyre.com', 'nickname': '',
'priority': None} :: Parsed presence packet
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: Session ::
onMessage ::
{'el': <twisted.words.xish.domish.Element object at 0xb734d90c>} :: 
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: Session ::
onMessage ::
{'body': u'\u043f\u0440\u0438\u0432\u0435\u0442. \u0441
\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c
\u043c\u0435\u0441\u044f\u0446\u0430 \u0432\u0441\u0435 \u0432
\u043f\u043e\u0440\u044f\u0434\u043a\u0435?', 'el':
<twisted.words.xish.domish.Element object at 0xb734d90c>, 'chatStates':
True, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0xb746d26c>, 'fro': u'ilya.obshadko@gmail.com/Talk.v91D1B3AFC3', 'child':
<twisted.words.xish.domish.Element object at 0xb7649eac>, 'composing':
None, 'mID': u'34', 'mtype': u'chat', 'to': u'66962251@icq.matrix.xfyre.com',
'noerror': False, 'error': None, 'xhtml': None, 'messageEvent': False,
'chatStateEvent': u'active', 'autoResponse': 0, 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0xb746d44c>} ::
Message packet
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: Session ::
messageReceived :: {'body': u'\u043f\u0440\u0438\u0432\u0435\u0442. \u0441
\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c
\u043c\u0435\u0441\u044f\u0446\u0430 \u0432\u0441\u0435 \u0432
\u043f\u043e\u0440\u044f\u0434\u043a\u0435?', 'autoResponse': 0, 'resource':
u'Talk.v91D1B3AFC3', 'dest': u'66962251@icq.matrix.xfyre.com', 'mtype':
u'chat',
'source': u'ilya.obshadko@gmail.com', 'noerror': False, 'destr': None, 'xhtml':
None} :: Message
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: glue.LegacyConnection
:: sendMessage :: {'resource': u'Talk.v91D1B3AFC3', 'target':
u'66962251@icq.matrix.xfyre.com', 'autoResponse': 0, 'noerror': False,
'message': u'\u043f\u0440\u0438\u0432\u0435\u0442. \u0441
\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c
\u043c\u0435\u0441\u044f\u0446\u0430 \u0432\u0441\u0435 \u0432
\u043f\u043e\u0440\u044f\u0434\u043a\u0435?', 'xhtml': None} :: 
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: glue.LegacyConnection
:: sendMessage :: {'iconStamp': 1143959359.196749, 'resource':
u'Talk.v91D1B3AFC3', 'target': u'66962251@icq.matrix.xfyre.com', 'message':
u'\u043f\u0440\u0438\u0432\u0435\u0442. \u0441
\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c
\u043c\u0435\u0441\u044f\u0446\u0430 \u0432\u0441\u0435 \u0432
\u043f\u043e\u0440\u044f\u0434\u043a\u0435?', 'uin': u'66962251',
'autoResponse': 0, 'jid2icq': <function jid2icq at 0xb763725c>, 'noerror':
False, 'iconSum': 25319L, 'wantIcon': 0, 'offline': 0, 'xhtml': None,
'iconLen':
1761} :: Going to send info about our icon, length 1761, cksum 25319
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: glue.LegacyConnection
:: sendMessage :: {'iconStamp': 1143959359.196749, 'resource':
u'Talk.v91D1B3AFC3', 'target': u'66962251@icq.matrix.xfyre.com', 'message':
u'\u043f\u0440\u0438\u0432\u0435\u0442. \u0441
\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c
\u043c\u0435\u0441\u044f\u0446\u0430 \u0432\u0441\u0435 \u0432
\u043f\u043e\u0440\u044f\u0434\u043a\u0435?', 'uin': u'66962251',
'autoResponse': 0, 'jid2icq': <function jid2icq at 0xb763725c>, 'noerror':
False, 'iconSum': 25319L, 'wantIcon': 0, 'offline': 0, 'xhtml': None,
'iconLen':
1761} :: 
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: legacylist.LegacyList
:: hasCapability :: {'capability': 'unicode', 'contact': u'66962251'} :: 
[2006-04-02 10:29:19] INFO :: ilya.obshadko@gmail.com :: glue.LegacyConnection
:: sendMessage :: {'iconStamp': 1143959359.196749, 'resource':
u'Talk.v91D1B3AFC3', 'target': u'66962251@icq.matrix.xfyre.com', 'encoding':
'utf-16be', 'message': u'\u043f\u0440\u0438\u0432\u0435\u0442. \u0441
\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c
\u043c\u0435\u0441\u044f\u0446\u0430 \u0432\u0441\u0435 \u0432
\u043f\u043e\u0440\u044f\u0434\u043a\u0435?', 'charset': 'unicode', 'uin':
u'66962251', 'autoResponse': 0, 'jid2icq': <function jid2icq at
0xb763725c>, 'noerror': False, 'iconSum': 25319L, 'wantIcon': 0, 'offline':
0, 'xhtml': None, 'iconLen': 1761} :: Encoding 'utf-16be'
[2006-04-02 10:29:28] INFO :: ilya.obshadko@gmail.com :: icqt.B ::
receiveTypingNotify :: {'type': 'begin', 'icq2jid': <function icq2jid at
0xb76371ec>, 'user': <OSCARUser 66962251, warning level None, flags [],
idle for 0 minutes>} :: 
[2006-04-02 10:29:28] INFO :: ilya.obshadko@gmail.com :: Session ::
sendChatStateNotification :: {'to': u'ilya.obshadko@gmail.com', 'state':
'composing', 'fro': '66962251@icq.matrix.xfyre.com'} :: 
[2006-04-02 10:29:48] INFO :: ilya.obshadko@gmail.com :: icqt.B ::
receiveTypingNotify :: {'type': 'idle', 'icq2jid': <function icq2jid at
0xb76371ec>, 'user': <OSCARUser 66962251, warning level None, flags [],
idle for 0 minutes>} :: 
[2006-04-02 10:29:48] INFO :: ilya.obshadko@gmail.com :: Session ::
sendChatStateNotification :: {'to': u'ilya.obshadko@gmail.com', 'state':
'paused', 'fro': '66962251@icq.matrix.xfyre.com'} :: 
[2006-04-02 10:29:52] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'el': <twisted.words.xish.domish.Element object at 0xb746db2c>} :: 
[2006-04-02 10:29:52] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'status': None, 'el': <twisted.words.xish.domish.Element object at
0xb746db2c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0xb73814cc>, 'show': None, 'url': None, 'fro': u'ilya.obshadko@gmail.com',
'avatarHash': '', 'avatarType': '', 'ptype': u'probe', 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0xb73813ec>, 'to':
u'248728849@icq.matrix.xfyre.com', 'nickname': '', 'priority': None} :: Parsed
presence packet
[2006-04-02 10:29:52] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'el': <twisted.words.xish.domish.Element object at 0xb746db2c>} :: 
[2006-04-02 10:29:52] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'status': None, 'el': <twisted.words.xish.domish.Element object at
0xb746db2c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0xb73813ec>, 'show': None, 'url': None, 'fro': u'ilya.obshadko@gmail.com',
'avatarHash': '', 'avatarType': '', 'ptype': u'probe', 'toj':
<twisted.words.protocols.jabber.jid.JID instance at 0xb73814cc>, 'to':
u'19931965@icq.matrix.xfyre.com', 'nickname': '', 'priority': None} :: Parsed
presence packet
[2006-04-02 10:29:54] channel = 1
[2006-04-02 10:29:54] user = <OSCARUser 66962251, flags ['free', 'icq'],
online for 9 minutes, idle for 0 minutes>, data =
0002003e0501000201060101003400020000041f04400438043204350442002e0020041f043e043a
04300020043d0435043804370432043504410442043d043e002e000b00000013000103
[2006-04-02 10:29:54] tlvs = {19: '\x03', 2:
'\x05\x01\x00\x02\x01\x06\x01\x01\x004\x00\x02\x00\x00\x04\x1f\x04@\x048\x042\x0
45\x04B\x00.\x00 \x04\x1f\x04>\x04:\x040\x00
\x04=\x045\x048\x047\x042\x045\x04A\x04B\x04=\x04>\x00.', 11: ''}
[2006-04-02 10:29:54] unknown TLV for incoming IM, 0013, '\x03'
[2006-04-02 10:29:54] Message data:
'\x05\x01\x00\x02\x01\x06\x01\x01\x004\x00\x02\x00\x00\x04\x1f\x04@\x048\x042\x0
45\x04B\x00.\x00 \x04\x1f\x04>\x04:\x040\x00
\x04=\x045\x048\x047\x042\x045\x04A\x04B\x04=\x04>\x00.'
[2006-04-02 10:29:54] INFO :: ilya.obshadko@gmail.com :: icqt.B ::
receiveMessage :: {'multiparts': [('\x04\x1f\x04@\x048\x042\x045\x04B\x00.\x00
\x04\x1f\x04>\x04:\x040\x00
\x04=\x045\x048\x047\x042\x045\x04A\x04B\x04=\x04>\x00.', 'unicode',
'standard')], 'flags': ['typingnot'], 'user': <OSCARUser 66962251, flags
['free', 'icq'], online for 9 minutes, idle for 0 minutes>, 'icq2jid':
<function icq2jid at 0xb76371ec>} :: 66962251
[('\x04\x1f\x04@\x048\x042\x045\x04B\x00.\x00 \x04\x1f\x04>\x04:\x040\x00
\x04=\x045\x048\x047\x042\x045\x04A\x04B\x04=\x04>\x00.', 'unicode',
'standard')] ['typingnot']
[2006-04-02 10:29:54] INFO :: ilya.obshadko@gmail.com :: icqt.B ::
receiveMessage :: {'sourcejid': '66962251@icq.matrix.xfyre.com', 'encoding':
'utf-16be', 'text': '\x04\x1f\x04@\x048\x042\x045\x04B\x00.\x00
\x04\x1f\x04>\x04:\x040\x00
\x04=\x045\x048\x047\x042\x045\x04A\x04B\x04=\x04>\x00.', 'multiparts':
[('\x04\x1f\x04@\x048\x042\x045\x04B\x00.\x00 \x04\x1f\x04>\x04:\x040\x00
\x04=\x045\x048\x047\x042\x045\x04A\x04B\x04=\x04>\x00.', 'unicode',
'standard')], 'flags': ['typingnot'], 'user': <OSCARUser 66962251, flags
['free', 'icq'], online for 9 minutes, idle for 0 minutes>, 'icq2jid':
<function icq2jid at 0xb76371ec>} :: Using encoding utf-16be
[2006-04-02 10:29:54] INFO ::  :: p :: prepxhtml :: {'s':
'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82.
\xd0\x9f\xd0\xbe\xd0\xba\xd0\xb0
\xd0\xbd\xd0\xb5\xd0\xb8\xd0\xb7\xd0\xb2\xd0\xb5\xd1\x81\xd1\x82\xd0\xbd\xd0\xbe
.'} :: Got '\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82.
\xd0\x9f\xd0\xbe\xd0\xba\xd0\xb0
\xd0\xbd\xd0\xb5\xd0\xb8\xd0\xb7\xd0\xb2\xd0\xb5\xd1\x81\xd1\x82\xd0\xbd\xd0\xbe
.'
[2006-04-02 10:29:54] INFO ::  :: p :: prepxhtml :: {'all_regex':
<_sre.SRE_Pattern object at 0xb7738f20>, 'font_regex':
<_sre.SRE_Pattern object at 0xb72b9e60>, 's':
'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82.
\xd0\x9f\xd0\xbe\xd0\xba\xd0\xb0
\xd0\xbd\xd0\xb5\xd0\xb8\xd0\xb7\xd0\xb2\xd0\xb5\xd1\x81\xd1\x82\xd0\xbd\xd0\xbe
.'} :: Failed
[2006-04-02 10:29:54] INFO :: ilya.obshadko@gmail.com :: Session :: sendMessage
:: {'body': u'\u041f\u0440\u0438\u0432\u0435\u0442. \u041f\u043e\u043a\u0430
\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e.', 'delay': None,
'fro': '66962251@icq.matrix.xfyre.com', 'mtype': 'chat', 'to':
u'ilya.obshadko@gmail.com', 'xhtml': None} :: 
[2006-04-02 10:29:54] INFO ::  :: p :: sendMessage :: {'body':
u'\u041f\u0440\u0438\u0432\u0435\u0442. \u041f\u043e\u043a\u0430
\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e.', 'delay': None,
'fro': '66962251@icq.matrix.xfyre.com', 'mtype': 'chat', 'to':
u'ilya.obshadko@gmail.com', 'xhtml': None, 'pytrans': <main.PyTransport
instance at 0xb72cf84c>} :: 
[2006-04-02 10:29:55] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'el': <twisted.words.xish.domish.Element object at 0xb746dcac>} :: 
[2006-04-02 10:29:55] INFO :: ilya.obshadko@gmail.com :: Session :: onPresence
:: {'status': None, 'el': <twisted.words.xish.domish.Element object at
0xb746dcac>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at
0xb73811cc>, 'show': None, 'url': None, 'fro':
u'ilya.obshadko@gmail.com/Talk.v91D1B3AFC3', 'avatarHash': '',
'avatarType': '',
'ptype': u'probe', 'toj': <twisted.words.protocols.jabber.jid.JID instance at
0xb73816ac>, 'to': u'66962251@icq.matrix.xfyre.com', 'nickname': '',
'priority': None} :: Parsed presence packet
[2006-04-02 10:30:10] INFO :: sheremetyev@gmail.com :: icqt.B :: updateBuddy ::
{'icq2jid': <function icq2jid at 0xb76371ec>, 'user': <OSCARUser
349454752, flags ['free', 'icq'], online for 0 minutes, idle for 0 minutes,
caps
['icq2go', 'icq5unknown1', 'icq_direct', 'icqxtraz', 'serv_rel', 'unicode',
('unknown', 'MirandaM\x00\x04\x03\x00\x00\x03\x05\x03')]>} :: 
[2006-04-02 10:30:10] INFO :: sheremetyev@gmail.com :: legacylist.LegacyList ::
setCapabilities :: {'contact': '349454752', 'caplist': ['icq2go',
'icq5unknown1', 'icq_direct', 'icqxtraz', 'serv_rel', 'unicode', ('unknown',
'MirandaM\x00\x04\x03\x00\x00\x03\x05\x03')]} :: 
[2006-04-02 10:30:10] INFO :: sheremetyev@gmail.com :: Session :: sendPresence
:: {'status': '', 'show': None, 'url': '', 'fro':
'349454752@icq.matrix.xfyre.com', 'avatarHash':
'e94db0da7a929a821529d9486d54ea3269ec429f', 'ptype': None, 'priority': None,
'to': u'sheremetyev@gmail.com', 'nickname': u'\u0410\u0440\u0442\u0443\u0440
\u0422\u0430\u0433\u0438\u0440\u043e\u0432', 'payload':
[<twisted.words.xish.domish.Element object at 0xb75528ec>]} :: 
[2006-04-02 10:30:10] INFO :: sheremetyev@gmail.com :: legacylist.LegacyList ::
updateSSIContact :: {'status': '', 'presence': None, 'url': '', 'show': None,
'ipaddr': '0.0.0.0', 'lanipport': 0L, 'nick': None, 'contact': '349454752',
'lanipaddr': '0.0.0.0', 'icq2jid': <function icq2jid at 0xb76371ec>,
'icqprotocol': 8} :: 
=====

Posted by avb at 2006-05-09 11:36:38

confirm. I got a mail from my user with description of this problem.

Posted by guest at 2006-08-28 22:24:53

Confirm. I've have exactly the same problem as xfyre described.

It's related to typing notifications because of two weird things:
(me=GoogleTalk user connected via PyICQt gateway; icq-user=common icq user)

1. me:start GoogleTalk and see that (for example) 3 icq-users online. Click on
any icq-user - chat windows opens. After 5-20 seconds clicked user goes offline
in GoogleTalk contact list.

2. icq-user: start ICQ5.1 and see that me online. Click on me - chat windows
opens. Type one something (do not send). After 1-2 seconds message appears:
BlackSir(it's me) is typing. I'm not typing, it's icq-user typing!


I don't know if this problem GTalk or PyICQt problem, but it really exist.
Seems
like typing notifications looped with GTalk and I don't know how to get rid of
them.

e-mail/JID:blacksir@gmail.com icq:49365191

Posted by jadestorm at 2006-09-05 19:38:11

What the...  ok thanks for the debugging steps!  I'll look into it!

Posted by guest at 2006-09-06 21:44:01

As far as I know, Google Talk uses JEP-0085 and can't use JEP-0022. It's not
officially confirmed by Google, but I seen it in several forums, for example
here: http://forums.miranda-im.org/showthread.php?t=4291

maybe it helps

e-mail/JID:blacksir@gmail.com icq:49365191


Jan 19, 2008
Project Member #1 d...@jabber.fsinf.de
Is this still valid for current Google Talk clients?
Summary: Google Talk client chokes on JEP-0022 typing notifications sent by PyICQ-t
Dec 12, 2008
Project Member #2 r000ns...@gmail.com
Please reopen ticket if error happens again
Status: WontFix
Owner: ---

Powered by Google Project Hosting