Custom Query (1173 matches)
Results (232 - 234 of 1173)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #878 | cant-reproduce | [TRAC Error] TypeError: unhashable type: 'list' | ||
| Description |
How to Reproduce
Expected Outcome
Actual OutcomeError (see below)::
While doing a GET operation on (please provide additional details here) Request parameters: {'keywords': [u'~privacy', u'~privacy'],
'order': [u'priority?status=in_progress', u'priority'],
'status': [u'in_progress', u'new', u'review', u'new', u'review']}
User agent: System InformationSystem information not available Enabled PluginsPlugin information not available Python TracebackTraceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 497, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 214, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.7/dist-packages/trac/ticket/query.py", line 942, in process_request
max)
File "/usr/lib/python2.7/dist-packages/trac/ticket/query.py", line 77, in __init__
self.order = synonyms.get(order, order) # 0.11 compatibility
TypeError: unhashable type: 'list'
|
|||
| #761 | fixed | [Python 2.6] OrderedDict ImportError | ||
| Description |
When using Python 2.6, the
The source of error is in the Fortunately, we've ordereddict[3]. When I imported 'OrderedDict' from this module. Bingo, it worked[4]. A possible fix for this bug would be to first test whether importing OrderedDict from 'collections' doesn't throw an ImportError, if it does (meaning the user has Python 2.6), import OrderedDict from 'ordereddict'. [1]: http://pastebin.com/c06J5H7j [2]: In Python 2.6, there is no OrderedDict in 'collections'. [3]: https://pypi.python.org/pypi/ordereddict [4]: here is the diff http://pastebin.com/VYtQFW3a |
|||
| #5387 | fixed | [PATCH]Use six.itervalues() in delete_media_files | ||
| Description |
So I can delete media files when running with python3 :-) |
|||
