[spambayes-dev] bogus word crashes web interface/word query
Paul Sorenson
sosman at users.sourceforge.net
Sat Oct 4 06:26:14 EDT 2003
If you perform a word query on a bogus word (presumably any word not seen before) the web interface comes back with the error below. I checked the open bugs and couldn't see a reference to this problem. I can post a bug report if this hasn't been identified before.
Using spambayes 1.0a6 on windows 2000.
500 Server error
Traceback (most recent call last):
File "C:\usr\spambayes-1.0a6\spambayes\Dibbler.py", line 453, in found_terminator
getattr(plugin, name)(**params)
File "C:\usr\spambayes-1.0a6\spambayes\UserInterface.py", line 336, in onWordquery
wordinfo = classifier._wordinfoget(word)
File "C:\usr\spambayes-1.0a6\spambayes\storage.py", line 250, in _wordinfoget
r = self.db.get(word)
File "c:\usr\Python23\lib\shelve.py", line 110, in get
if self.dict.has_key(key):
AttributeError: 'int' object has no attribute 'has_key'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20031004/17102d14/attachment.html
More information about the spambayes-dev
mailing list