Sorry for the big confusion I caused (hope your hearts are still
rocking ;)
when I said authkit is putting the value into the headers, I was just
refering to the cookie what is going to be set...
the name is: authtkt
here is a header-dict which I debugged:
2008/11/17 12:22:31 [error] 31755#0: [('location', '/'), ('content-
type', 'text/html'), ('Set-Cookie',
u'[EMAIL PROTECTED];
Path=/;')]
trace:
2008/11/17 12:30:51 [error] 1584#0: *1 Traceback (most recent call
last):
2008/11/17 12:30:51 [error] 1584#0: *1 File "/data/Home/
olli/.virtualenvs/tg2env/lib/python2.5/site-packages/repoze.who-1.0.2-
py2.5.egg/repoze/who/middleware.py", line 135, in __call__
2008/11/17 12:30:51 [error] 1584#0: *1 wrapper.finish_response
(remember_headers)
2008/11/17 12:30:51 [error] 1584#0: *1 File "/data/Home/
olli/.virtualenvs/tg2env/lib/python2.5/site-packages/repoze.who-1.0.2-
py2.5.egg/repoze/who/middleware.py", line 304, in finish_response
2008/11/17 12:30:51 [error] 1584#0: *1 write = self.start_response
(self.status, headers, self.exc_info)
2008/11/17 12:30:51 [error] 1584#0: *1 TypeError: expected string
object for header value
after updateing repoze.who to 1.0.7 the error was solved...
On Nov 16, 3:38 pm, GustaV <[EMAIL PROTECTED]> wrote:
> Sorry for the big copy/paste... and the misspelled "got" -> I didn't
> solved it.
>
> New ticket athttp://trac.turbogears.org/ticket/2037
>
> On 16 nov, 15:00, "Florent Aide" <[EMAIL PROTECTED]> wrote:
>
> > On Sun, Nov 16, 2008 at 1:56 PM, GustaV <[EMAIL PROTECTED]> wrote:
>
> > > Actually, from a new site-packages folder, on windowsXP :
>
> > > - easy_install -ihttp://www.turbogears.org/2.0/downloads/current/index
> > > tg.devtools
> > > - paster quickstart JustATry
> > > - paster setup-app development.ini
> > > launch wamp
> > > -http://localhost/login_handler?login=manager&password=managepass
>
> > > I got the problem.
> > > AuthKit is not installed as far as I can see.
>
> > Please usehttp://paste.turbogears.orgtopaste huge amounts of
> > code/traceback like this one.
>
> > When you say you got the problem, do you mean you solved it ? Authkit
> > is not part of the standard tg2 stack so if you did not install it
> > manually there is a problem somewhere else. And it is more than
> > possible that some unicode object may have been leaked into the wsgi
> > env by the standard auth stuff from the tg2 beta. Could you create a
> > ticket in our trac system so we don't lose this info?
>
> > Thanks,
>
> > Florent.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---