Re: helloworld error

2008-09-10 Thread QuanNH
that's great, it work, thank alot :D On Sep 10, 4:34 am, Parthan SR [EMAIL PROTECTED] wrote: On Wed, Sep 10, 2008 at 12:42 AM, QuanNH [EMAIL PROTECTED] wrote: $ wget -O -http://127.0.0.1:5000 --02:08:21--  http://127.0.0.1:5000/           = `-' Connecting to 127.0.0.1:5000... Does

Is there some kind of on_shutdown handler for paster serve and/or session?

2008-09-10 Thread Matt Feifarek
I'd like to stick some code somewhere where it will be run right before a graceful shutdown. I realize that this isn't very reliable, as things can crash, but it's for a kind-of hack anyway. I also realize that WSGI isn't really built this way; pylons doesn't assume that it's running as a

Limiting test coverage to the application code

2008-09-10 Thread Alex Marandon
Hello, I'm trying to get test coverage statistics of a Pylons app using nose and its cover plugin. I've included a cover-package option in my setup.cfg, but when I run 'setup.py nosetests' followed by 'coverage -r', I get stats for all the imported modules. Any idea of what I'm missing?

How to configure Paste to send error emails on WebFaction

2008-09-10 Thread Wyatt Baldwin
I had some trouble with this and couldn't find any easy reference, so here's the relevant portion of my production.ini with comments added: [DEFAULT] debug = false # Any email address--whichever one you want to receive the error report # Question: can this be a list of addresses? email_to =