Scott Lamb wrote:
> I followed the instructions on the wiki for installing the spam
> filtering plugins. I tried out the Akismet one with some real spam and
> real ham, and it actually works. The ip_blacklist one won't load,
> though:
>
>     2006-09-16 16:05:27,389 Trac[loader] WARNING: Cannot load plugin
> spamfilter.ip_blacklist because it requires "dnspython>=1.3.5"
>
> How does this dependency work? After seeing this message the first
> time, I did this:
>
>     $ sudo yum install python-dns
>     $ sudo /sbin/service apache restart
>
> but when it started up again, I saw the same thing. dnspython's
> definitely installed now:
>
>     $ python
>     Python 2.4.3 (#1, Jun 13 2006, 11:46:22)
>     [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
>     Type "help", "copyright", "credits" or "license" for more
> information.
>     >>> import dns.version
>     >>> print '%d.%d' % (dns.version.MAJOR, dns.version.MINOR)
>     1.4
>     >>>
>
> This is the only Python installed on the system (which is Fedora Core 5
> on x86_64, by the way). What's Trac[loader] looking for?

Trac plugins use setuptools to resolve dependencies, so the package
needs to be installed with the setuptools metadata.  So, for now the
easiest way to do this is to install the package via easy_install:

easy_install dnspython

-- Matt Good


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to