Re: Upgraded to Pylons==dev, getting traceback from pkg_resources

2010-01-05 Thread Mike Orr
On Tue, Jan 5, 2010 at 9:45 PM, Matt Feifarek wrote: > On Tue, Jan 5, 2010 at 11:13 PM, Matt Feifarek > wrote: >> >> I upgraded a working Pylons 0.9.7 app to the new semantics from Pylons 1.0 >> (via pip install pylons==dev). >> When I try to run the appserver, I get a traceback: > > Here's an ea

Re: Upgraded to Pylons==dev, getting traceback from pkg_resources

2010-01-05 Thread Matt Feifarek
On Tue, Jan 5, 2010 at 11:13 PM, Matt Feifarek wrote: > I upgraded a working Pylons 0.9.7 app to the new semantics from Pylons 1.0 > (via pip install pylons==dev). > > When I try to run the appserver, I get a traceback: > Here's an easily reproducible case: *w...@dude:~$ virtualenv --distribute

Upgraded to Pylons==dev, getting traceback from pkg_resources

2010-01-05 Thread Matt Feifarek
I upgraded a working Pylons 0.9.7 app to the new semantics from Pylons 1.0 (via pip install pylons==dev). When I try to run the appserver, I get a traceback: $ paster serve --reload localpylons.ini Traceback (most recent call last): File "/home/work/Mayhem/web/pylonsve/bin/paster", line 9, in

Re: Pylons and emacs tips

2010-01-05 Thread Jean Schurger
Le mardi 05 janvier 2010 à 10:50 -0800, karikris...@gmail.com a écrit : > Hi All, > > Sorry about asking specially emacs. I have been using emacs for past 6 > months on daily 2 hour basis. rest of the time, I use Visual Studio in > my day job. > > 1. I often found missing the debug feature closel

Re: How extensible is AuthKit?

2010-01-05 Thread Jonathan Vanasco
i don't like AuthKit ( no offense James ! - it's just never served my needs ) and have had to integrate with systems like you describe. so the tips i can give are this: - create your validation and cookie-set/expire functions in something like app/lib/helpers/auth.py - put the logic you need in a

Re: Pylons and emacs tips

2010-01-05 Thread Ross Vandegrift
On Tue, Jan 05, 2010 at 10:50:17AM -0800, karikris...@gmail.com wrote: > 1. I often found missing the debug feature closely like Visual > Studio. I can't speak to this since I don't know what this Visual Studio feature does. I don't run any python debuggers from Emacs. For that matter, I tend no

Re: How extensible is AuthKit?

2010-01-05 Thread Mike Orr
On Tue, Jan 5, 2010 at 10:38 AM, Matt Feifarek wrote: > On Mon, Jan 4, 2010 at 11:57 AM, James Gardner wrote: >> >> One tip though, I now believe using exceptions to trigger the 401 and >> 403 responses and then intercepting them in WSGI middleware is not a >> good design pattern. New code I'm wo

Pylons and emacs tips

2010-01-05 Thread karikris...@gmail.com
Hi All, Sorry about asking specially emacs. I have been using emacs for past 6 months on daily 2 hour basis. rest of the time, I use Visual Studio in my day job. 1. I often found missing the debug feature closely like Visual Studio. 2. I am not sure how to use the mako syntax high lighting in ema

Re: How extensible is AuthKit?

2010-01-05 Thread Matt Feifarek
On Mon, Jan 4, 2010 at 11:57 AM, James Gardner wrote: > One tip though, I now believe using exceptions to trigger the 401 and > 403 responses and then intercepting them in WSGI middleware is not a > good design pattern. New code I'm working on generates a normal > response in the authorization de

Very simple theming in Pylons

2010-01-05 Thread Raoul Snyman
Hi folks, I know some folks have looked for a way to create themes in Pylons apps, and I myself have too, and after a little investigation today, I came up with a very simple method to achieve theming. For those who are interested, I blogged about it: http://blog.saturnlaboratories.co.za/2010/01/