Public bug reported:
After upgrading from edgy to fiesty, spambayes stopped working. Running
sb_imapfilter gives this error:
[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]:~/.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.
** Affects: spambayes (Ubuntu)
Importance: Undecided
Status: Unconfirmed
** Summary changed:
- Fails to run under Python 2.5: SyntaxError: from __future__ imports
+ sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__
imports
** Description changed:
After upgrading from edgy to fiesty, spambayes stopped working. Running
sb_imapfilter gives this error:
[EMAIL PROTECTED]:~$ 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
[EMAIL PROTECTED]:~/.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.
+ 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.3 specifically.
+ point to python 2.4 specifically.
--
sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__
imports
https://bugs.launchpad.net/bugs/114798
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs