Re: CTRL-C webpy hangs (was: Re: [web2py] help with js issue)

2012-01-31 Thread Massimo Di Pierro
I agree. In particular considering this: https://groups.google.com/group/web2py/browse_thread/thread/d7f6faddb841790b/3ef04bd25c5b81b1#3ef04bd25c5b81b1 On Jan 31, 4:00 am, Ricardo Pedroso wrote: > On Tue, Jan 31, 2012 at 3:14 AM, Massimo Di Pierro > > > > > > > > > > wrote: > > Specifically it

Re: CTRL-C webpy hangs (was: Re: [web2py] help with js issue)

2012-01-31 Thread Ricardo Pedroso
On Tue, Jan 31, 2012 at 3:14 AM, Massimo Di Pierro wrote: > Specifically it waits for the socket timeout of 60 seconds here: > > rocket.py line 1063: >        # Wait until they pull the > trigger >        for t in self.threads: >            if t.isAlive(): >                t.join() > > I feel it i

Re: CTRL-C webpy hangs (was: Re: [web2py] help with js issue)

2012-01-30 Thread Massimo Di Pierro
Specifically it waits for the socket timeout of 60 seconds here: rocket.py line 1063: # Wait until they pull the trigger for t in self.threads: if t.isAlive(): t.join() I feel it is ok to have the timeout set to 60secs but not here. I have not yet found

Re: CTRL-C webpy hangs (was: Re: [web2py] help with js issue)

2012-01-30 Thread Massimo Di Pierro
Progress. reverting this change makes the problem go away: http://code.google.com/p/web2py/source/diff?spec=svn9619eb054669ed5931f65f8815731f4c52857c5d&r=9619eb054669ed5931f65f8815731f4c52857c5d&format=side&path=/gluon/widget.py The problem is that the socket timeout was increased from 1 to 60 s

Re: CTRL-C webpy hangs (was: Re: [web2py] help with js issue)

2012-01-30 Thread Massimo Di Pierro
Thanks ricardo. This really helps a lot. On Jan 30, 5:01 pm, Ricardo Pedroso wrote: > On Sun, Jan 29, 2012 at 5:28 PM, Ricardo Pedroso wrote: > > On Sun, Jan 29, 2012 at 4:27 PM, Massimo Di Pierro > > wrote: > > >> I used to be able to stop the server with CRTL+C but it does not work > >> anymo