Activity log for bug #114798

Date Who What changed Old value New value Message
2007-05-15 13:29:31 Kevin Smith bug added bug
2007-05-15 13:29:50 Kevin Smith title Fails to run under Python 2.5: SyntaxError: from __future__ imports sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports
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.
2007-05-15 13:42:34 Scott Kitterman spambayes: status Unconfirmed Confirmed
2007-05-15 13:42:34 Scott Kitterman spambayes: importance Undecided Medium
2007-05-15 13:42:34 Scott Kitterman spambayes: statusexplanation
2007-05-15 20:45:34 Edoardo Batini bug added attachment 'spambayes_future_imports.txt' (spambayes_future_imports.txt)
2007-06-25 22:30:11 Adam Collard spambayes: status Confirmed In Progress
2007-06-25 22:30:11 Adam Collard spambayes: assignee adam-collard
2007-09-26 03:31:21 Scott Kitterman spambayes: assignee adam-collard kitterman
2007-09-26 04:54:22 Scott Kitterman spambayes: status In Progress Fix Committed
2007-09-26 04:54:22 Scott Kitterman spambayes: assignee kitterman
2007-09-26 07:03:32 Scott Kitterman spambayes: status Fix Committed Fix Released
2009-08-13 21:26:17 Launchpad Janitor branch linked lp:ubuntu/karmic/spambayes