[ckan-dev] UnicodeDecodeError when running paster search-index rebuild
Florian.Brucker at it.karlsruhe.de
Florian.Brucker at it.karlsruhe.de
Mon Jan 28 11:50:10 UTC 2019
Hi everyone,
I'm currently setting up a CKAN 2.8.2 instance, and I'm running into the
following UnicodeDecodeError whenever I'm trying to do "paster
search-index rebuild":
2019-01-28 12:37:12,326 ERROR [ckan.lib.search.common] 'ascii' codec can't
decode byte 0xe2 in position 60: ordinal not in range(128)
Traceback (most recent call last):
File "/var/transparenz.karlsruhe.de/ckan/ckan/lib/search/common.py",
line 60, in is_available
conn.search(q="*:*", rows=1)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pysolr.py", line
720, in search
response = self._select(params, handler=search_handler)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pysolr.py", line
418, in _select
return self._send_request('get', path)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pysolr.py", line
387, in _send_request
solr_message = self._extract_error(resp)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pysolr.py", line
496, in _extract_error
reason, full_html = self._scrape_response(resp.headers, resp.content)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/pysolr.py", line
527, in _scrape_response
if response.startswith('<?xml'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 60:
ordinal not in range(128)
Any ideas?
Regards,
Florian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190128/fff8f9c6/attachment.html>
More information about the ckan-dev
mailing list