Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16113 closed Uncategorized (fixed)

TypeError: unhashable type: 'list'

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Following the link 'easy-pickings' on I got the message:

Trac detected an internal error:

TypeError: unhashable type: 'list'

How to Reproduce

While doing a GET operation on /query, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'keywords': [u'~easy-pickings', u'~easy-pickings'],
 'order': [u'priority?status=new', u'priority'],
 'status': [u'new', u'assigned', u'reopened', u'assigned', u'reopened']}

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20110429 Firefox/4.0.1

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/home/trac/venv/lib/python2.6/site-packages/trac/web/", line 511, in _dispatch_request
  File "/home/trac/venv/lib/python2.6/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/trac/venv/lib/python2.6/site-packages/trac/ticket/", line 918, in process_request
  File "/home/trac/venv/lib/python2.6/site-packages/trac/ticket/", line 73, in __init__
    self.order = synonyms.get(order, order)     # 0.11 compatibility
TypeError: unhashable type: 'list'

Change History (3)

comment:1 Changed 7 years ago by Jonas H.

Triage Stage: UnreviewedAccepted

Someone should report this to the Trac bug tracker.

comment:2 Changed 7 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

Not needed to report upstream, this was a Nginx misconfiguration. says:

"If you specify a ? at the end of a rewrite then Nginx will drop the original $args (arguments). When using $request_uri or $uri&$args you should specify the ? at the end of the rewrite to avoid Nginx doubling the query string." So appending a ? did the trick.

comment:3 Changed 7 years ago by Jonas H.

Trac shouldn't crash like this anyway.

Note: See TracTickets for help on using tickets.
Back to Top