Is this error easy to reproduce?  I understand you're running the
transport for many users, so I'm not sure if you know exactly who/what
is causing the issue.

Would it be possible to run the transport with <dumpProtocol/> enabled
and redirect stdout/stderr to a file.  (This will dump the underlying
protocol).  If you can capture this exception in the output, then I
can have a look at why that data isn't present.

On 12/19/06, Safford, Brian <[EMAIL PROTECTED]> wrote:
That seemed to take care of the unicode tracebacks, but now we're seeing
these:

Dec 19 10:09:37 plimex1 eds_PyYIMt_1: Tue 19 Dec 2006 10:09:37 - CVS
1.63
Dec 19 10:09:37 plimex1 eds_PyYIMt_1: Traceback (most recent call last):
Dec 19 10:09:37 plimex1 eds_PyYIMt_1:   File "PyYIMt.py", line 1316, in
?
Dec 19 10:09:37 plimex1 eds_PyYIMt_1:     rdsocketlist[each].Process()
Dec 19 10:09:37 plimex1 eds_PyYIMt_1:   File
"/home/jabber/foo/xmpppy/yahoo-transport/ylib.py", line 704, in Process
Dec 19 10:09:37 plimex1 eds_PyYIMt_1:     self.ymsg_msg(s,t)
Dec 19 10:09:37 plimex1 eds_PyYIMt_1:   File
"/home/jabber/foo/xmpppy/yahoo-transport/ylib.py", line 341, in ymsg_msg
Dec 19 10:09:37 plimex1 eds_PyYIMt_1:     self.handlers['message'](self,
pay[each][4], msg)
Dec 19 10:09:37 plimex1 eds_PyYIMt_1: KeyError: 4

I *have* commented the last line in y_email as you suggested.

Brian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Norman
Rasmussen
Sent: Tuesday, December 19, 2006 3:50 AM
To: PyTransports Discussion
Subject: Re: [py-transports] Traceback for yahoo-transport

On 12/18/06, Safford, Brian <[EMAIL PROTECTED]> wrote:
> Have been getting these tracebacks fairly regularly:
> Dec 18 05:40:46 plimex1 eds_PyYIMt_1: UnicodeDecodeError: 'utf8' codec

> can't decode byte 0x81 in position 4: unexpected code byte Not sure
> what other information might be required. I believe I am using the
> latest files.

okay, I've added some code that should help, yahoo.py v1.63.

I haven't tested it a lot, but I've done enough testing to make sure the
transport still loads and can send and receive messages.  The fix should
remove the exceptions, and do a best effort to send the message to the
xmpp side.

--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports



--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to