Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (232 - 234 of 1173)

Ticket Resolution Summary Owner Reporter
#878 cant-reproduce [TRAC Error] TypeError: unhashable type: 'list' velolala
Description

How to Reproduce

Expected Outcome

  • See tickets that are tagged with 'privacy'

Actual Outcome

Error (see below)::

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

(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: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:29.0) Gecko/20100101 Firefox/29.0

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (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 rsd
Description

When using Python 2.6, the ./bin/gmg dbupdate command throws an ImportError[1].

The source of error is in the mediagoblin/processing/__init__.py file, which imports 'OrderedDict' from 'collections'[2].

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 :-)

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.