Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#9036 closed defect (duplicate)

TracDiscussion 0.8-r9877 does not work wih TracSpamFilter 0.4.7dev-r10756

Reported by: diddek Owned by: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: major Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

I believe both are the latest versions, but I get this:

Trac detected an internal error:
TypeError: test() takes exactly 5 arguments (4 given)
There was an internal error in Trac. It is recommended that you notify your local Trac administrator with the information needed to reproduce the issue.

To that end, you could   a ticket.

The action that triggered the error was:

POST: /discussion/forum/2

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by diddek

From the spamfilter test ( I understood the call to FilterSystem in tracdiscussion/ needed an ip adress:

FilterSystem(self.env).test(req, '', [], '')

I added my ip address and now it works again, but maybe this could/needs to be fixed in tracdiscussion?

Best, D

comment:2 Changed 5 years ago by anonymous

In usr/local/lib/python2.7/dist-packages/TracDiscussion-0.8_r9877-py2.7.egg/tracdiscussion/ 23


FilterSystem(self.env).test(context.req, topic['author'], [(None,topic['author']), (None, topic['subject']), (None, topic['body'])])


FilterSystem(self.env).test(context.req, topic['author'], [(None, topic['author']), (None, topic['subject']), (None, topic['body'])], '')

comment:3 Changed 5 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 4 years ago by rjollos

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #8764.

comment:5 Changed 4 years ago by rjollos

Fixed in [12058].

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.