[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-24 Thread Vinay Sajip
Vinay Sajip added the comment: - Original Message > From: Arie Skliarouk > How come the fix from October 21 have not got into Python 2.6.5 > that is packaged into ubuntu 10.04? Not all bug-fixes are automatically backported from trunk to release26-maint branch, which is where 2.6.x

[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-24 Thread Arie Skliarouk
Arie Skliarouk added the comment: How come the fix from October 21 have not got into Python 2.6.5 that is packaged into ubuntu 10.04? I overwrote the handlers.py from existing python 2.6.5 installation with the patched version and verified that utf8-encoded logs pass properly now. Thank you!

[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-24 Thread Vinay Sajip
Vinay Sajip added the comment: The message is a misleading one which seems to happen because a Unicode object is passed to the socket. This was fixed in trunk in r75586 (21 October 2009). I've now backported it to release26-maint (r81494). -- resolution: -> fixed status: open -> clo

[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> vinay.sajip nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-23 Thread Arie Skliarouk
New submission from Arie Skliarouk : I am trying to send utf8 strings over syslog/udp and get strange error: Traceback (most recent call last): File "/usr/lib/python2.6/logging/handlers.py", line 788, in emit self.socket.sendto(msg, self.address) TypeError: sendto() takes exactly 3 argument