Edgewall Software
Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#13742 closed defect (fixed)

spamfilter.bayes is missing a dependency

Reported by: bmispelon Owned by: Dirk Stöcker
Priority: normal Milestone:
Component: plugin/spamfilter Version: 1.6
Severity: major Keywords: spambayes
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

We recently updated our Trac instance to 1.6 (thanks for the release by the way) and were hit by a spam wave almost immediately after. We're using the TracSpamFilter plugin [1] (https://trac.edgewall.org/browser/plugins/trunk/spam-filter?rev=17752&format=zip is the line in our requirements file) but somehow the bots were still getting around it.

After scratching our heads for a few ours, we finally saw this in the log:

01:30:52 PM Trac[loader] ERROR: Skipping "spamfilter.bayes = tracspamfilter.filters.bayes": ModuleNotFoundError: No module named 'filelock'

As far as I could find, the requirement for filelock is not listed anywhere on the plugin page [2] either.

[1] https://pypi.org/project/TracSpamFilter/ [2] https://trac.edgewall.org/wiki/SpamFilter

Attachments (1)

0001-SpamFilter-add-missing-dependency-for-vendored-spamb.patch (1.4 KB ) - added by bmispelon 2 months ago.
Proposed addition of the requirement in setup.py

Download all attachments as: .zip

Change History (3)

by bmispelon, 2 months ago

Proposed addition of the requirement in setup.py

comment:1 by Dirk Stöcker, 2 months ago

Resolution: fixed
Status: newclosed

Fixed.

As I can't really access trac.edgewall.org anymore from most of my systems because of whatever IP blocking they do further development of spam filter will be very troublesome.

I even can't create any tickets for whatever reason.

comment:2 by bmispelon, 2 months ago

Hi and thanks for merging the patch!

I also had a lot of timeout issues with the website yesterday, but it seems to have been resolved now so hopefully it was only temporary.

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.