[web2py] Re: help with js issue
I have seen the stopping problem on 1.99.4. Running on Ubuntu 10.04 LTS, Gnome. No Tk library on the machine, so I just use 'python web2py.py' and take the defaults. Ctrl-C won't stop it and neither will 'Kill -SIGTERM ' The problem occurs after using the application. On Jan 30, 9:37 am, Ross Peoples wrote: > In reference to the cron error, I posted this a couple days ago: > > https://groups.google.com/forum/#!searchin/web2py/ross$20peoples$20cr... > > Also, I should mention that for the stopping problem: It's not just Mac. > The previous message with instructions on how to reproduce was done using > Ubuntu 10.04.
Re: [web2py] Re: help with js issue
In reference to the cron error, I posted this a couple days ago: https://groups.google.com/forum/#!searchin/web2py/ross$20peoples$20cron%7Csort:date/web2py/q4qoTTuu6zw/jo-H1LPjWB4J Also, I should mention that for the stopping problem: It's not just Mac. The previous message with instructions on how to reproduce was done using Ubuntu 10.04.
Re: [web2py] Re: help with js issue
On Jan 30, 2012, at 8:30 AM, Ross Peoples wrote: > I was able to reproduce this a few times by doing this: > > Start web2py: > python web2py.py -a password -i 0.0.0.0 -N > > Navigate to the admin app from another computer (important): > http://192.168.1.10:8000/admin > > You will get the "admin is disabled" message. Now try to Control + C web2py. > For me, it took about 30 seconds to quit. Thanks. I'll give that a try.
Re: [web2py] Re: help with js issue
On Jan 30, 2012, at 8:07 AM, Ross Peoples wrote: > Also, I am running this: > > python web2py.py -a password -i 0.0.0.0 -p 8001 -N > > I have to use -N, otherwise I get a web2py cron error in the terminal every > 15 to 30 minutes. What error do you get from cron? Can you reproduce the error with a stock trunk and the standard apps?
Re: [web2py] Re: help with js issue
I was able to reproduce this a few times by doing this: Start web2py: python web2py.py -a password -i 0.0.0.0 -N Navigate to the admin app from another computer (important): http://192.168.1.10:8000/admin You will get the "admin is disabled" message. Now try to Control + C web2py. For me, it took about 30 seconds to quit.
Re: [web2py] Re: help with js issue
Also, I am running this: python web2py.py -a password -i 0.0.0.0 -p 8001 -N I have to use -N, otherwise I get a web2py cron error in the terminal every 15 to 30 minutes.
Re: [web2py] Re: help with js issue
Usually if I start and immediately stop, then it quits quickly. But after using the app (database activity, logout/login, etc) for a few minutes, then I start to notice the problem.
Re: [web2py] Re: help with js issue
On Jan 30, 2012, at 7:19 AM, Ross Peoples wrote: > Just wanted to add that this happens to me too, but it actually does stop. > Sometimes it takes 20 seconds, sometimes it takes a minute or two, but it > eventually stops without needing to kill -9. So there could be a timeout > issue somewhere. I can't reproduce it with a new fetch of the git trunk, running the web2py welcome app (sitting at its home page) from OS X 10.7 Terminal with no command-line arguments. It sat there overnight with no console activity and ^C quit it this morning with no significant delay.
[web2py] Re: help with js issue
Just wanted to add that this happens to me too, but it actually does stop. Sometimes it takes 20 seconds, sometimes it takes a minute or two, but it eventually stops without needing to kill -9. So there could be a timeout issue somewhere.
Re: [web2py] Re: help with js issue
On Jan 29, 2012, at 4:23 PM, Massimo Di Pierro wrote: > Yes I am sure it is not running in background. > > Recently I started having two problems and I cannot track them down. > 1) on 10.6.8 I cannot quit with ctrl+C > 2) on Lion is keeps printing '^@' to console, about one per minute. > I suspect these problems are related and bother me very much. I cannot > think of any change that may have caused this. Is this with a fresh/virgin copy of the source, or might you have apps/crontasks that are involved?
Re: [web2py] Re: help with js issue
On Jan 29, 2012, at 4:23 PM, Massimo Di Pierro wrote: > Yes I am sure it is not running in background. > > Recently I started having two problems and I cannot track them down. > 1) on 10.6.8 I cannot quit with ctrl+C > 2) on Lion is keeps printing '^@' to console, about one per minute. > I suspect these problems are related and bother me very much. I cannot > think of any change that may have caused this. Any command-line arguments? I only have 10.7, which responds fine to ^C. No ^@ yet (that's a NUL, btw, I think). No arguments, so Tcl & hardcron. > web2py-github $ python web2py.py > web2py Web Framework > Created by Massimo Di Pierro, Copyright 2007-2011 > Version 1.99.4 (2012-01-29 16:24:43) stable > Database drivers available: SQLite3, pymysql, pg8000, IMAP > Starting hardcron... > please visit: > http://127.0.0.1:8000 > starting browser... > > There is also a test related to locking of language files that keeps > failing. > Who wrote the language tests? If you did can you help us understand > it? > > massimo > > On Jan 29, 10:57 am, Jonathan Lundell wrote: >> On Jan 29, 2012, at 10:44 AM, Ovidio Marinho wrote: >> >>> Ctrl+C in Mac is Cmd+C >> >> It is for copy, but not for quitting a process from the terminal. Control-C. >> >> Massimo, are you sure web2py isn't running in the background when you do >> this? If you hit return, do you get a shell prompt? Control-C won't work >> then. >> >> >> >> >> >> >> >> >> >>>Ovidio Marinho Falcao Neto >>> Web Developer >>> ovidio...@gmail.com >>> ovidiomari...@itjp.net.br >>> ITJP - itjp.net.br >>>83 8826 9088 - Oi >>>83 9334 0266 - Claro >>> Brasil >> >>> 2012/1/29 Bruno Rocha >>> the same for me, I always have to kill - 9 PID. >> >>> But it only happens after some time. >> >>> http://zerp.ly/rochacbruno >> >>> Em 29/01/2012 14:27, "Massimo Di Pierro" >>> escreveu: >> >>> I would like to post web2py 2.0 since we have no major pending issues. >>> Yet there are two issues I would like to fix first: >> >>> http://code.google.com/p/web2py/issues/detail?id=627 >> >>> I used to be able to stop the server with CRTL+C but it does not work >>> anymore on my mac. I now have to kill it. Why? >> >>> I could use some help. ;-) >> >>> Massimo
[web2py] Re: help with js issue
On Mandriva Linux Free 2010 (32 bit) with KDE desktop I get a message when I stop rocket with Ctrl-C: (10129)/ ClientApp::doIt: Creating ClientApp kioclient(10129) ClientApp::kde_open: KUrl("http://127.0.0.1:8000";) ^CUnhandled exception in thread started by Error in sys.excepthook: The server exits after a few seconds. Perhaps this can help to track the problem. On 29 ene, 19:23, Massimo Di Pierro wrote: > I fixed issue 627. The other issue is still open. > > On Jan 29, 10:27 am, Massimo Di Pierro > wrote: > > > I would like to post web2py 2.0 since we have no major pending issues. > > Yet there are two issues I would like to fix first: > > >http://code.google.com/p/web2py/issues/detail?id=627 > > > I used to be able to stop the server with CRTL+C but it does not work > > anymore on my mac. I now have to kill it. Why? > > > I could use some help. ;-) > > > Massimo > >
[web2py] Re: help with js issue
I fixed issue 627. The other issue is still open. On Jan 29, 10:27 am, Massimo Di Pierro wrote: > I would like to post web2py 2.0 since we have no major pending issues. > Yet there are two issues I would like to fix first: > > http://code.google.com/p/web2py/issues/detail?id=627 > > I used to be able to stop the server with CRTL+C but it does not work > anymore on my mac. I now have to kill it. Why? > > I could use some help. ;-) > > Massimo
[web2py] Re: help with js issue
Yes I am sure it is not running in background. Recently I started having two problems and I cannot track them down. 1) on 10.6.8 I cannot quit with ctrl+C 2) on Lion is keeps printing '^@' to console, about one per minute. I suspect these problems are related and bother me very much. I cannot think of any change that may have caused this. There is also a test related to locking of language files that keeps failing. Who wrote the language tests? If you did can you help us understand it? massimo On Jan 29, 10:57 am, Jonathan Lundell wrote: > On Jan 29, 2012, at 10:44 AM, Ovidio Marinho wrote: > > > Ctrl+C in Mac is Cmd+C > > It is for copy, but not for quitting a process from the terminal. Control-C. > > Massimo, are you sure web2py isn't running in the background when you do > this? If you hit return, do you get a shell prompt? Control-C won't work then. > > > > > > > > > > > Ovidio Marinho Falcao Neto > > Web Developer > > ovidio...@gmail.com > > ovidiomari...@itjp.net.br > > ITJP - itjp.net.br > > 83 8826 9088 - Oi > > 83 9334 0266 - Claro > > Brasil > > > 2012/1/29 Bruno Rocha > > the same for me, I always have to kill - 9 PID. > > > But it only happens after some time. > > >http://zerp.ly/rochacbruno > > > Em 29/01/2012 14:27, "Massimo Di Pierro" > > escreveu: > > > I would like to post web2py 2.0 since we have no major pending issues. > > Yet there are two issues I would like to fix first: > > >http://code.google.com/p/web2py/issues/detail?id=627 > > > I used to be able to stop the server with CRTL+C but it does not work > > anymore on my mac. I now have to kill it. Why? > > > I could use some help. ;-) > > > Massimo