[ckan-dev] Antwort: UnicodeError using Apache
Florian.Brucker at mb.karlsruhe.de
Florian.Brucker at mb.karlsruhe.de
Fri Jun 24 11:39:09 UTC 2016
Hi Pedro,
I've also run into problems with non-ASCII tags, for example with
ckanext-showcase [0]. Unicode handling in CKAN in general is being improved
(e.g. [1]), but that is work in progress. It would be great if you could
narrow down the source of your problem. For example, can you post a full
stracktrace and perhaps try to disable all or some of the extensions and
check whether the error persists?
[0] https://github.com/ckan/ckanext-showcase/issues/34
[1] https://github.com/ckan/ckan/issues/3006
Regards,
Florian
"ckan-dev" <ckan-dev-bounces at lists.okfn.org> schrieb am 24.06.2016
13:29:21:
> Von: Pedro G Silva <pedro.gracio at deimos.com.pt>
> An: CKAN Development Discussions <ckan-dev at lists.okfn.org>,
> Datum: 24.06.2016 13:29
> Betreff: [ckan-dev] UnicodeError using Apache
> Gesendet von: "ckan-dev" <ckan-dev-bounces at lists.okfn.org>
>
> 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)
>
> --
>
> [Bild entfernt]
>
> 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
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160624/7b9a9fb4/attachment-0003.html>
More information about the ckan-dev
mailing list