2007-05-15 13:31:48 |
Kevin Smith |
description |
After upgrading from edgy to fiesty, spambayes stopped working. Running sb_imapfilter gives this error:
kevins@aria:~$ cd /home/kevins/.spambayes/tavo;sb_imapfilter.py -c -t
File "/usr/bin/sb_imapfilter.py", line 93
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
kevins@aria:~/.spambayes/tavo$
As a result, my spam filtering is completely broken and is doing nothing at all.
It looks like spambayes (sb_imapfilter) is not compatible with python 2.4, but python 2.4 has been installed as the default interpreter.
I am going to try to work around it by manually editing the #! line to point to python 2.3 specifically. |
After upgrading from edgy to fiesty, spambayes stopped working. Running sb_imapfilter gives this error:
kevins@aria:~$ cd /home/kevins/.spambayes/tavo;sb_imapfilter.py -c -t
File "/usr/bin/sb_imapfilter.py", line 93
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
kevins@aria:~/.spambayes/tavo$
As a result, my spam filtering is completely broken and is doing nothing at all.
It looks like spambayes (sb_imapfilter) is not compatible with python 2.5, but python 2.5 has been installed as the default interpreter.
I am going to try to work around it by manually editing the #! line to point to python 2.4 specifically. |
|