Re: AuthKit Newbie Woes

2008-10-21 Thread ben adam
Unfortunately the fix you suggested causes another problem for me. I have composite app setup as follows: [composite:main] use = egg:Paste#urlmap / = config:main/development.ini /app1 = config:app1/development.ini /app2 = config:app2/development.ini ..and for app2 I specify login form as:

Re: AuthKit Newbie Woes

2008-10-15 Thread Steven
Thanks! Moving the middleware line worked and I was able to get through the SimpleSite Part 3 Auth tutorial. Btw, I wanted to take this opportunity to let you know I'm really enjoying your Pylons Book, really great and pertinent information! On Oct 14, 3:44 pm, James Gardner [EMAIL PROTECTED]

AuthKit Newbie Woes

2008-10-14 Thread Steven
I'm going through the tutorials at http://pylonsbook.com and have 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

Re: AuthKit Newbie Woes

2008-10-14 Thread ben adam
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

Re: AuthKit Newbie Woes

2008-10-14 Thread Walter Cruz
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 at http://pylonsbook.com and have been trying to get through the AuthKit section for a while. I've tried both

Re: AuthKit Newbie Woes

2008-10-14 Thread James Gardner
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

Re: AuthKit Newbie Woes

2008-10-14 Thread James Gardner
There is an incompatibility between AuthKit and Pylons 0.9.7. Just put the all the AuthKit middleware right at the end of the middleware stack before the return statement and after the Cascade and then it should work. (This is explained in the updated documentation). On Oct 14, 4:04 pm, Steven