[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-09-26 Thread Scott Kitterman
spambayes (1.0.4-3ubuntu2) gutsy; urgency=low * Update debian/patches/fix_import_future.dpatch to fix all instances of from future import not being at the start of the file. (LP: #114798) * Simplify debian/rules so unpatch actually works. * Remove dh_python from debian/rules (not

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-09-25 Thread Scott Kitterman
I'm making the assumption that after several months Adam had this assigned to himself for triaging and not for fixing. Working on a fix. ** Changed in: spambayes (Ubuntu) Assignee: Adam Collard (adam-collard) = Scott Kitterman (kitterman) -- sb_imapfilter fails to run under Python 2.5:

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-09-25 Thread Scott Kitterman
Fix uploaded for Gutsy. ** Changed in: spambayes (Ubuntu) Assignee: Scott Kitterman (kitterman) = (unassigned) Status: In Progress = Fix Committed -- sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports https://bugs.launchpad.net/bugs/114798 You

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-06-25 Thread Adam Collard
** Changed in: spambayes (Ubuntu) Assignee: (unassigned) = Adam Collard Status: Confirmed = In Progress -- 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

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-05-16 Thread Kevin Smith
Thanks very much! I moved line 93 and now it runs...but I get this (after a long time): [EMAIL PROTECTED]:~$ cd /home/kevins/.spambayes/tavo;sb_imapfilter.py -c -t SpamBayes IMAP Filter Version 0.6 (January 2005) and engine SpamBayes Engine Version 0.3 (January 2004). Exception

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-05-16 Thread Scott Kitterman
Yes. Please file that as a different bug. -- 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. --

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-05-15 Thread Scott Kitterman
You might also try changing from __future__ import generators to import generators ** Changed in: spambayes (Ubuntu) Importance: Undecided = Medium Status: Unconfirmed = Confirmed -- sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-05-15 Thread Michael Bienia
The fix is to move line 93 (from __future__ import generators) to line 2 (between the #! line and the description starting in line 3) in sb_imapfilter.py. sb_dbexpimp.py and sb_notesfilter.py is also affected (other files might also be affected, I didn't grep all). The person fixing it might

[Bug 114798] Re: sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports

2007-05-15 Thread eolo999
List of files of package spambayes with __future__ imports. ** Attachment added: spambayes_future_imports.txt http://librarian.launchpad.net/7656163/spambayes_future_imports.txt -- sb_imapfilter fails to run under Python 2.5: SyntaxError: from __future__ imports