Opened 17 years ago
Last modified 17 years ago
#6010 closed defect
My custom query that used to work now gives me a python dump — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | report system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I made a custom query: http://trac.tokbox.com/trac.cgi/tokbox/query?status=new&status=assigned&status=reopened&group=milestone&owner=%7Ejason&order=priority
Which worked fine until I marked a ticket as invalid, at which point I got this error: Traceback (most recent call last):
File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/var/lib/python-support/python2.5/trac/ticket/query.py", line 443, in process_request
self.display_html(req, query)
File "/var/lib/python-support/python2.5/trac/ticket/query.py", line 608, in display_html
req.hdfquery.num_matches_group = num_matches_group
File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 197, in setitem
self.set_value(name, value, True)
File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 245, in set_value
add_value(name, value)
File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 237, in add_value
add_value('%s.%s' % (prefix, k), value[k])
File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 221, in add_value
set_str(prefix, int(value))
File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 215, in set_str
self.hdf.setValue(prefix.encode('utf-8'), str(value))
Error: Traceback (innermost last):
File "neo_hdf.c", line 805, in hdf_set_value() File "neo_hdf.c", line 795, in _set_value()
AssertError: Unable to set Empty component query.num_matches_group.