AttributeError: Cannot find an implementation of the "IRejectHandler" interface named "CaptchaSystem". Please update the option spam-filter.reject_handler in trac.ini.
How to Reproduce
While doing a POST operation on /ticket/5899
, Trac issued an internal error.
Tried to post a comment with several URLs, which probably triggered an anti-spam filter. But it does not seem to work. Same thing happened when trying to post this ticket, so I had to remove the "comment" field in the parameters below :)
Request parameters:
{'__FORM_TOKEN': u'bad9e12b3df90d1ffd6a095e',
'action': u'reopen',
'cc_update': u'on',
'cnum': u'5',
'comment': u"...",
'field_blockedby': u'',
'field_blocking': u'',
'field_component': u'Gtkgui',
'field_keywords': u'tooltip, ubuntu, theme',
'field_milestone': u'',
'field_os': u'Unix',
'field_priority': u'normal',
'field_severity': u'normal',
'field_summary': u"Gnome 'Ambiance' theme bug",
'field_type': u'defect',
'field_version': u'0.14',
'id': u'5899',
'replyto': u'',
'submit': u'Submit changes',
'ts': u'2010-09-11 05:58:32+00:00'}
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0
System Information
System information not available
Enabled Plugins
Plugin information not available
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/web/main.py", line 511, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 169, in process_request
return self._process_ticket_request(req)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 537, in _process_ticket_request
valid = self._validate_ticket(req, ticket, not valid) and valid
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 1182, in _validate_ticket
for field, message in manipulator.validate_ticket(req, ticket):
File "/usr/local/lib/python2.7/dist-packages/TracSpamFilter-0.4.8dev_r10888-py2.7.egg/tracspamfilter/adapters.py", line 77, in validate_ticket
FilterSystem(self.env).test(req, author, changes, ip)
File "/usr/local/lib/python2.7/dist-packages/TracSpamFilter-0.4.8dev_r10888-py2.7.egg/tracspamfilter/api.py", line 192, in test
self.reject_handler.reject_content(req, 'Submission rejected as '
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/config.py", line 646, in __get__
self.section, self.name))
AttributeError: Cannot find an implementation of the "IRejectHandler" interface named "CaptchaSystem". Please update the option spam-filter.reject_handler in trac.ini.