SpamBayes broken, TypeError when adding.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quotient |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I have SpamBayes 1.1b1 installed and get the following Traceback when attemptin to Endow the product to an user.
Traceback (most recent call last):
File "/home/
result = f(*args, **kw)
File "/home/
File "/home/
File "/home/
--- <exception caught here> ---
File "/home/
File "/home/
File "/home/
File "/home/
result = f(*a, **k)
File "/home/
File "/home/
File "/home/
return f(*a, **k)
File "/home/
File "/home/
it = self.store.
File "/home/
newItem = userItemClass(
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
Related branches
- Tristan Seligmann: Approve
-
Diff: 21 lines (+2/-2)1 file modifiedQuotient/xquotient/spam.py (+2/-2)
Changed in quotient: | |
status: | New → Fix Committed |
I changed the usage to make the Hammies read-only. Quotient still does its own persistence of the modifications. Perhaps someday it would be better to let spambayes do that, but this is the minimal change to fix this bug, for now.
It's not backwards compatible, though. Quotient will only work with the newer versions of spambayes now. That's fine with me, since I just upgraded my deployment. :)