Bug 14841

Summary: Exception in "_on_blob_received"
Product: Telepathy Reporter: Julien Enche <julien.enche>
Component: pymsnAssignee: Ali Sabil <ali.sabil>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Julien Enche 2008-03-05 13:20:54 UTC
Sometimes, I get this exception :

DEBUG:Transport:<<< RNG 1004738827 207.46.27.50:1863 CKI 7167187.241206195 ***********@msn.com Pascal%20&%20Isa U messenger.msn.com 1
DEBUG:Transport:<-> Connecting to 207.46.27.50:1863
DEBUG:Transport:>>> ANS 0 trapamoosch@hotmail.com 7167187.241206195 1004738827
DEBUG:Transport:<<< IRO 0 1 1 ***********@msn.com Pascal%20&%20Isa 2254295076
DEBUG:Transport:<<< ANS 0 OK
DEBUG:Transport:<<< MSG ***********@msn.com Pascal%20&%20Isa
	MIME-Version: 1.0\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	P2P-Dest: trapamoosch@hotmail.com\r\n
	\r\n
	00 00 00 00 14 8a 2a 00 00 00 00 00 00 00 00 00
	92 02 00 00 00 00 00 00 92 02 00 00 00 00 00 00
	23 8a 2a 00 00 00 00 00 00 00 00 00 00 00 00 00
	INVITE MSNMSGR:trapamoosch@hotmail.com MSNSLP/1.0\r\n
	To: <msnmsgr:trapamoosch@hotmail.com>\r\n
	From: <msnmsgr:***********@msn.com>\r\n
	Via: MSNSLP/1.0/TLP ;branch={20D6E368-1DD1-4FC1-B7F2-5F79C79290B2}\r\n
	CSeq: 0 \r\n
	Call-ID: {024FAC43-0E81-49C0-BA3C-CB363AA5B273}\r\n
	Max-Forwards: 0\r\n
	Content-Type: application/x-msnmsgr-sessionreqbody\r\n
	Content-Length: 308\r\n
	\r\n
	EUF-GUID: {A4268EEC-FEC5-49E5-95C3-F126696BDBF6}\r\n
	SessionID: 2785752\r\n
	SChannelState: 0\r\n
	Capabilities-Flags: 1\r\n
	AppID: 12\r\n
	Context: PG1zbm9iaiBDcmVhdG9yPSJ0cmFwYW1vb3NjaEBob3RtYWlsLmNvbSIgVHlwZT0iMyIgU0hBMUQ9IjR2eEJXdUZBVStCRkFzWTlOTVQ0RDV6M0ZPVT0iIFNpemU9IjExMTM4IiBMb2NhdGlvbj0iMCIgRnJpZW5kbHk9IiIvPgA=\r\n
	\r\n
	\x00
	00 00 00 00
INFO:protocol:switchboard_manager:New switchboard attached
WARNING:client:Unknown Switchboard Handler class <class 'pymsn.msnp2p.transport.switchboard.SwitchboardP2PTransport'>
DEBUG:Transport:>>> MSG 1 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	00 00 00 00 ea e5 41 44 00 00 00 00 00 00 00 00
	00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00
	14 8a 2a 00 23 8a 2a 00 92 02 00 00 00 00 00 00
	00 00 00 00
INFO:msnp2p:session-manager:blob has SLP (2785752):
INVITE MSNMSGR:trapamoosch@hotmail.com MSNSLP/1.0
To: <msnmsgr:trapamoosch@hotmail.com>
From: <msnmsgr:***********@msn.com>
Via: MSNSLP/1.0/TLP ;branch={20D6E368-1DD1-4FC1-B7F2-5F79C79290B2}
CSeq: 0 
Call-ID: {024FAC43-0E81-49C0-BA3C-CB363AA5B273}
Max-Forwards: 0
Content-Type: application/x-msnmsgr-sessionreqbody
Content-Length: 309

