homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skliarie
Recipients skliarie
Date 2010年05月23日.11:28:40
SpamBayes Score 0.0010932853
Marked as misclassified No
Message-id <1274614124.24.0.553377006251.issue8795@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010年05月23日 11:28:44skliariesetrecipients: + skliarie
2010年05月23日 11:28:44skliariesetmessageid: <1274614124.24.0.553377006251.issue8795@psf.upfronthosting.co.za>
2010年05月23日 11:28:42skliarielinkissue8795 messages
2010年05月23日 11:28:42skliariecreate

AltStyle によって変換されたページ (->オリジナル) /