After installing patch in comment #19 and #22 SpamAssassin.py patch I started to get following error:
Aug 18 16:14:38 2010 (26738) Uncaught runner exception: unsupported operand type(s) for -=: 'float' and 'str'
Aug 18 16:14:39 2010 (26738) Traceback (most recent call last):
File "/usr/local/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
self._onefile(msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Handlers/SpamAssassin.py", line 83, in process
score -= MEMBER_BONUS
TypeError: unsupported operand type(s) for -=: 'float' and 'str'
I guess TypeError: unsupported operand type(s) for -=: 'float' and 'str' is because the variable type are mixed up.
I changed score -= MEMBER_BONUS into score -= (MEMBER_BONUS) on line 83 and it seems to work ...
After installing patch in comment #19 and #22 SpamAssassin.py patch I started to get following error:
Aug 18 16:14:38 2010 (26738) Uncaught runner exception: unsupported operand type(s) for -=: 'float' and 'str' mailman/ Mailman/ Queue/Runner. py", line 120, in _oneloop _onefile( msg, msgdata) mailman/ Mailman/ Queue/Runner. py", line 191, in _onefile mlist, msg, msgdata) mailman/ Mailman/ Queue/IncomingR unner.py" , line 130, in _dispose e(mlist, msg, msgdata, pipeline) mailman/ Mailman/ Queue/IncomingR unner.py" , line 153, in _dopipeline modules[ modname] .process( mlist, msg, msgdata) mailman/ Mailman/ Handlers/ SpamAssassin. py", line 83, in process
Aug 18 16:14:39 2010 (26738) Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
keepqueued = self._dispose(
File "/usr/local/
more = self._dopipelin
File "/usr/local/
sys.
File "/usr/local/
score -= MEMBER_BONUS
TypeError: unsupported operand type(s) for -=: 'float' and 'str'
I guess TypeError: unsupported operand type(s) for -=: 'float' and 'str' is because the variable type are mixed up.
I changed score -= MEMBER_BONUS into score -= (MEMBER_BONUS) on line 83 and it seems to work ...