Re: how should i handle redirects within try/except statements ?

2009-10-13 Thread Piotr Kęplicz
Jonathan Vanasco, wtorek 13 października 2009 05:33: [...] the issue is that redirect() raises a webob.exc error, which means my code get really really messy trying to catch it. Catch and re-raise HTTPRedirections. from webob.exc import HTTPRedirection try: stuff() except

Re: Unable to create a new project in pylons

2009-10-13 Thread Sreejith K
Is there any solution for this issue ? On Oct 12, 3:27 pm, Sreejith K sreejith...@gmail.com wrote: I also got the same error. The output of Pdb is ...   File /usr/lib64/python2.5/posixpath.py, line 60, in join     if b.startswith('/'): AttributeError: 'tuple' object

Re: pylonshq.com down?

2009-10-13 Thread sniipe
Me too... On 12 Paź, 16:21, Scott Sharkey sshar...@linuxunlimited.com wrote: Is it just me, or is pylonshq.com down? -Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this

Re: Testing controllers on Google AppEngine: can it be done?

2009-10-13 Thread Matt Feifarek
On Sun, Oct 11, 2009 at 4:03 PM, Ian Bicking i...@colorstudy.com wrote: Testing should work fine -- the key is if you use appengine-homedir, it'll setup your data store in sitecustomize.py (automatically on Python startup), then you get your application instance by calling make_app directly.

Re: static installation from SCM checkout

2009-10-13 Thread Jonathan Vanasco
i don't know about things like Paste, but i personally do handle all of my non-pylons includes by putting them in version control. i toss them all in namespace ##APP##/lib/externals , and add that to the python search path in the __init__.py you might be able to put paste, pylons, etc in the

Re: static installation from SCM checkout

2009-10-13 Thread Mike Orr
On Mon, Oct 12, 2009 at 4:37 PM, m h sesqu...@gmail.com wrote: Hey Folks- This might be semi weird.  I've got a client that wants to be able to run an application without installing per se.  They've currently got everything checked into an SCM, Does SCM mean version control system? and

Re: static installation from SCM checkout

2009-10-13 Thread m h
On Tue, Oct 13, 2009 at 11:04 AM, Mike Orr sluggos...@gmail.com wrote: On Mon, Oct 12, 2009 at 4:37 PM, m h sesqu...@gmail.com wrote: Hey Folks- This might be semi weird.  I've got a client that wants to be able to run an application without installing per se.  They've currently got

Re: static installation from SCM checkout

2009-10-13 Thread Wyatt Lee Baldwin
On Oct 13, 10:41 am, Mike Orr sluggos...@gmail.com wrote: On Tue, Oct 13, 2009 at 10:38 AM, m h sesqu...@gmail.com wrote: On Tue, Oct 13, 2009 at 11:04 AM, Mike Orr sluggos...@gmail.com wrote: On Mon, Oct 12, 2009 at 4:37 PM, m h sesqu...@gmail.com wrote: Hey Folks- This might be

SQLAlchemy mapping to Authkit users

2009-10-13 Thread dw
I have a project using Authkit. I'd like to make a many-to-many mapping to my users, but in my model.__init__ the User class is not there to map to. It seems to me that model.User is being added after __init__ is called. I can't seem to track down exactly what's going on though. Does anyone

Re: static installation from SCM checkout

2009-10-13 Thread Mike Orr
On Tue, Oct 13, 2009 at 10:38 AM, m h sesqu...@gmail.com wrote: On Tue, Oct 13, 2009 at 11:04 AM, Mike Orr sluggos...@gmail.com wrote: On Mon, Oct 12, 2009 at 4:37 PM, m h sesqu...@gmail.com wrote: Hey Folks- This might be semi weird.  I've got a client that wants to be able to run an

Re: static installation from SCM checkout

2009-10-13 Thread Jason S.
On Oct 13, 12:04 pm, Mike Orr sluggos...@gmail.com wrote: I would hesitate to put the entire virtualenv into version control because the Python executable is a binary, there are symlinks from the lib directory to the system Python, and also .so files (binary) in the lib directory.  These all