New submission from Arie Skliarouk <sklia...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8795> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com