Thanks - for the benefit of the search (noob levels like me): pip install babel pip install svn+https://svn.edgewall.org/repos/trac/plugins/trunk/spam-filter
It would be useful to have the dependency on babel noted (maybe I just missed it). On Wednesday 12 June 2024 at 15:20:53 UTC+1 Jun Omae wrote: > For Trac 1.6.x, install the plugin from repository, not PyPI. > See https://trac.edgewall.org/wiki/SpamFilter#GetthePlugin > > On Wed, Jun 12, 2024 at 11:15 PM 'JP 99' via Trac Users > <trac-...@googlegroups.com> wrote: > > > > Thanks. I see the problem - tracspamfilter in pypi (pip) hasn't been > updated since May-20. > > > > On Tuesday 11 June 2024 at 23:44:25 UTC+1 Jun Omae wrote: > >> > >> On Wed, Jun 12, 2024 at 7:17 AM 'JP 99' via Trac Users > >> <trac-...@googlegroups.com> wrote: > >> > > >> > Problem seems to be Python 2 code in spamfilter: > >> > > >> > ERROR: Skipping "spamfilter = tracspamfilter.api": > >> > Traceback (most recent call last): > >> > File "/usr/local/lib/python3.10/dist-packages/trac/loader.py", line > 80, in _load_eggs > >> > entry.load(require=True) > >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line > 2465, in load > >> > return self.resolve() > >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line > 2471, in resolve > >> > module = __import__(self.module_name, fromlist=['__name__'], level=0) > >> > File > "/usr/local/lib/python3.10/dist-packages/tracspamfilter/__init__.py", line > 17, in <module> > >> > from tracspamfilter.filtersystem import * > >> > File > "/usr/local/lib/python3.10/dist-packages/tracspamfilter/filtersystem.py", > line 231 > >> > except Exception, e: > >> > ^^^^^^^^^^^^ > >> > SyntaxError: multiple exception types must be parenthesized > (filtersystem.py, line 231) > >> > >> Your installation is absolutely wrong. > >> No such code at > >> > https://trac.edgewall.org/browser/plugins/trunk/spam-filter/tracspamfilter/filtersystem.py#L231 > . > >> > >> Remove spamfilter completely and reinstall it. > >> > >> > >> > >> -- > >> Jun Omae <jun...@gmail.com> (大前 潤) > > > > -- > > You received this message because you are subscribed to the Google > Groups "Trac Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to trac-users+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/1e36b063-e916-4a93-841e-64b50430dfc9n%40googlegroups.com > . > > > > -- > Jun Omae <jun...@gmail.com> (大前 潤) > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/b51f10f7-f97e-42d3-8c21-de8431d87292n%40googlegroups.com.