Edgewall Software

Opened 16 years ago

Last modified 16 years ago

#7144 closed defect

Error when enabling the captcha SpamFilter options — at Version 2

Reported by: anonymous Owned by: Matthew Good
Priority: normal Milestone: not applicable
Component: plugin/spamfilter Version: 0.11b2
Severity: blocker Keywords:
Cc: shendric@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

After installing spam-filter-captcha r6871, the following error occurs when enabling either of the captch options from webadmin:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 672, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 648, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 402, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/tracspamfilter/captcha/api.py", line 100, in get_templates_dirs
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 840, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracspamfilter/captcha/templates'

Change History (3)

comment:1 by shendric@…, 16 years ago

Cc: shendric@… added

comment:2 by Christian Boos, 16 years ago

Description: modified (diff)
Keywords: helpwanted added
Milestone: not applicable

by shendric@…, 16 years ago

Attachment: verify_captcha.html added
Note: See TracTickets for help on using tickets.