Package: spambayes
Version: 1.0.4-4
After recent python upgrades, I checked to see if the status of
spambayes had improved. It has not. Results are as follows:
Attempting to install spambayes:
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed
spambayes (1.0.4-4)
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/348kB of archives.
After this operation, 1323kB of additional disk space will be used.
Selecting previously deselected package spambayes.
(Reading database ... 61862 files and directories currently installed.)
Unpacking spambayes (from .../spambayes_1.0.4-4_all.deb) ...
Setting up spambayes (1.0.4-4) ...
Compiling /usr/lib/python2.5/site-packages/spambayes/Corpus.py ...
File "/usr/lib/python2.5/site-packages/spambayes/Corpus.py", line 82
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
Compiling /usr/lib/python2.5/site-packages/spambayes/FileCorpus.py ...
File "/usr/lib/python2.5/site-packages/spambayes/FileCorpus.py", line 85
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
Compiling /usr/lib/python2.5/site-packages/spambayes/message.py ...
File "/usr/lib/python2.5/site-packages/spambayes/message.py", line 78
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
pycentral: pycentral pkginstall: error byte-compiling files (49)
pycentral pkginstall: error byte-compiling files (49)
dpkg: error processing spambayes (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
spambayes
E: Sub-process /usr/bin/dpkg returned an error code (1)
Invoking /usr/bin/sb_server.py yields:
Traceback (most recent call last):
File "/usr/bin/sb_server.py", line 104, in <module>
import spambayes.message
File "/usr/lib/python2.5/site-packages/spambayes/message.py", line 78
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
Installed python packages
dpkg -l|grep python
ii python
2.5.2-1 An interactive high-level
object-oriented la
ii python-central
0.6.6 register and build utility for Python
packag
ii python-minimal
2.5.2-1 A minimal subset of the Python language
(def
ii python-support
0.7.7 automated rebuilding support for Python
modu
rc python2.3
2.3.5-16 An interactive high-level
object-oriented la
ii python2.4
2.4.5-2 An interactive high-level
object-oriented la
ii python2.4-dbg
2.4.5-2 Debug Build of the Python Interpreter
(versi
ii python2.4-minimal
2.4.5-2 A minimal subset of the Python language
(ver
ii python2.5
2.5.2-3 An interactive high-level
object-oriented la
ii python2.5-dbg
2.5.2-3 Debug Build of the Python Interpreter
(versi
ii python2.5-minimal
2.5.2-3 A minimal subset of the Python language
(ver
kernel info:
uname -a
Linux pav8500 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686
GNU/Linux
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]