beznogno / pyicqt

Automatically exported from code.google.com/p/pyicqt
GNU General Public License v2.0
0 stars 0 forks source link

Failure instance: Traceback: twisted.internet.error.ConnectionLost, Connection to the other side was lost in a non-clean fashion. #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Disconnect of user is occured periodicaly
Version of pyicq-t: 0.8b

The part of the debug output:

[2008-01-24 09:54:50] INFO :: morozov@im.myoffice.spb.ru :: Session :: 
onPresence :: {'el': <twisted.words.xish.domish.Element object at 
0xb799882c>} ::    [2008-01-24 09:54:50] INFO :: 
morozov@im.myoffice.spb.ru :: Session :: onPresence :: {'status': 
None, 'el': <twisted.words.xish.domish.Element object at 
0xb799882c>, 'froj': <twisted.words.protocols.jabber.jid.JID instance at 
0xb798732c>, 'show': None, 'url': None, 'fro': 
u'morozov@im.myoffice.spb.ru/student',
'ptype': None, 'avatarType': '', 'avatarHash': '', 'toj': 
<twisted.words.protocols.jabber.jid.JID instance at 0xb798798c>, 'to': 
u'98899903@icq.im.myoffice.spb.ru', 'child': 
<twisted.words.xish.domish.Element object at 
0xb78f0a4c>, 'nickname': '', 'priority': u'5'} :: Parsed presence packet        

[2008-01-24 09:54:50] Received extended status info for 228035092: [1, 
33, 128, 0, 2222778547L, '\x00\x02\x04\x00\x00\r\x04\x00']                      

[2008-01-24 09:54:50] Received extended status info for 228035092: [1, 
33, 128, 0, 2222778548L, '\x00\x06\x04\x04\x00\x00\x00\x00']
[2008-01-24 09:54:50]    unknown extended status type: 6                        

data: '\x00\x06\x04\x04\x00\x00\x00\x00'                                        

