I found solution. As I suspected, the problem was with Python version.
AuthKit egg is available only for Python 2.5 and I used 2.4. So just
upgrade to Plone 2.5 and it works as expected

On 11 Lis, 10:09, Maciek <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use AuthKit in Pylons (0.9.7) but I get TypeError when
> using @authorize(RemoteUser()):
>
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/AuthKit-0.4.2-py2.4.egg/authkit/authorize/
> wsgi_adaptors.py", line 102, in __call__
>     return self.permission.check(self.app, environ, start_response)
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/AuthKit-0.4.2-py2.4.egg/authkit/
> permissions.py", line 174, in check
>     raise NotAuthenticatedError('Not Authenticated')
> TypeError: exceptions must be classes, instances, or strings
> (deprecated), not NotAuthenticatedError
>
> I couldnt find any info about it in google. Can you maybe have any
> idea what can be wrong? Maybe Python version should be higher?
>
> Greetings,
> Maciek
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
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