[ckan-dev] Problem downloading files since 2.2 CKAN upgrade (from 2.0.2)

Jesús Redondo redondogarciajesus at gmail.com
Thu Oct 16 08:19:28 UTC 2014


Hello,

I decided to update a CKAN 2.0.2 instance to 2.2 version. The original one
was installed from package, so I followed these steps:
http://docs.ckan.org/en/847-new-theming-docs/upgrade-package-to-minor-release.html

The problem occurs when I try to download some kind of files from de
catalog. For example:

The portal URL is: http://www.caceresabierto.es/

The resource URL I want to download is:
http://www.caceresabierto.es/dataset/un_dataset_de_prueba2/resource/f67c2aed-5bb8-4282-896c-5c028f120c13

The URL to download the resource:
http://www.caceresabierto.es/dataset/2714d351-74ea-48b8-b779-d82d1eaa921e/resource/f67c2aed-5bb8-4282-896c-5c028f120c13/download/alojamientostripletas.ttl

The error message I receive is "Internal Server Error". Checking the
apache2 logs I have found these error messages:




*[Thu Oct 16 10:14:10 2014] [error] 2014-10-16 10:14:10,096 INFO
[ckan.lib.base]
/dataset/2714d351-74ea-48b8-b779-d82d1eaa921e/resource/f67c2aed-5bb8-4282-896c-5c028f120c13/download/alojamientostripletas.ttl
render time 0.043 seconds[Thu Oct 16 10:14:10 2014] [error] [client
127.0.0.1] mod_wsgi (pid=25871): Exception occurred processing WSGI script
'/etc/ckan/default/apache.wsgi'.[Thu Oct 16 10:14:10 2014] [error] [client
127.0.0.1] TypeError: expected byte string object for header value, value
of type NoneType found*


Not sure why this is happening. I have found this related question [1], so
it seems like I am not the only one facing this problem. Regards.

Jesús Redondo


[1]: https://lists.okfn.org/pipermail/ckan-dev/2014-June/007627.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141016/e26fa156/attachment-0002.html>


More information about the ckan-dev mailing list