Grouping bugs by owner reports "Trac detected an internal error: "

Thorkil Naur naur at post11.tele.dk
Wed Dec 19 16:18:02 EST 2007


Hello,

If I list all bugs in the GHC trac and try to group by owner, I get this 
message:

> Oops...
>
> Trac detected an internal error:
> If you think this really should work and you can reproduce it. Then you 
should consider to report this problem to the Trac team.
>
> Go to http://trac.edgewall.org/ and create a new ticket where you describe 
the problem, how to reproduce it. Don't forget to include the python 
traceback found below.
>
> TracGuide — The Trac User and Administration Guide
>
> Python traceback
>
> Traceback (most recent call last):
>   File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in 
dispatch_request
>     dispatcher.dispatch(req)
>   File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in 
dispatch
>     resp = chosen_handler.process_request(req)
>   File "build/bdist.linux-i686/egg/batchmod/web_ui.py", line 50, in 
process_request
>   File "/var/lib/python-support/python2.4/trac/ticket/query.py", line 443, 
in process_request
>     self.display_html(req, query)
>   File "/var/lib/python-support/python2.4/trac/ticket/query.py", line 608, 
in display_html
>     req.hdf['query.num_matches_group'] = num_matches_group
>   File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 
197, in __setitem__
>     self.set_value(name, value, True)
>   File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 
245, in set_value
>     add_value(name, value)
>   File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 
237, in add_value
>     add_value('%s.%s' % (prefix, k), value[k])
>   File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 
221, in add_value
>     set_str(prefix, int(value))
>   File "/var/lib/python-support/python2.4/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.chak at cse.unsw.edu.au.

It seems that there are limitations on the form of owner that are not verified 
everywhere.

Please indicate if you want me to actually report this as a trac bug, which I 
guess it is.

Best regards
Thorkil



More information about the Cvs-ghc mailing list