Bug 18230

Summary: Can't send messages to Xbox360 MSN client
Product: Telepathy Reporter: cin <florijanh>
Component: pymsnAssignee: Ali Sabil <ali.sabil>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description cin 2008-10-26 10:39:02 UTC
Hi,

i send some messages to my xbox but just get always this error:

<pymsn.Contact id='de10a0e5-5c75-4046-bc18-733040c5855f' network='1' account='xxx@gmail.com' memberships='FORWARD | ALLOW | REVERSE'>
<pymsn.Contact id='7fbd0b7c-47f2-41f4-b183-7f498abf6f48' network='1' account='yyy@hotmail.com' memberships='FORWARD | ALLOW'>
<pymsn.Contact id='00000000-0000-0000-0000-000000000000' network='1' account='zzz@gmail.com' memberships='ALLOW | REVERSE'>
DEBUG:Transport:>>> PNG
DEBUG:Transport:<<< 715 9
ERROR:protocol:Notification got error :715 9
DEBUG:Transport:<<< QNG 42
DEBUG:Transport:<<< CHG 10 NLN 1879048192
DEBUG:Transport:<<< MSG Hotmail Hotmail
	MIME-Version: 1.0\r\n
	Content-Type: text/x-msmsgsinitialmdatanotification; charset=UTF-8\r\n
	\r\n
	Mail-Data: <MD><E><I>0</I><IU>0</IU><O>0</O><OU>0</OU></E><Q><QTM>409600</QTM><QNM>204800</QNM></Q></MD>\r\n
	Inbox-URL: /cgi-bin/HoTMaiL\r\n
	Folders-URL: /cgi-bin/folders\r\n
	Post-URL: http://www.hotmail.com\r\n
DEBUG:Transport:<<< UUX 11 0
DEBUG:Transport:<<< ILN 10 AWY xxx@gmail.com 1 loool 1342177280 0
DEBUG:Transport:<<< UBX xxx@gmail.com 1 224
	[payload]
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pymsn/msnp/base.py", line 106, in _dispatch_command
    handler(command)
  File "/usr/lib/python2.5/site-packages/pymsn/msnp/notification.py", line 426, in _handle_UBX
    cm = ElementTree.fromstring(command.payload).find("./CurrentMedia")
  File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid DEBUG:Transport:<<< CHL 0 15637298665784709715
DEBUG:Transport:>>> QRY 12 PROD0114ES4Z%Q5W 34
'74cf717d80073a5d803667d9b19a9bff'
DEBUG:Transport:<<< QRY 12
DEBUG:Transport:>>> PNG
DEBUG:Transport:<<< QNG 45token): line 1, column 147
Comment 1 Louis-Francis Ratté-Boulianne 2010-08-06 06:06:05 UTC
This error is not caused by sending a message but by an user connecting and sending you incorrect XML data. Is the xxx@gmail.com contact the XBox one ? Then the xbox msn client was faulty.

Anyway, we now check if the data is valid XML so it shouldn't happen anymore.

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.