Modify ↓
Opened 9 years ago
Closed 9 years ago
#12434 closed defect (fixed)
AttributeError: 'NoneType' object has no attribute 'get'
Reported by: | Ryan J Ollos | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | TagsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Found the following in the logs. As in#12105, we probably just need to check for the case that post_process_request
is called with the Request
object as the only argument after an exception occurs processing the request.
2015-07-06 12:00:33,364 Trac[main] ERROR: Exception caught while post-processing request: Traceback (most recent call last): File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/web/main.py", line 257, in dispatch self._post_process_request(req) File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.6post2-py2.6.egg/trac/web/main.py", line 370, in _post_process_request f.post_process_request(req, *(None,)*extra_arg_count) File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracTags-0.8dev-py2.6.egg/tractags/web_ui.py", line 428, in post_process_request if data.get('events') and query_str: AttributeError: 'NoneType' object has no attribute 'get'
Attachments (0)
Change History (3)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Thanks for the fix! Deployed to the new trac-hacks server for testing.
Note: See
TracTickets for help on using
tickets.
In 14786: