[ckan-dev] Problems updating to tomcat 7.0.90 in Centos 7.4

David Hernández Gutiérrez davisoski at gmail.com
Sat Jul 28 00:22:07 UTC 2018


Hi.

I have installed ckan 2.7.2 about 7 months ago using a mix of this links:
https://github.com/ckan/ckan/wiki/How-to-Install-CKAN

Everything goes well, but now I have the requierement to update tomcat to
version 7.0.90 because of a bug in version 7.0.76.

Once updated to 7.0.90 I get this error:
*ERROR [ckan.lib.search.common] 'ascii' codec can't decode byte 0xe2 in *
Traceback (most recent call last):
File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/common.py", line 57,
in is_available conn.search(q="*:*", rows=1)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line
720, in search response = self._select(params, handler=search_handler)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line
418, in _select return self._send_request('get', path)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line
387, in _send_request solr_message = self._extract_error(resp)
File "/usr/lib/ckan/default/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/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)
*Problems were found while connecting to the SOLR server*
ERROR [ckan.lib.search.common] 'ascii' codec can't decode byte 0xe2 in
position
Traceback (most recent call last):
File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/common.py", line 57,
in is_available conn.search(q="*:*", rows=1)
File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line
720, in search

There is an issue open:
https://github.com/ckan/ckan/issues/4128

Tried suggestion in: https://github.com/ckan/ckan/issues/4043

pip install --upgrade psycopg2==2.7.5

Any suggestion??

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180728/49636b11/attachment.html>


More information about the ckan-dev mailing list