w3c / Unicorn

Unicorn - W3C's Unified Validator
https://validator.w3.org/unicorn/
Other
127 stars 59 forks source link

AttributeError: Cannot find an implementation of the "IRejectHandler" interface named "CaptchaSystem". Please update the option spam-filter.reject_handler in trac.ini. #151

Closed vivienlacourba closed 7 years ago

vivienlacourba commented 8 years ago

Reported by anonymous on 23 Mar 2011 13:12 UTC

==== How to Reproduce ====

While doing a POST operation on /newticket, Trac issued an internal error.

''(please provide additional details here)''

Request parameters:

{'__EDITOR__1': u'textarea',
 '__FORM_TOKEN': u'9018873c24aebd09a9dadfa0',
 'author': u'diesel@re-ality.de',
 'field_cc': u'',
 'field_component': u'Core',
 'field_description': u"Hi folks,\r\n\r\ngreat work! Just one small issue: where's the revalidate button gone? I found it very useful and would appreciate to see it again.\r\n\r\nRegards\r\ndiesel",
 'field_keywords': u'',
 'field_milestone': u'',
 'field_priority': u'major',
 'field_summary': u'revalidate button?',
 'field_type': u'enhancement',
 'field_version': u'',
 'submit': u'Create ticket'}

User Agent was: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; de; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16

==== System Information ====

|| '''Trac''' || 0.11.7 || || '''Python''' || 2.6.6 (r266:84292, Dec 26 2010, 22:48:11) [[GCC 4.4.5]([br]]) || || '''setuptools''' || 0.6 || || '''SQLite''' || 3.7.3 || || '''pysqlite''' || 2.4.1 || || '''Genshi''' || 0.6 || || '''mod_python''' || 3.3.1 || || '''Pygments''' || 1.3.1 || || '''Mercurial''' || 1.6.4 || || '''jQuery:''' || 1.4.2 ||

==== Python Traceback ====

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/dist-packages/trac/ticket/web_ui.py", line 183, in process_request
    return self._process_newticket_request(req)
  File "/usr/lib/python2.6/dist-packages/trac/ticket/web_ui.py", line 397, in _process_newticket_request
    valid = self._validate_ticket(req, ticket)
  File "/usr/lib/python2.6/dist-packages/trac/ticket/web_ui.py", line 989, in _validate_ticket
    for field, message in manipulator.validate_ticket(req, ticket):
  File "/usr/local/lib/python2.6/dist-packages/TracSpamFilter-0.4.7dev_r10628-py2.6.egg/tracspamfilter/adapters.py", line 78, in validate_ticket
    FilterSystem(self.env).test(req, author, changes, ip)
  File "/usr/local/lib/python2.6/dist-packages/TracSpamFilter-0.4.7dev_r10628-py2.6.egg/tracspamfilter/api.py", line 190, in test
    self.reject_handler.reject_content(req, 'Submission rejected as '
  File "/usr/lib/python2.6/dist-packages/trac/config.py", line 534, 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.