EUF-GUID: {A4268EEC-FEC5-49E5-95C3-F126696BDBF6}
SessionID: 2785752
SChannelState: 0
Capabilities-Flags: 1
AppID: 12
Context: PG1zbm9iaiBDcmVhdG9yPSJ0cmFwYW1vb3NjaEBob3RtYWlsLmNvbSIgVHlwZT0iMyIgU0hBMUQ9IjR2eEJXdUZBVStCRkFzWTlOTVQ0RDV6M0ZPVT0iIFNpemU9IjExMTM4IiBMb2NhdGlvbj0iMCIgRnJpZW5kbHk9IiIvPgA=


INFO:msnp2p:session-manager:Creating new incomming session
DEBUG:Transport:>>> MSG 2 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	00 00 00 00 26 62 ca 3f 00 00 00 00 00 00 00 00
	7c 01 00 00 00 00 00 00 7c 01 00 00 00 00 00 00
	2b 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	MSNSLP/1.0 200 OK\r\n
	To: <msnmsgr:***********@msn.com>\r\n
	From: <msnmsgr:trapamoosch@hotmail.com>\r\n
	Via: MSNSLP/1.0/TLP ;branch={20D6E368-1DD1-4FC1-B7F2-5F79C79290B2}\r\n
	CSeq: 1\r\n
	Call-ID: {024FAC43-0E81-49C0-BA3C-CB363AA5B273}\r\n
	Max-Forwards: 0\r\n
	Content-Type: application/x-msnmsgr-sessionreqbody\r\n
	Content-Length: 64\r\n
	\r\n
	SessionID: 2785752\r\n
	SChannelState: 0\r\n
	Capabilities-Flags: 1\r\n
	\r\n
	\x00
	00 00 00 0c
DEBUG:Transport:>>> MSG 3 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 55 56 c0 5e 00 00 00 00 00 00 00 00
	04 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00
	2c 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	\x00\x00\x00\x00
	00 00 00 0c
DEBUG:Transport:>>> MSG 4 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 00 00 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	2d 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:>>> MSG 5 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a b2 04 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	2e 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:<<< ACK 1
DEBUG:Transport:>>> MSG 6 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 64 09 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	2f 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:>>> MSG 7 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 16 0e 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	30 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:>>> MSG 8 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a c8 12 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	31 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:>>> MSG 9 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 7a 17 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	32 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:>>> MSG 10 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 2c 1c 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	33 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:<<< ACK 2
DEBUG:Transport:<<< ACK 3
DEBUG:Transport:<<< ACK 4
DEBUG:Transport:>>> MSG 11 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a de 20 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	34 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:<<< ACK 5
DEBUG:Transport:>>> MSG 12 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 90 25 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 b2 04 00 00 20 00 00 00
	35 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[1202 bytes of data]
	00 00 00 0c
DEBUG:Transport:>>> MSG 13 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	d8 81 2a 00 16 c4 64 3a 42 2a 00 00 00 00 00 00
	82 2b 00 00 00 00 00 00 40 01 00 00 20 00 00 00
	36 88 79 17 00 00 00 00 00 00 00 00 00 00 00 00
	[320 bytes of data]
	00 00 00 0c
DEBUG:Transport:<<< MSG ***********@msn.com Pascal%20&%20Isa
	MIME-Version: 1.0\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	P2P-Dest: trapamoosch@hotmail.com\r\n
	\r\n
	00 00 00 00 16 8a 2a 00 00 00 00 00 00 00 00 00
	00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00
	26 62 ca 3f 2b 88 79 17 7c 01 00 00 00 00 00 00
	00 00 00 0c
