On Feb 17, 2011, at 1:10 PM, pbreit wrote:
> Did anyone figure out how to stop and start Web2py from the console on a Mac? 
> When I do it, it doesn't work when it starts back up. It stalls when it opens 
> up the browser window and tries to go to my home page. I remember some 
> discussion about processes not shutting down quickly or at all. Is there any 
> solution?
> 
> I end up having to quit and restart web2py.app every time.

I looked at this very briefly (1.92.1). 

The first server-start via the Tcl interface works normally.

A stop and then another start yields this cli message:

ERROR:Rocket.Errors.Port8000:Socket 127.0.0.1:8000 in use by other process and 
it won't share.
please visit:
        http://127.0.0.1:8000
starting browser...
WARNING:Rocket.Errors.Port8000:Listener started when not ready.


Another stop and start works OK.

So the stop call isn't really stopping everything. No idea why.

Reply via email to