[New-bugs-announce] [issue8795] Error sending utf8 strings over syslog udp protocol

Arie Skliarouk report at bugs.python.org
Sun May 23 13:28:44 CEST 2010


New submission from Arie Skliarouk <skliarie at gmail.com>:

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 arguments (2 given)

See the attached program, at the beginning it has two parameters - log to file or udp and use utf8 or not. It works in all cases but the udp+utf8.

----------
components: Unicode
files: logger_udp_utf8.py
messages: 106330
nosy: skliarie
priority: normal
severity: normal
status: open
title: Error sending utf8 strings over syslog udp protocol
versions: Python 2.6
Added file: http://bugs.python.org/file17445/logger_udp_utf8.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8795>
_______________________________________


More information about the New-bugs-announce mailing list