Hello,

I don't expect that someone will help but maybe someone with
experience already knows what I have done wrong.

I have pylons site running on mod_wsgi (Apache) using AuthKit
(OpenID). When I try to perform login operation and Authkit should
return '200 OK' it fails with error message:

TypeError: expected string object for header value

I have printer stack but that doesn't help me to find where is the problem:

[('/usr/lib/python2.4/site-packages/Paste-1.4-py2.4.egg/paste/cascade.py',
92, '__call__', 'return self.apps[-1](environ, start_response)'),
('/usr/lib/python2.4/site-packages/Paste-1.4-py2.4.egg/paste/registry.py',
340, '__call__', 'app_iter = self.application(environ,
start_response)'),
('/usr/lib/python2.4/site-packages/Paste-1.4-py2.4.egg/paste/recursive.py',
80, '__call__', 'return self.application(environ, start_response)'),
('/usr/lib/python2.4/site-packages/Paste-1.4-py2.4.egg/paste/errordocument.py',
185, '__call__', 'app_iter = self.application(environ,
change_response)'),
('/usr/lib/python2.4/site-packages/AuthKit-0.4.0-py2.4.egg/authkit/authenticate/__init__.py',
290, '__call__', 'return self.app(environ, start_response)'),
('/usr/lib/python2.4/site-packages/AuthKit-0.4.0-py2.4.egg/authkit/authenticate/cookie.py',
352, '__call__', 'return self.app(environ,
cookie_setting_start_response)'),
('/usr/lib/python2.4/site-packages/AuthKit-0.4.0-py2.4.egg/authkit/authenticate/open_id.py',
426, '__call__', 'return self.app(environ, start_response)'),
('/usr/lib/python2.4/site-packages/Beaker-0.8-py2.4.egg/beaker/session.py',
401, '__call__', 'response = self.wrap_app(environ,
session_start_response)'),
('/usr/lib/python2.4/site-packages/AuthKit-0.4.0-py2.4.egg/authkit/authenticate/open_id.py',
190, '__call__', 'response = self.verify(environ, start_response)'),
('/usr/lib/python2.4/site-packages/AuthKit-0.4.0-py2.4.egg/authkit/authenticate/open_id.py',
222, 'verify', "environ['wsgi.errors'].write(str(traceback.extract_stack()))")]

Does anyone understand what happens here?

-- 
Dalius
http://blog.sandbox.lt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to