Opened 5 years ago
Closed 5 years ago
#13263 closed defect (invalid)
Trac SpamFilter fails in general
Reported by: | anonymous | Owned by: | Dirk Stöcker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | plugin/spamfilter | Version: | 1.4.1 |
Severity: | normal | Keywords: | |
Cc: | laszlo.elbert@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Dear Support Colleague, I upgraded trac from 1.2.6 to 1.4.1. Installed spamfilter 1.2.6. Whenever I click on any on the spamflter menu trac fails with internal server error. Trac.log gives the following:
2020-03-31 11:58:31,839 Trac[chrome] WARNING: Component TrapFieldFilterStrategy relies on deprecated Genshi stream filtering 2020-03-31 11:58:31,841 Trac[main] ERROR: [153.98.68.196] Internal Server Error: <RequestWithSession "GET '/admin/spamfilter/report'">, referrer 'https://nest-tool.eurocontrol.int/' Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 639, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 271, in dispatch method=method) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1441, in render_template fragment, iterable, method) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1516, in _render_jinja_template page = self.render_template_string(template, data, text) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1675, in render_template_string string = template.render(data) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in render self.environment.handle_exception() File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 832, in handle_exception reraise(*rewrite_traceback_stack(source=source)) File "/usr/local/lib/python2.7/dist-packages/tracspamfilter/templates/admin_report.html", line 30, in top-level template code class="prev" href="${link.href}" UndefinedError: 'link' is undefined
External also fails:
How to Reproduce
While doing a GET operation on /admin/spamfilter/external
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'cat_id': u'spamfilter', 'panel_id': u'external', 'path_info': None}
User agent: #USER_AGENT#
System Information
Trac | 1.4.1
|
Babel | 2.8.0
|
dnspython | 1.16.0
|
Docutils | 0.16
|
Genshi | 0.7.3 (with speedups)
|
Jinja2 | 2.11.1
|
mod_python | 3.3.1
|
Pillow | 3.1.2
|
Pygments | 1.6
|
pysqlite | 2.6.0
|
Python | 2.7.12 (default, Oct 8 2019, 14:14:10) [GCC 5.4.0 20160609]
|
pytz | 2019.3
|
setuptools | 44.1.0
|
SpamBayes | 1.1b3
|
SQLite | 3.11.0
|
How to Reproduce
While doing a GET operation on /admin/spamfilter/report
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'cat_id': u'spamfilter', 'panel_id': u'report', 'path_info': None}
User agent: #USER_AGENT#
System Information
Trac | 1.4.1
|
Babel | 2.8.0
|
dnspython | 1.16.0
|
Docutils | 0.16
|
Genshi | 0.7.3 (with speedups)
|
Jinja2 | 2.11.1
|
mod_python | 3.3.1
|
Pillow | 3.1.2
|
Pygments | 1.6
|
pysqlite | 2.6.0
|
Python | 2.7.12 (default, Oct 8 2019, 14:14:10) [GCC 5.4.0 20160609]
|
pytz | 2019.3
|
setuptools | 44.1.0
|
SpamBayes | 1.1b3
|
SQLite | 3.11.0
|
Subversion | 1.9.3 (r1718519)
|
Textile | 3.0.4
|
jQuery | #JQUERY#
|
jQuery UI | #JQUERYUI#
|
jQuery Timepicker | #JQUERYTP#
|
Enabled Plugins
BlackMagicTicketTweaks | 0.12.post1
|
EstimationTools | 0.4.5
|
TracAdvancedTicketWorkflow | 1.2.1
|
TracDynamicFields | 2.4.0
|
TracSensitiveTickets | 1.2.4
|
TracSimpleTicket | 5.0
|
TracSpamFilter | 1.2.6
|
TracStats | 0.6.1
|
Interface Customization
shared-htdocs | |
shared-templates | |
site-htdocs | Titre_TRAC.png , about_nest.png , about_nest_org.png
|
site-templates |
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 639, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 271, in dispatch method=method) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1441, in render_template fragment, iterable, method) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1516, in _render_jinja_template page = self.render_template_string(template, data, text) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1675, in render_template_string string = template.render(data) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in render self.environment.handle_exception() File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 832, in handle_exception reraise(*rewrite_traceback_stack(source=source)) File "/usr/local/lib/python2.7/dist-packages/tracspamfilter/templates/admin_report.html", line 30, in top-level template code class="prev" href="${link.href}" UndefinedError: 'link' is undefined
Thanks for looking
Attachments (0)
Change History (3)
comment:1 by , 5 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
Description: | modified (diff) |
---|
comment:3 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please install from 1.4 branch:
We haven't published the 1.4 version to PyPI yet.
Please use the MailingList for support questions.