[web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Tim Richardson
No, I'm wrong, the examples app does appear on the mac, there was a long delay. Sometimes rocket is very slow to respond on the mac. > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving em

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Tim Richardson
On Saturday, 2 February 2013 09:42:38 UTC+11, Mariano Reingart wrote: > > Thanks you for reporting it! > > BTW, it should not block other applications, just the thread that is > serving the controller with the breakpoint code. > In fact, admin is just another web2py app, if it works, any other

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Mariano Reingart
Thanks you for reporting it! BTW, it should not block other applications, just the thread that is serving the controller with the breakpoint code. In fact, admin is just another web2py app, if it works, any other app should work. I don't know if there is anything mac-specific going on here, but s

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Tim Richardson
On Saturday, 2 February 2013 08:45:14 UTC+11, Tim Richardson wrote: > > You're right, on my local installation (trunk) I *can* go the admin page > and start a debug listener. > I'll try that on the Windows server. > >> >> Thanks, this works on windows too. I can not start normal apps by visiting

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Tim Richardson
You're right, on my local installation (trunk) I *can* go the admin page and start a debug listener. I'll try that on the Windows server. > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receivi

[web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Tim Richardson
This is with rocket (I just run python web2py.py) I just tried it again, with trunk, having changed the index controller on the welcome app [put a dbg.set_trace()] and then starting python web2py.py (this time on my mac, it's not platform dependent) Rocket stalls, we never make it to the welcom

Re: [web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Mariano Reingart
Sorry, I cannot reproduce your issue. Putting dbg.set_trace() blocks your app until your open the debbuger interaction page: http://127.0.0.1:8000/admin/debug/interact As soon as I open it, I can continue and debug it properly. If I don't open it, the page being debugged is blocked, but other pa

[web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-02-01 Thread Tim Richardson
Maybe I'm doing something wrong, because I get the same problem on mac with the latest git. I change the welcome app like so from gluon.debug import dbg def index(): """ example action using the internationalization operator T and flash rendered by views/default/index.html or views/g

[web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-01-31 Thread Tim Richardson
I can reproduce it and I think my observations above are completely correct. So I raised an issue. http://code.google.com/p/web2py/issues/detail?id=1313 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and

[web2py] Re: I seem to block the server if I forget about dbg.set_trace

2013-01-31 Thread Tim Richardson
dbg is the integrated web2py debugger in this case. The behaviour I observe is that rocket no longer reponds: I can't retrospectively open an admin session. I get no error tickets although maybe something is logged somewhere. I think it affects all users. This is running on windows, latest stabl