Modify ↓
#13131 closed defect (fixed)
MathCaptchaPlugin crashes Trac 1.2
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | MathCaptchaPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
MathCaptchaPlugin looks like a really neat and useful plugin: it sets up a spam barrier, has no external dependencies like TracCaptchaPlugin, and is much more slim than SpamFilter.
Sadly, after installing and enabling it crashes my trac 1.2:
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 710, in send_error data, 'text/html') File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1123, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib/python2.7/site-packages/genshi/core.py", line 133, in __or__ return Stream(_ensure(function(self)), serializer=self.serializer) File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1436, in inner data) File ".../plugins/MathCaptcha.py", line 373, in filter_stream if self.is_banned(req): File ".../plugins/MathCaptcha.py", line 244, in is_banned db = self.env.get_db_cnx() AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Any chance of getting MathCaptche ported to 1.2?
Attachments (0)
Change History (5)
comment:1 Changed 8 years ago by
Owner: | changed from Rob McMullen to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
That was probably not supposed to fixed it yet. I checked it out anyway, and the problem AttributeError: 'Environment' object has no attribute 'get_db_cnx'
still persists.
Note: See
TracTickets for help on using
tickets.
In 16418: