[Spambayes] 1.0a9 500 Server error (More statistics... link)
Kevin R. Bulgrien
kbulgrien at worldnet.att.net
Fri Feb 20 00:27:15 EST 2004
Clicking for more statistics (http://localhost:8880/stats) gives:
500 Server error
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line 461, in
File "/usr/lib/python2.2/site-packages/spambayes/UserInterface.py", line
1016, in onStats
s = Stats.Stats()
File "/usr/lib/python2.2/site-packages/spambayes/Stats.py", line 42, in
File "/usr/lib/python2.2/site-packages/spambayes/Stats.py", line 58, in
for msg in msginfoDB.db:
File "/usr/lib/python2.2/shelve.py", line 70, in __getitem__
f = StringIO(self.dict[key])
TypeError: argument must be string or read-only buffer, not int
What are .pyc files?
Stats.py matches the file in the install directory, but Stats.pyc is older
than Stats.py whereas most other .pyc files are newer than their
corresponding .py files...
Is this a broken install? Maybe.
Deleted all /usr/lib/python2.2/site-packages/spambayes/* and re-ran
python setup.py install, but I still get the same thing, so maybe not
related. (smtpproxy training still broken too).
More information about the Spambayes