[ckan-dev] Problems with OpenID on Czech CKAN

Ondřej Vadinský ondrej.vadinsky at vse.cz
Fri Aug 10 06:39:48 UTC 2012


Hello,

since the upgrade to 1.7.1 we encountered on Czech CKAN problems with OpenID 
logins (Google as the OpenID provider, 500 internal server error returned). In 
apache log I found the following:

[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1] mod_wsgi (pid=1516): 
Exception occurred processing WSGI script 
'/var/lib/ckan/cz/wsgi.py'.
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1] Traceback (most recent 
call last):
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/usr/lib/pymodules/python2.6/apachemiddleware/__init__.
py", line 37, in __call__
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     return 
self.app(environ, start_response)
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/var/lib/ckan/cz/pyenv/lib/python2.6/site-packages/paste/cascade.py", line 
130, in __call__
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     return self.apps[-1]
(environ, start_response)
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/var/lib/ckan/cz/pyenv/src/ckan/ckan/config/middleware.py", line 187, in 
__call__
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     return 
self.app(environ, start_response)
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/var/lib/ckan/cz/pyenv/lib/python2.6/site-packages/paste/registry.py", line 
379, in __call__
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     app_iter = 
self.application(environ, start_response)
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/usr/lib/pymodules/python2.6/repoze/who/middleware.py", line 126, in __call__
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     identity
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/usr/lib/pymodules/python2.6/repoze/who/middleware.py", line 270, in 
challenge
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     forget_headers)
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]   File 
"/var/lib/ckan/cz/pyenv/src/ckan/ckan/lib/repoze_patch.py", line 169, in 
challenge
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1]     if 
len(self.ax_require.values()) or len(self.ax_optional.values()):
[Thu Aug 09 16:05:57 2012] [error] [client 127.0.0.1] AttributeError: 
'OpenIdIdentificationPlugin' object has no attribute 'ax_require'

and:
127.0.0.1 - - [09/Aug/2012:16:05:57 +0000] "POST /login_openid HTTP/1.0" 500 
637 "http://cz.ckan.net/user/login" "Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:14.0) Gecko/20100101 Firefox/14.0.1"

Is there a way to fix it? 

Regards,
OpOndřej Vadinský
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2809 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120810/864b8fa0/attachment-0002.bin>


More information about the ckan-dev mailing list