Re: Authkit setup error

2008-10-14 Thread Steven
I'm a newbie as well (working through the pylonsbook.com) in my SimpleSite/simplesite/websetup.py I have this line at the top of the file which defines model. from simplesite import model I think adding it to your websetup.py might do the trick. Steven On Oct 9, 11:05 am, dw [EMAIL

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: Freezing a Pylons app

2008-10-14 Thread Christopher Barker
Ian Bicking wrote: I'm trying to bundle up a pylons based app with py2app on OS-X. I've run into a problem with Paste. The issue is that paste (and paste.deploy, and paste.script) is set up as a setuptools namespace package. Another strategy might be to use pyinstall, which will install

Quickie about absolute urls

2008-10-14 Thread [EMAIL PROTECTED]
I have a template snippet that i use to render a list or urls. I use the snippet both to display the links on a page and in an email. The email obviously needs to have an absolute url to find it's way back tot the server. I have been looking at h.url() and url_for() which give me most of 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

authkit trac password

2008-10-14 Thread Walter Cruz
I'm trying to open a bug on authkit trac. What's the password? -- []' - 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

Re: Quickie about absolute urls

2008-10-14 Thread Matthew Zwier
How about adding qualified=True to the arguments for url_for()? On Tue, Oct 14, 2008 at 8:45 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a template snippet that i use to render a list or urls. I use the snippet both to display the links on a page and in an email. The email

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

Re: Authkit setup error

2008-10-14 Thread James Gardner
That's right, you need to import your model into the websetup.py file: from simplesite import model On Oct 14, 4:58 pm, Steven [EMAIL PROTECTED] wrote: I'm a newbie as well (working through the pylonsbook.com) in my SimpleSite/simplesite/websetup.py I have this line at the top of the file