Edgewall Software

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3523 closed defect (worksforme)

SpamFilter refuses to load

Reported by: sgrayban@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: SpamFilter
Cc: Branch:
Release Notes:
API Changes:


I installed the newest dnspython and still the spam filter refuses to load.

Trac[loader] WARNING: Cannot load plugin spamfilter.ip_blacklist because it requires "dnspython>=1.3.5"

I have 1.4.0 installed.

Attachments (0)

Change History (5)

comment:1 by sgrayban@…, 12 years ago

I had to edit the setup.py and remove that [DNS] require from…

spamfilter.ip_blacklist = tracspamfilter.filters.ip_blacklist

to get this to load.

Looking at the code I don't even see where its checking for the version of dnspython in the first place. So its always going to fail to load.

comment:2 by Matthew Good, 12 years ago

The requirements are checked by the setuptools package automatically. You need to install dnspython via setuptools so that the metadata is available:

easy_install dnspython

That command will automatically download and install it correctly.

However, the "[DNS]" part means it's an "extra" feature. So, the other parts of the spam filter should work correctly when "dnspython" is not available. Only the IP blacklisting component will be unavailable.

comment:3 by Matthew Good, 12 years ago

Priority: highnormal

comment:4 by Christopher Lenz, 12 years ago

Yeah, the rest of the SpamFilter plugin (Akismet, Regexp, etc) should still work even if dnspython is not available (or not installed with the required metadata).

Matt, what part of this ticket requires action from us? I would've closed as “worksforme”, but maybe I'm missing something?

in reply to:  4 comment:5 by anonymous, 12 years ago

Resolution: worksforme
Status: newclosed

Replying to cmlenz:

Matt, what part of this ticket requires action from us? I would've closed as “worksforme”, but maybe I'm missing something?

None. I just forgot to close it.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted.
to The owner will be changed from Jonas Borgström 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.