Modify ↓
#6409 closed defect (fixed)
When using with custom query: AttributeError: 'str' object has no attribute 'get'
| Reported by: | Owned by: | obs | |
|---|---|---|---|
| Priority: | high | Component: | BlackMagicTicketTweaksPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
With trac 0.11.6, if I enable the Black Magic plugin, and also enable the custom query built-in plugin, then "View Tickets"/"Custom Query" gives me an error:
How to Reproduce
While doing a GET operation on /query, Trac issued an internal error.
System Information
| Trac | 0.11.6
|
| Python | 2.5.2 (r252:60911, Jan 4 2009, 22:17:10) [GCC 4.3.2]
|
| setuptools | 0.6c8
|
| SQLite | 3.5.9
|
| pysqlite | 2.3.2
|
| Genshi | 0.5.1
|
| mod_python | 3.3.1
|
| Pygments | 0.10
|
| CustomFieldAdmin | 0.2.2
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 450, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 217, in dispatch
self._post_process_request(req, *resp)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 309, in _post_process_request
resp = f.post_process_request(req, *resp)
File "build/bdist.linux-x86_64/egg/blackmagic/blackmagic.py", line 93, in post_process_request
if type.get("name") == "type":
AttributeError: 'str' object has no attribute 'get'
Attachments (0)
Change History (3)
comment:1 Changed 16 years ago by
| Priority: | normal → high |
|---|---|
| Severity: | normal → critical |
| Status: | new → assigned |
comment:2 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.



Thanks, I'll check into this asap, probably in a few hours.