Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#10264 closed defect (fixed)

[PATCH] Exception when marking submission as spam on Monitoring page

Reported by: paul@… Owned by: Dirk Stöcker
Priority: normal Milestone: plugin - spam-filter
Component: plugin/spamfilter Version: 0.12
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Unfortunately I can't repeat it so I can't tell you what the actual exception was (the traceback was so long it was truncated before the actual exception in the httpd error log), but the fix should be fairly self-evident:

--- tracspamfilter/filters/bayes.py.orig
+++ tracspamfilter/filters/bayes.py
@@ -134,7 +134,7 @@
         if word != self.statekey:
             if row[0] > self.nspam:
                 self.log.warn('Reset SPAM count from %d to %d due to keyword \'%s\'.',
-                              self.nspam, row[0], self.nspam, word)
+                              self.nspam, row[0], word)
                 self.nspam = row[0]
                 self.store()
             if row[1] > self.nham:

Attachments (0)

Change History (4)

comment:1 by anonymous, 13 years ago

Summary: Exception when marking submission as spam pn Monitoring pageException when marking submission as spam on Monitoring page

comment:2 by Paul Howarth <paul@…>, 13 years ago

Summary: Exception when marking submission as spam on Monitoring page[PATCH] Exception when marking submission as spam on Monitoring page

comment:3 by Dirk Stöcker, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r10755.

comment:4 by Ryan J Ollos, 10 years ago

Milestone: plugin - spam-filter

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Dirk Stöcker.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Dirk Stöcker to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.