You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dashboard and data visualizations should show up
Observed behaviour
They do not show up and following error is to be found on the Browser's javascript console
Looking at CKAN's log, following error could be identified:
Traceback (most recent call last):
File "./ckan/config/middleware/__init__.py", line 136, in __call__
return self.apps[app_name](environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/paste/cascade.py", line 130, in __call__
return self.apps[-1](environ, start_response)
File "./ckan/config/middleware/common_middleware.py", line 61, in __call__
return self.app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/paste/registry.py", line 379, in __call__
app_iter = self.application(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/repoze/who/middleware.py", line 117, in __call__
wrapper.finish_response(remember_headers)
File "/usr/local/lib/python2.7/dist-packages/repoze/who/middleware.py", line 181, in finish_response
write = self.start_response(self.status, headers, self.exc_info)
TypeError: http header key must be a string
By outputting the headers on the log, following list of headers was observed:
With these 2 pieces of information, the solution seems to convert those unicode strings to normal strings (without u'')
In order to test this, I have set the headers manually on File "/usr/local/lib/python2.7/dist-packages/repoze/who/middleware.py", line 181, in finish_response, like this:
Steps to reproduce
Expected behaviour
The dashboard and data visualizations should show up
Observed behaviour
They do not show up and following error is to be found on the Browser's javascript console
Looking at CKAN's log, following error could be identified:
By outputting the headers on the log, following list of headers was observed:
With these 2 pieces of information, the solution seems to convert those unicode strings to normal strings (without u'')
In order to test this, I have set the headers manually on File "/usr/local/lib/python2.7/dist-packages/repoze/who/middleware.py", line 181, in finish_response, like this:
which fixes the issue. However this is not a clean solution since it would affect other requests...
The text was updated successfully, but these errors were encountered: