Hi,
Trying to save any backlog ordering using the Save changes & order -
button
or the Default sorting -button, I get the following Trac internal
error:
TypeError: unhashable type: 'list'
I'm running Trac 0.11, with Python 2.6.2 and Agilo 0.7.3.3-
r1417-20090313.
Is there a known solution for this?
Python traceback:
Most recent call last:
* File
"/usr/local/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/web/
main.py",
line 423, in _dispatch_request
Code fragment:
418. try:
419. if not env and env_error:
420. raise HTTPInternalError(env_error)
421. try:
422. dispatcher = RequestDispatcher(env)
423. dispatcher.dispatch(req)
424. except RequestDone:
425. pass
426. resp = req._response or []
427.
428. except HTTPException, e:
Local variables:
Name Value
after [u' except RequestDone:', u' pass', u' resp = ...
before [u' try:', u' if not env and env_error:', u'
raise ...
dispatcher <trac.web.main.RequestDispatcher object at
0xb708594c>
e TypeError("unhashable type: 'list'",)
env <trac.env.Environment object at 0xb745b14c>
env_error None
exc_info (<type 'exceptions.TypeError'>, TypeError
("unhashable
type: 'list'",), ...
filename
'/usr/local/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/
trac/web/main.p
...
frames [{'function': '_dispatch_request',
'lines_before': [u'
try:', u' ...
has_admin True
line u' dispatcher.dispatch(req)'
lineno 422
message u"TypeError: unhashable type: 'list'"
req <Request "POST u'/agilo-backlog'">
resp []
tb <traceback object at 0xb70648ec>
tb_hide None
traceback 'Traceback (most recent call last):\n File ...
* File
"/usr/local/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/web/
main.py",
line 197, in dispatch
Code fragment:
192. req.args.get('__FORM_TOKEN') != req.form_token:
193. raise HTTPBadRequest('Missing or invalid form token. '
194. 'Do you have cookies enabled?')
195.
196. # Process the request and render the template
197. resp = chosen_handler.process_request(req)
198. if resp:
199. if len(resp) == 2: # Clearsilver
200. chrome.populate_hdf(req)
201. template, content_type = \
202. self._post_process_request(req, *resp)
Local variables:
Name Value
chosen_handler <agilo.scrum.web_ui.backlog.BacklogModule
object at
0xb714c76c>
chrome <trac.web.chrome.Chrome object at 0xb7388ecc>
ctype 'application/x-www-form-urlencoded'
err (<type 'exceptions.TypeError'>, TypeError
("unhashable type:
'list'",), ...
handler <agilo.scrum.web_ui.backlog.BacklogModule object
at
0xb714c76c>
options {}
req <Request "POST u'/agilo-backlog'">
self <trac.web.main.RequestDispatcher object at
0xb708594c>
* File
"/usr/local/lib/python2.6/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.6.egg/agilo/scrum/web_ui/backlog.py",
line 237, in process_request
Code fragment:
232. add_script(req, 'agilo/js/backlog_ui.js')
233. if AgiloConfig(self.env).is_agilo_ui:
234. add_script(req, 'agilo/js/jquery.tablednd_0_5.js')
235.
236. # Load the backlog from the DB or from the cache
237. backlog = self._load_backlog(req, data)
238.
239. # Now check the permissions
240. if backlog:
241. req.perm(backlog.resource).require(Action.BACKLOG_VIEW)
242.
Local variables:
Name Value
columns [{'type': 'text', 'editable': False, 'name':
'id', 'label':
'ID'}, ...
data {'user_only': 0, 'open_only': 0}
req <Request "POST u'/agilo-backlog'">
self <agilo.scrum.web_ui.backlog.BacklogModule object at
0xb714c76c>
template 'agilo_backlog.html'
* File
"/usr/local/lib/python2.6/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.6.egg/agilo/scrum/web_ui/backlog.py",
line 310, in _load_backlog
Thanks,
Toni Sallanmaa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---