you may dislike my answer....but i have a shell script that passes the 
parms to web2py that i want.  i launch it via terminal, and i ctrl-c to 
kill and then restart.  i find that much faster than waiting for the tcl 
window to load (and i can share the script with my coding team and we don't 
have to ask what our settings are when debugging things).

so i have no real answer about the tcl interface.  sorry about that.

cfh

On Sunday, May 6, 2012 7:28:30 AM UTC-7, Yarin wrote:
>
> This is still broken:
>
> I'm running web2py with the built-in Rocket server locally on my Mac. When 
> I click the "stop server" button on the server window, and then click 
> "start server" to restart, I get the following:
>
> 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.
>
> The only way I can get past that is to quit Python.
>
> Is there a way to restart web2py from the command line without having to 
> quit python each time?
>
> On Thursday, February 17, 2011 4:10:21 PM UTC-5, 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.
>>
>

Reply via email to