Re: python syntax errors

2006-08-29 Thread Kenneth Gonsalves
On 29-Aug-06, at 6:46 PM, Jay Parlar wrote: >> in idle). Even if it does compile, if some import errors are there, >> again you will not get the error - just the script headers thing > > There are lots and lots of potential runtime errors that wouldn't be > caught. Just running your stuff in IDL

Re: python syntax errors

2006-08-29 Thread Jay Parlar
On 8/29/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > And people here tell me set admin email.. So I will get emails with errors > WHILE I DEVELOP on my home box! > *rofl* > > Maybe django redirects stdout/stderr somewhere so the errors get consumed ? It wouldn't be Django redirecting, it would be

Re: python syntax errors

2006-08-29 Thread Jay Parlar
On 8/28/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > if there are syntax errors, the file will not compile and the only > error apache will give is incomplete script headers or something like > that. So before running with apache, make sure the file compiles (F5 > in idle). Even if it does

Re: python syntax errors

2006-08-29 Thread Ilia Kantor
> if there are syntax errors, the file will not compile and the only > error apache will give is incomplete script headers or something like > that. So before running with apache, make sure the file compiles (F5 > in idle). Even if it does compile, if some import errors are there, > again you wil

Re: python syntax errors

2006-08-28 Thread Kenneth Gonsalves
On 28-Aug-06, at 10:46 PM, Jay Parlar wrote: >> >> When I have syntax error in python code of an app, where it goes ? >> >> I'm working under apache, same config as production, but >> MaxRequestsPerChild 1 >> >> There are no syntax errors in apache error log or site error log. >> What's up ? >

Re: python syntax errors

2006-08-28 Thread Ilia Kantor
no, I did not care about it yet. I'm under Gentoo box w/ sendmail wrapper > On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > > my settings.py starts with > > > > DEBUG = True > > TEMPLATE_DEBUG = DEBUG > > Are you listed in ADMINS? Is your system properly configured to send > email? (ie.on

Re: python syntax errors

2006-08-28 Thread Jay Parlar
On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > > my settings.py starts with > > DEBUG = True > TEMPLATE_DEBUG = DEBUG > Are you listed in ADMINS? Is your system properly configured to send email? (ie.on my setup, I needed to configure the EMAIL_HOST and SERVER_EMAIL options). Jay P. --~--

Re: python syntax errors

2006-08-28 Thread Ilia Kantor
my settings.py starts with DEBUG = True TEMPLATE_DEBUG = DEBUG > On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > > After all, I think such behavior ("eating" errors) is simply wrong. > > I want track errors from logs after deployment, because fixes on live > > server should be possible. >

Re: python syntax errors

2006-08-28 Thread Jay Parlar
On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > > > I have single static IP on my home host, and 80 port is occupied by apache. > I'm very satisfied by dev process using it. > > After all, I think such behavior ("eating" errors) is simply wrong. > I want track errors from logs after deploymen

Re: Re: python syntax errors

2006-08-28 Thread James Bennett
On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > After all, I think such behavior ("eating" errors) is simply wrong. > I want track errors from logs after deployment, because fixes on live server > should be possible. When the 'DEBUG' setting is False, Django will email tracebacks of any erro

Re: python syntax errors

2006-08-28 Thread Ilia Kantor
I have single static IP on my home host, and 80 port is occupied by apache. I'm very satisfied by dev process using it. After all, I think such behavior ("eating" errors) is simply wrong. I want track errors from logs after deployment, because fixes on live server should be possible. > On 8/2

Re: python syntax errors

2006-08-28 Thread Martin Glueck
If you run On 8/28/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > > On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > > > > > > When I have syntax error in python code of an app, where it goes ? > > > > I'm working under apache, same config as production, but > > MaxRequestsPerChild 1 > > > > Th

Re: python syntax errors

2006-08-28 Thread Jay Parlar
On 8/28/06, Ilia Kantor <[EMAIL PROTECTED]> wrote: > > > When I have syntax error in python code of an app, where it goes ? > > I'm working under apache, same config as production, but MaxRequestsPerChild 1 > > There are no syntax errors in apache error log or site error log. > What's up ? I don'

python syntax errors

2006-08-28 Thread Ilia Kantor
When I have syntax error in python code of an app, where it goes ? I'm working under apache, same config as production, but MaxRequestsPerChild 1 There are no syntax errors in apache error log or site error log. What's up ? How should I setup things ? my vhost --