I have to use 2.4. Our servers are running RedHat Enterprise Linux 5.4
which ships py2.4 by default. I used to compile python2.6 which is
better, but having to install compilation tools on these servers is
considered a security risk. (I could just remove the packages laters,
but that's messy).
I guess I have to write James Garder to include this fix as you
suggested.

Thanks,
Sandor







On Dec 26, 8:52 am, Graham Higgins <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 23 Dec 2009, at 22:42, gsandorx wrote:
>
> > AuthKit doesn’t work with Python 2.4 due to it has some Exceptions
> > declared not using the new class styles. The bug was fix partially in
> > AuthKit 0.4.5, thougth they say it's completely solved. Actually the
> > bug was solved in class RemoteUser (authkit/permissions.py), but
> > nothing was done in class ValidAuthKitUser (I used this class in my
> > applications).
>
> > I modified the class ValidAuthKitUser to this (watch out the
> > indentation!):
> > Am I wrong? Did I download an out-of-date version? Has anybody else
> > experienced the same kind of error?
>
> Don't use 2.4 m'self but your fix sounds reasonable. You might want to  
> drop an email to James Gardner at 3aims.com to get your fix integrated  
> with the development code, the last commit to the AuthKit tip was  
> about a months ago:
>
> https://hg.3aims.com/public/AuthKit
>
> HTH
>
> Cheers,
>
> Graham
>
> http://www.linkedin.com/in/ghiggins
>
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAks2FSQACgkQOsmLt1NhivzaZACfTAAvnSFTa9d7hgMGtu9q3zOo
> J/0AoJA6UAU6H+7ex/LnHkC1aS5lWQ3liQCVAgUBSzYVJFnrWVZ7aXD1AQK6OQP/
> bqQx24Nv8LRVJQU9+DTagVjUpfknMAGgHbCCn6JcbwaHIilRMVZHoBin6HbqSkLA
> pWug2L4tlKvgqblj3i09drxOC48mPUdshWR1OuHlEjDK8SvRWZRFkrDaXHVgYZJQ
> B4Wn9fO0MII1qmKQDCtCQqrQno5pH8FW9oIlpOEeUV4=
> =9K4Q
> -----END PGP SIGNATURE-----

--

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