TG 2.2 and auth

261 views
Skip to first unread message

Juparave

unread,
Sep 6, 2012, 1:25:55 AM9/6/12
to turbo...@googlegroups.com
In the excitement while migrating my app from 2.1.5 to 2.2 I found my self trapped in a

ValueError: cookie: An object has failed to implement interface <InterfaceClass repoze.who.interfaces.IAuthenticator>
        The authenticate attribute was not provided.

At first I thought it had something related to old repoze settings so I quickstarted a new app with default parameters and it returns the same error.  This is done in a complete new virtualenv.

Although if I use the following command

$ paster quickstart -n -x example2

It creates an auth-less app that tests and runs well.

Am I doing something wrong?
Do I need to set it up manually?

Regards
Juan Pablo


Juparave

unread,
Sep 6, 2012, 1:50:20 AM9/6/12
to turbo...@googlegroups.com
Nevermind,

Aparently I rushed my self into python setup.py of the old project installing old repoze.what packages

After removing:
  • repoze.what
  • repoze.what.plugins.sql
  • repoze.what-pylons
  • repoze.what-quickstart
  • repoze.who-testutil
I'm passing that point, but now I'm facing other issues.  I'll read the 'Upgrading guide' before posting any of them.

Thanks

neeraj mishra

unread,
Apr 2, 2014, 7:24:09 AM4/2/14
to turbo...@googlegroups.com
Hello,
I also got stuck in the same problem. It says
Failed to load application or server: cokie: an object has failed to implement interface
<Interface eclass repoze.who interfaces.IAuthenticator>
Could you kindly tell us how you solved your problem and help me to get out
From this problem.

Thanx

屎克螂

unread,
Oct 24, 2014, 2:58:36 AM10/24/14
to turbo...@googlegroups.com
我的解决办法是
pip uninstall repoze.who
pip install repoze.who

原因是 repoze.who版本太低
 

Alessandro Molina

unread,
Oct 24, 2014, 3:52:05 AM10/24/14
to TurboGears
Please make sure you post in english next time, as it is an international mailing list the only way we can ensure everyone is able to read the messages is by using english :)

According to google translate:

"""
My solution is to 
pip uninstall repoze.who 
pip install repoze.who 

The reason is repoze.who version is too low
Reply all
Reply to author
Forward
0 new messages