DEBUG:Transport:<<< ACK 6
DEBUG:Transport:<<< ACK 7
DEBUG:Transport:<<< ACK 8
DEBUG:Transport:<<< ACK 9
DEBUG:Transport:<<< ACK 10
DEBUG:Transport:<<< MSG ***********@msn.com Pascal%20&%20Isa
	MIME-Version: 1.0\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	P2P-Dest: trapamoosch@hotmail.com\r\n
	\r\n
	00 00 00 00 15 8a 2a 00 00 00 00 00 00 00 00 00
	64 02 00 00 00 00 00 00 64 02 00 00 00 00 00 00
	b3 8c 2a 00 00 00 00 00 00 00 00 00 00 00 00 00
	INVITE MSNMSGR:trapamoosch@hotmail.com MSNSLP/1.0\r\n
	To: <msnmsgr:trapamoosch@hotmail.com>\r\n
	From: <msnmsgr:***********@msn.com>\r\n
	Via: MSNSLP/1.0/TLP ;branch={645B65DA-4830-49BE-B4D4-F8E3842259B2}\r\n
	CSeq: 0 \r\n
	Call-ID: {024FAC43-0E81-49C0-BA3C-CB363AA5B273}\r\n
	Max-Forwards: 0\r\n
	Content-Type: application/x-msnmsgr-transreqbody\r\n
	Content-Length: 264\r\n
	\r\n
	Bridges: TRUDPv1 TCPv1 SBBridge TURNv1\r\n
	NetID: -405091507\r\n
	Conn-Type: Port-Restrict-NAT\r\n
	TCP-Conn-Type: Symmetric-NAT\r\n
	UPnPNat: true\r\n
	ICF: false\r\n
	Hashed-Nonce: {A676D929-9DC8-43B4-26FD-1ABD640F28F4}\r\n
	SessionID: 2785752\r\n
	SChannelState: 0\r\n
	Capabilities-Flags: 1\r\n
	\r\n
	\x00
	00 00 00 00
DEBUG:Transport:>>> MSG 14 D
	P2P-Dest: ***********@msn.com\r\n
	Content-Type: application/x-msnmsgrp2p\r\n
	\r\n
	00 00 00 00 24 9b eb 65 00 00 00 00 00 00 00 00
	00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00
	15 8a 2a 00 b3 8c 2a 00 64 02 00 00 00 00 00 00
	00 00 00 00
INFO:msnp2p:session-manager:blob has SLP (2785752):
INVITE MSNMSGR:trapamoosch@hotmail.com MSNSLP/1.0
To: <msnmsgr:trapamoosch@hotmail.com>
From: <msnmsgr:***********@msn.com>
Via: MSNSLP/1.0/TLP ;branch={645B65DA-4830-49BE-B4D4-F8E3842259B2}
CSeq: 0 
Call-ID: {024FAC43-0E81-49C0-BA3C-CB363AA5B273}
Max-Forwards: 0
Content-Type: application/x-msnmsgr-transreqbody
Content-Length: 265

Bridges: TRUDPv1 TCPv1 SBBridge TURNv1
NetID: -405091507
Conn-Type: Port-Restrict-NAT
TCP-Conn-Type: Symmetric-NAT
UPnPNat: true
ICF: false
Hashed-Nonce: {A676D929-9DC8-43B4-26FD-1ABD640F28F4}
SessionID: 2785752
SChannelState: 0
Capabilities-Flags: 1


Traceback (most recent call last):
  File "/home/trapamoosch/open-live-messenger/pymsn/msnp2p/session_manager.py", line 52, in <lambda>
    lambda tr, blob: self._on_blob_received(blob))
  File "/home/trapamoosch/open-live-messenger/pymsn/msnp2p/session_manager.py", line 163, in _on_blob_received
    session._on_blob_received(blob)
AttributeError: 'NoneType' object has no attribute '_on_blob_received'
Comment 1 Ali Sabil 2008-10-22 03:04:13 UTC
Fixed in trunk, thanks for the report, and sorry for the long delay.
Comment 2 Baptiste Mille-Mathias 2009-03-21 10:06:32 UTC
I don't know if you prefer I open a new bug or not, but such error still exist in version 0.3.3 on mymsn/butterfly.
https://bugs.edge.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/346418

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.