[Pidgin] #16342: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-7: ordinal not in range(256)

Pidgin trac at pidgin.im
Fri Sep 12 10:23:49 EDT 2014


#16342: UnicodeEncodeError: 'latin-1' codec can't encode characters in position
0-7: ordinal not in range(256)
--------------------+--------------------------
 Reporter:  Aleksa  |      Owner:  EionRobb
     Type:  defect  |     Status:  new
Milestone:          |  Component:  unclassified
  Version:  2.10.9  |   Keywords:
--------------------+--------------------------
 ==== How to Reproduce ====

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

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {'q': u'\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c
 \u0443\u0447\u0435\u0442\u043d\u0443\u044e
 \u0437\u0430\u043f\u0438\u0441\u044c'}
 }}}

 User agent: `Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36
 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36`

 ==== System Information ====
 ''System information not available''

 ==== Enabled Plugins ====
 ''Plugin information not available''

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 497, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 214, in dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/search/web_ui.py", line 106, in
 process_request
     results = self._do_search(req, terms, filters)
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/search/web_ui.py", line 214, in
 _do_search
     or [])
   File "build/bdist.linux-x86_64/egg/doxygentrac/doxygentrac.py", line
 207, in get_search_results
     keywords = [k.encode(self.encoding) for k in keywords]
 UnicodeEncodeError: 'latin-1' codec can't encode characters in position
 0-7: ordinal not in range(256)
 }}}

--
Ticket URL: <https://developer.pidgin.im/ticket/16342>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list