|
From: Chris <cpo...@em...> - 2014-09-02 12:31:58
|
On Tue, 2014-09-02 at 23:32 +1200, Tony Meyer wrote: > > Since then I've been seeing this in my syslog: > > Aug 31 10:02:43 localhost spamd[2645]: pyzor: check failed: internal > > error, python traceback seen in response > > It’d be very useful to know what the error is. Trying running pyzor by itself, rather than through SpamAssassin, e.g.: > > $ pyzor ping > public.pyzor.org:24441 (200, 'OK') > $ pyzor check > Subject: Hello world! > > Test > public.pyzor.org:24441 (200, 'OK') 219150 12833 > > You’ll presumably not get those responses, and get an error instead. Pyzor ping works fine: chris@localhost:~$ pyzor ping public.pyzor.org:24441 (200, 'OK') Pyzor check however just nets me a blinking cursor until I interrupt the process with Ctrl-C which gives me: chris@localhost:~$ pyzor check ^CTraceback (most recent call last): File "/usr/local/bin/pyzor", line 336, in <module> main() File "/usr/local/bin/pyzor", line 141, in main if not dispatch(client, servers, config): File "/usr/local/bin/pyzor", line 217, in check for digested in get_input_handler(style): File "/usr/local/bin/pyzor", line 159, in get_input_handler msg = email.message_from_file(sys.stdin) File "/usr/lib/python2.7/email/__init__.py", line 66, in message_from_file return Parser(*args, **kws).parse(fp) File "/usr/lib/python2.7/email/parser.py", line 68, in parse data = fp.read(8192) KeyboardInterrupt gives me: but it's probably there because of the interrupted process. -- Chris 31.11°N 97.89°W (Elev. 1092 ft) 07:25:54 up 2 days, 9:29, 3 users, load average: 0.17, 0.10, 0.07 Ubuntu 14.04 LTS, kernel 3.13.0-35-generic |