Syntax error
Brought to you by:
rg3
I have been using putmail successfully for a couple of months for of cron reporting on a Archlinux server.
About 3 weeks ago reporting emails stopped. When I check the log on the server I find:
File \"/usr/bin/putmail.py\", line 133
def check_status((code, message)):
^
SyntaxError: invalid syntax
I tried de-installing putmail and python then re-installing them but the error is still there.
Putmail is v 1.4
Python is v 3.1.2
I figured out that it must have happened when Python got updated.
pacman.log:
[2010-10-23 15:39] upgraded python (2.6.5-3 -> 3.1.2-2)
I am going to try going back to python < 3.0 and see what happens.