[ckan-dev] TypeError: unicode
Isabel M. Ruiz Mellado
isaruizmellado at gmail.com
Mon Oct 2 10:37:08 UTC 2017
Hi all,
I have upgrade from ckan 2.6.2 first to ckan 2.7.0. and later to ckan 2.7.1
y 2.7.2.
If I open a CSV preview into Google Chrome, it shows the "loading" gif and
It throws this log error[1].
What can be wrong?
[1]:
[Wed Sep 27 14:25:32.094290 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] mod_wsgi (pid=58407):
Exception occurred processing WSGI script
'/home/ckan/ckan/lib/default/bin/malaga.py'.,
referer: http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.094450 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] Traceback (most recent call
last):, referer: http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.094529 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/src/ckan/ckan/config/middleware/__init__.py",
line 136, in __call__, referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.094726 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] return
self.apps[app_name](environ, start_response), referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.094785 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/src/ckan/ckan/config/
middleware/common_middleware.py", line 216, in __call__, referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.094903 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] return
self.app(environ, start_response), referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095003 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/lib/python2.7/site-packages/paste/cascade.py",
line 130, in __call__, referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095070 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] return
self.apps[-1](environ, start_response), referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095175 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/src/ckan/ckan/config/
middleware/common_middleware.py", line 61, in __call__, referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095229 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] return
self.app(environ, start_response), referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095325 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/lib/python2.7/site-packages/paste/registry.py",
line 379, in __call__, referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095448 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] app_iter =
self.application(environ, start_response), referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095497 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/lib/python2.7/site-packages/repoze/who/middleware.py",
line 117, in __call__, referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095628 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428]
wrapper.finish_response(remember_headers),
referer: http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095678 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] File
"/home/ckan/ckan/lib/default/lib/python2.7/site-packages/repoze/who/middleware.py",
line 177, in finish_response, referer: http://datosabiertos.malaga.
eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095816 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] write =
self.start_response(self.status, headers, self.exc_info), referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-
aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-
4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
[Wed Sep 27 14:25:32.095881 2017] [wsgi:error] [pid 58407:tid
140455429764864] [client 192.168.254.195:46428] T*ypeError: expected byte
string object, value of type unicode found, referer:
http://datosabiertos.malaga.eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3
<http://datosabiertos.malaga.eu/dataset/ocupacion-aparcamientos-smassa/resource/0dcf7abd-26b4-42c8-af19-4992f1ee60c6/view/3d9a9fa2-c93a-4171-8050-66311c6733d3>*
--
Isabel M. Ruiz Mellado
http://about.me/isabelruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20171002/95315e56/attachment-0002.html>
More information about the ckan-dev
mailing list