WebError can't deal modules that have non-ascii character in code correctly

2010-02-17 Thread Victor Lin
Hi, I got a little problem when I my server goes wrong, the WebError did catch the error and try to dump information about the exception and send an email to me. Unfortunately, there is non-ascii character in my TurboGears2 application. @expose() def split(self, email, input):

Re: Windows: relationship between paster, python, and your application

2010-02-17 Thread Veloz
So what I've gleaned from your replies, and what I've noticed directly is that, under Windows: Paster.exe seems to have two general roles, when run as paster serve app.ini: 1. To launch an instance of Python and have it execute the whole pylons app, starting with paster-script.py 2. To act as

Re: Windows: relationship between paster, python, and your application

2010-02-17 Thread Veloz
Grr. A few times in the above post I said pylons.exe, I meant to say paster.exe -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to

Re: Can an app be debugged without constantly reloading the server?

2010-02-17 Thread Matt Feifarek
I haven't used it with Pylons (yet) but Wing does have that nifty remote debugging feature. Have you tried that? On Tue, Feb 16, 2010 at 8:46 AM, Jamie jjbe...@gmail.com wrote: Thanks, but unfortunately automatic reloading doesn't normally work correctly from within the IDEs I've tested:

Re: Writing a web app as a series of plugins

2010-02-17 Thread Jonathan Vanasco
I tried to do this before, and gave up. It became WAY too confusing and difficult to manage as WSGI components. What I ended up doing is creating a single WSGI component to 'plugin' and bootstrap some special variables into 'c'. I then created a series of Libraries that offer functions and

Re: QuickWiki Pylons-1.0b1

2010-02-17 Thread Matthew Burgess
Matthew Burgess wrote: On Thu, 11 Feb 2010 18:06:41 -0800, Ben Bangert b...@groovie.org wrote: On Feb 11, 2010, at 2:27 PM, Matthew Burgess wrote: I'm trying to get the QuickWiki tutorial to work against 1.0b1 and fixing up the docs as I go with the intention of submitting a patch once I'm

WSGI at PyCon

2010-02-17 Thread Mike Orr
Last year at PyCon there were several Open Space sessions dedicated to WSGI framework issues and virtualenv, plus the large WSGI sprint. These were quite successful so we're trying to do the same this year. These are targeted to anyone interested in framework development, whether you're an

Re: Windows: relationship between paster, python, and your application

2010-02-17 Thread Mark Eichin
Re control-C and threads: http://www.dabeaz.com/python/GIL.pdf (slides 21-25 or so, but really, read all of it, it's quite fascinating) explains why it's broken. On Tue, Feb 16, 2010 at 4:00 PM, Mike Orr sluggos...@gmail.com wrote: On Tue, Feb 16, 2010 at 12:08 PM, Veloz michaelve...@gmail.com

SQLAlchemy mapped table's relation

2010-02-17 Thread Anil
I have a mapped table like this: mapper(User, t_user, properties = { 'plans': relation(Plan)}) Is it possible to relate the User object to a column in the Plan table with a column status set to active? Thanks -- You received this message because you are subscribed to the Google Groups