[Spambayes] What does this mean?
skip at pobox.com
skip at pobox.com
Thu Jun 18 11:42:50 CEST 2009
Eric> I tried your suggestion of using "python2.5 setup.py install".
Eric> I launch the proxy this way, "python2.5 sb_server.py"
That works, but you're running SpamBayes from your source repository, not
from the installed location. Try running
/usr/local/bin/sb_server.py
instead, or if /usr/local/bin is in your PATH, simply
sb_server.py
Eric> I am no longer getting an error message when training, but I am now
Eric> getting this error message when I am using the configuration pages...
Eric> 500 Server error
...
Eric> File "./spambayes/scripts/sb_server.py", line 889, in createWorkers
Eric> self.stats = Stats.Stats(options, self.mdb)
Eric> File "/usr/lib/python2.5/site-packages/spambayes/Stats.py", line 60,
Eric> in __init__
Eric> self.from_date = self.messageinfo_db.get_statistics_start_date()
Eric> AttributeError: 'NoneType' object has no attribute
Eric> 'get_statistics_start_date'
Eric> Is this something different or part of the same problem as before?
This is something new. Are you trying to train before you're done
configuring the setup? I wouldn't think you'd be creating a Stats object
(the beginning of what I quoted) at that point.
I'm not terribly familiar with the POP3 proxy (sb_server) anymore, and it
will probably be a day or two before I have a chance to take a look at the
problem. In the meantime, double-check that you've completely configured
the server before trying to do any training.
Skip
More information about the SpamBayes
mailing list