[Spambayes] python 2.3

David Lebel lebel at lebel.org
Mon Jan 5 15:11:05 EST 2004


I'm trying to run spambayes (source from cvs a while back, mid-december)
with Python 2.3.3 and it fails with the following error when I try to
filter with it:

Traceback (most recent call last):
  File "/usr/local/bin/sb_filter.py", line 240, in ?
    main()
  File "/usr/local/bin/sb_filter.py", line 232, in main
    action(msg)
  File "/usr/local/bin/sb_filter.py", line 159, in filter
    return h.filter(msg)
  File "/usr/local/lib/python2.3/site-packages/spambayes/hammie.py", line 109, in filter
    prob, clues = self._scoremsg(msg, True)
  File "/usr/local/lib/python2.3/site-packages/spambayes/hammie.py", line 38, in _scoremsg
    return self.bayes.spamprob(tokenize(msg), evidence)
AttributeError: 'NoneType' object has no attribute 'spamprob'

Am I doing something wrong?  Something that got fixed recently?  I
haven't been able to update my source tree since sourceforge.net is
barfing on me for unknown reasons.

Ciao,
  ...David

-- 
// david lebel <lebel@{lebel.org,nobiaze.com,openbsd.org}> //
// http://www.lebel.org/           http://www.nobiaze.com/ //
// pgp: 3633 6999 D47E 73ED 099F  4341 08A4 8E48 EF56 61D1 //



More information about the Spambayes mailing list