Hi Steven, Ben and Walter,

I updated the AuthKit chapters today:

http://pylonsbook.com/alpha1/authentication_and_authorization
http://pylonsbook.com/alpha1/simplesite_part_3

As it happens, although the SimpleSite Part 3 chapter isn't finished,
I believe all the AuthKit information is now accurate.

Version 0.4.1 is exactly the same as the current SVN trunk. There are
quite a few bugs outstanding against AuthKit so I thought I'd release
0.4.1 for all people currently using trunk and then start using 0.4.2
for the bug fixes but since I'm going on holiday in 4 hours I didn't
want to formally release it before I left. You should just use trunk
for the time being but if you really want to use 0.4.1 you can do this
(bear in mind it might need to be tweaked slightly before I make it
formally available):

svn co http://authkit.org/svn/AuthKit/tags/0.4.1 AuthKit
cd AuthKit
python setup.py install

I'll check it more carefully and release it once I'm back next week
and then begin the work of applying tickets and updating the
documentation.

Best wishes,

James




On Oct 14, 9:21 pm, ben adam <[EMAIL PROTECTED]> wrote:
> I was also getting the keyerror before but now I use the work around
> mentioned in the pylonsbook (check one of the Caution! boxes in Ch18,
> i.e. add authkit middleware at the end just before return statement).
>
> On Oct 14, 12:51 pm, "Walter Cruz" <[EMAIL PROTECTED]> wrote:
>
> > Looks like a new version from authkit was released yesterday.. Maybe
> > the docs need a update..
>
> > On 10/14/08, Steven <[EMAIL PROTECTED]> wrote:
>
> > >  I'm going through the tutorials athttp://pylonsbook.comandhave been
> > >  trying to get through the AuthKit section for a while.
>
> > >  I've tried both "easy_install AuthKit==dev" and "easy_install
> > >  "AuthKit>=0.4.1,<=0.4.9"", Pylons 0.9.7, SQLAlchemy 0.5.
>
> > >  In both cases it doesn't seem to work.. it looks like the pylonsbook
> > >  and authkit are a work in progress ( they both look like they've been
> > >  updated in the last couple weeks)...  while it is probably just me
> > >  being a newbie and doing things wrong.. I am wondering also if I'm
> > >  meant to be using AuthKit yet or if it isn't completed yet.
>
> > >  It correctly displays the login screen when I try to access a
> > >  controller that is protected with the authorize decorator however when
> > >  I try to login with "foo" and password "bar" (from pylonsbook
> > >  tutorial).. I get a
>
> > >  KeyError exception for pylons.pylons not being valid...
>
> > >  Since I wasn't sure if AuthKit was complete I switched over to trying
> > >  using repoze.who so I can't get a complete stack trace easily now..
> > >  but thought I would ask folks anyhow.
>
> > >  [1] has anyone had any luck getting AuthKit to log users in / out
> > >  using SQLAlchemy and UsersFromDatabase?  (I mean is AuthKit complete?)
> > >  [2] if so, any times on the exception I'm seeing?
>
> > >  Steven
>
> > --
> > []'
> > - Walter
> > waltercruz.com
--~--~---------~--~----~------------~-------~--~----~
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