[2008-01-24 09:54:50] Received Self User Info [1, 15, 128, 0, 
2222778607L, '\t228035092\x00\x00\x00\x0f\x00\x01\x00\x02\x00P\x00\x06\x00\x04 
\x00\x00\x00\x00\x05\x00\x04?\x98\xf3\xc9\x00\r\x00 
\tF\x13FL\x7f\x11\xd1\x82"DEST\x00\x00\tF\x13NL\x7f\x11\xd1\x82"DEST\x00\x00\x00
\x1d\x00\x1c\x00\x01\x01\x10\xd7\x80\xd
4;
\xb1\xe6b\xd8\xbf\x9d\xa6\xb78\x9c\xcdu\x00\x06\x04\x04\x00\x00\x00\x00\x00\'\x0
0\x04G\x984\xb4\x00\x0f\x00\x04\x00\x00\x02\xc7\x00\x03\x00\x04G\x983r\x00\n\x00
\x04R\x8cQF\x00"\x00\x02\xb8\x19\x00\x1e\x00\x04\x00\x00\x00\x00\x00
(\x00\x01\x08\x00#\x00\x04G\x97\t\xbb\x00)\x00\x04G\x984\xb4\x00&\x00\x04G\x97\t
\xbb']                                                                          

[2008-01-24 09:54:50] unknown tlv for user 228035092
        t: 0x22                                                                                                                                                     
v: '\xb8\x19'                                                                   

[2008-01-24 09:54:50] unknown tlv for user 228035092                            

t: 0x27
        v: 'G\x984\xb4'                                                                                                                                     
[2008-01-24 09:54:50] unknown tlv for user 228035092                            

t: 0x28                                                                         

v: '\x08'
[2008-01-24 09:54:50] unknown tlv for user 228035092                            

t: 0x29                                                                         

v: 'G\x984\xb4'                                                                 

[2008-01-24 09:54:50] unknown tlv for user 228035092
        t: 0x23                                                                                                                                                     
v: 'G\x97\t\xbb'                                                                

[2008-01-24 09:54:50] unknown tlv for user 228035092                            

t: 0x26
        v: 'G\x97\t\xbb'                                                                                                                                    
[2008-01-24 09:54:50] AIM Extended Status: user 228035092                       

v: '\x00\x01\x01\x10\xd7\x80\xd4;
\xb1\xe6b\xd8\xbf\x9d\xa6\xb78\x9c\xcdu\x00\x06\x04\x04\x00\x00\x00\x00'        

[2008-01-24 09:54:50]    extracted icon hash: extflags = 0x1, iconhash = 
d780d43bb1e662d8bf9da6b7389ccd75
[2008-01-24 09:54:50]    unknown extended status type: 6                        

data: '\x00\x06\x04\x04\x00\x00\x00\x00'
[2008-01-24 09:54:50] INFO :: morozov@im.myoffice.spb.ru :: icqt.B :: 
receivedSelfInfo :: {'user': <OSCARUser 228035092, flags ['free', 'icq'], 
online for 11 minutes, idle for 0 minutes, caps ['icon', 'unicode']>} ::
[2008-01-24 09:54:50] Exception in thread Thread-145:
[2008-01-24 09:54:50] Traceback (most recent call last):
[2008-01-24 09:54:50]   File "/usr/lib/python2.3/threading.py", line 436, 
in __bootstrap
[2008-01-24 09:54:50]     self.run()
[2008-01-24 09:54:50]   File "/usr/local/pyicq-t/src/tlib/scheduler.py", 
line 79, in run
[2008-01-24 09:54:50]     self.__process(snac)
[2008-01-24 09:54:50]   File "/usr/local/pyicq-t/src/tlib/scheduler.py", 
line 90, in __process
[2008-01-24 09:54:50]     self.handler(snac)
[2008-01-24 09:54:50]   File "/usr/local/pyicq-t/src/tlib/oscar.py", line 
625, in sendFLAP
[2008-01-24 09:54:50]     
reactor.callFromThread(self.transport.write,head+str(data))
[2008-01-24 09:54:50]   
File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 
195, in callFromThread
[2008-01-24 09:54:50]     self.callLater(0, f, *args, **kw)
[2008-01-24 09:54:50]   
File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 
374, in callLater
[2008-01-24 09:54:50]     insort(self._pendingTimedCalls, tple)
[2008-01-24 09:54:50]   File "/usr/lib/python2.3/bisect.py", line 16, in 
insort_right
[2008-01-24 09:54:50]     if x < a[mid]: hi = mid
[2008-01-24 09:54:50] IndexError: list index out of range
[2008-01-24 09:54:50]
[2008-01-24 09:54:58] INFO :: morozov@im.myoffice.spb.ru :: icqt.B :: 
connectionLost :: {'message': 'Oversize arg', 'reason': 
<twisted.python.failure.Failure 
twisted.internet.error.ConnectionLost>} :: ICQ connection lost! Reason: 
[Failure instance: Traceback: twisted.internet.error.ConnectionLost, 
Connection to the other side was lost in a non-clean fashion.
        ]
[2008-01-24 09:54:58] INFO :: morozov@im.myoffice.spb.ru :: Session :: 
sendMessage :: {'body': 'Oversize arg', 'delay': 
None, 'fro': 'icq.im.myoffice.spb.ru', 'mtype': 'error', 'to': 
u'morozov@im.myoffice.spb.ru', 'xhtml': None, 'nickname': None} ::
[2008-01-24 09:54:58] INFO ::  ::  :: sendMessage :: {'body': 'Oversize 
arg', 'delay': 
None, 'fro': 'icq.im.myoffice.spb.ru', 'mtype': 'error', 'to': 
u'morozov@im.myoffice.spb.ru', 'xhtml': None, 'nickname': 
None, 'pytrans': <main.PyTransport instance at 0xb7e8c6ec>} ::
[2008-01-24 09:54:58] Connection Lost! <legacy.icqt.B instance at 
0xb150362c>
[2008-01-24 09:54:58] INFO :: morozov@im.myoffice.spb.ru :: Session :: 
removeMe :: {} ::
[2008-01-24 09:54:58] INFO :: morozov@im.myoffice.spb.ru :: Session :: 
sendPresence :: {'status': None, 'show': None, 'url': 
None, 'fro': 'icq.im.myoffice.spb.ru', 'avatarHash': 
None, 'ptype': 'unavailable', 'priority': None, 'to': 
u'morozov@im.myoffice.spb.ru', 'nickname': None, 'payload': []} ::
[2008-01-24 09:54:58] INFO :: morozov@im.myoffice.spb.ru :: 
glue.LegacyConnection :: removeMe :: {'icq2jid': <function icq2jid at 
0xb79d6d4c>} ::
[2008-01-24 09:54:58] INFO :: morozov@im.myoffice.spb.ru :: 
ContactList :: removeMe :: {} ::

Original issue reported on code.google.com by blsha...@gmail.com on 24 Jan 2008 at 8:55

GoogleCodeExporter commented 9 years ago
It's python problem:
[2008-01-24 09:54:50]   File "/usr/lib/python2.3/bisect.py", line 16, in 
insort_right
[2008-01-24 09:54:50]     if x < a[mid]: hi = mid
[2008-01-24 09:54:50] IndexError: list index out of ran
Python 2.3 obsolete. Use 2.5

Original comment by r000ns...@gmail.com on 5 Sep 2008 at 10:35

GoogleCodeExporter commented 9 years ago
thanx

Original comment by blsha...@gmail.com on 5 Sep 2008 at 11:08