#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)
Change History (3)
by , 10 months ago
Attachment: | 0001-SpamFilter-add-missing-dependency-for-vendored-spamb.patch added |
---|
comment:1 by , 10 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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 , 10 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.
Proposed addition of the requirement in setup.py