[ckan-dev] UnicodeError using Apache

Pedro G Silva pedro.gracio at deimos.com.pt
Fri Jun 24 11:29:21 UTC 2016


Hi All
Im using ckan 2.5.1 on production mode. Today I tried to query by tag, like
this ip/dataset?tags=Precipitação  . The inclusion of the "çã" chars give
me an internal server error:

I tried to fix this in the apache conf using
WSGIDaemonProcess ckan_default display-name=ckan_default processes=2
threads=15 *lang='en_US.UTF-8' locale='en_US.UTF-8'*

I also tried to add *charset utf-8 *to the nginx config, but the error
persists. Does anyone has any insight on this?

Error
[Fri Jun 24 12:22:23.723326 2016] [:error] [pid 2267:tid 139744905996032]
[remote 127.0.0.1:49137] UnicodeEncodeError: 'ascii' codec can't encode
characters in position 15-16: ordinal not in range(128)


-- 


[image: DEIMOS Engenharia, SA] <http://www.deimos.pt>
*Pedro Gracio Silva*
Aerospace Systems / Production Center

*Av. D. Joao II, Lt 1.17.01, 10 • 1998-023 Lisboa, Portugal*
Ph: +351 21 893 3020 • Fax: +351 21 896 9099
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160624/ae30300f/attachment-0002.html>


More information about the ckan-dev mailing list