﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
3157,Causes error when trying to view a ticket,anonymous,k0s," Trac detected an internal error:

KeyError: u'\u0432'

Python Traceback
Most recent call last:

    * File ""/usr/lib/python2.5/site-packages/AutoQuery-0.1.2-py2.5.egg/autoquery/templates/autoquery_ticket.html"", line 167, in <Expression u'query_link(field.name, ticket[field.name])'>
      Code fragment:
       162. <py:if test=""field"">
       163. <py:choose test="""">
       164. <py:when test=""'rendered' in field"">${field.rendered}</py:when>
       165. <py:otherwise>
       166. <py:if test=""ticket[field.name]"">
       167. <a href=""${query_link(field.name, ticket[field.name])}"">
       168. ${ticket[field.name]}
       169. </a>
       170. </py:if>
       171. </py:otherwise>
       172. </py:choose>
      Local variables:
      Name	Value
      __data__ 	[{'field': {'name': 'priority', 'type': 'select', 'value': u'major', ...
    * File ""/usr/lib/python2.5/site-packages/AutoQuery-0.1.2-py2.5.egg/autoquery/autoquery.py"", line 81, in <lambda>
      Code fragment:
        76.  
        77. (Since 0.11)
        78. """"""
        79. if template == 'ticket.html':
        80. query = self.env.href() + '/query?%s=%s' + self.query_args
        81. data['query_link'] = lambda x, y: query % (x, urllib.quote_plus(y))
        82. template = 'autoquery_ticket.html'
        83. return (template, data, content_type)
      Local variables:
      Name	Value
      query 	u'/trac/mediaplan/query?%s=%s&order=priority'
      x 	'priority'
      y 	u'\u0432\u0430\u0436\u043d\u044b\u0439'
    * File ""/usr/lib/python2.5/urllib.py"", line 1213, in quote_plus
      Code fragment:
      1208. def quote_plus(s, safe = ''):
      1209. """"""Quote the query fragment of a URL; replacing ' ' with '+'""""""
      1210. if ' ' in s:
      1211. s = quote(s, safe + ' ')
      1212. return s.replace(' ', '+')
      1213. return quote(s, safe)
      1214.  
      1215. def urlencode(query,doseq=0):
      1216. """"""Encode a sequence of two-element tuples or dictionary into a URL query string.
      1217.  
      1218. If any values in the query arg are sequences and doseq is true, each
      Local variables:
      Name	Value
      s 	u'\u0432\u0430\u0436\u043d\u044b\u0439'
      safe 	''
    * File ""/usr/lib/python2.5/urllib.py"", line 1205, in quote
      Code fragment:
      1200. safe_map = {}
      1201. for i in range(256):
      1202. c = chr(i)
      1203. safe_map[c] = (c in safe) and c or ('%%%02X' % i)
      1204. _safemaps[cachekey] = safe_map
      1205. res = map(safe_map.__getitem__, s)
      1206. return ''.join(res)
      1207.  
      1208. def quote_plus(s, safe = ''):
      1209. """"""Quote the query fragment of a URL; replacing ' ' with '+'""""""
      1210. if ' ' in s:
      Local variables:
      Name	Value
      cachekey 	('', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-')
      s 	u'\u0432\u0430\u0436\u043d\u044b\u0439'
      safe 	''
      safe_map 	{'\x00': '%00', '\x83': '%83', '\x04': '%04', '\x87': '%87', '\x08': ...

File ""/usr/lib/python2.5/site-packages/AutoQuery-0.1.2-py2.5.egg/autoquery/templates/autoquery_ticket.html"", line 167, in <Expression u'query_link(field.name, ticket[field.name])'>
  <a href=""${query_link(field.name, ticket[field.name])}"">
File ""/usr/lib/python2.5/site-packages/AutoQuery-0.1.2-py2.5.egg/autoquery/autoquery.py"", line 81, in <lambda>
  data['query_link'] = lambda x, y: query % (x, urllib.quote_plus(y))
File ""/usr/lib/python2.5/urllib.py"", line 1213, in quote_plus
  return quote(s, safe)
File ""/usr/lib/python2.5/urllib.py"", line 1205, in quote
  res = map(safe_map.__getitem__, s)

User Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2)
Trac: 	0.11dev-r7184
Python: 	2.5.2 (r252:60911, May 15 2008, 17:59:19) [GCC 4.3.1 20080501 (prerelease)]
setuptools: 	0.6c8
SQLite: 	3.5.9
pysqlite: 	2.4.1
Genshi: 	0.5dev-r860
Pygments: 	0.10
Subversion: 	1.4.6 (r28521)
jQuery:	1.2.3",defect,closed,normal,AutoQueryPlugin,blocker,fixed,,,0.11
