[web2py] Re: any ideas for printing stdout to the web interface?

2017-10-10 Thread Dave S
On Tuesday, October 10, 2017 at 7:23:33 PM UTC-7, LoveWeb2py wrote: > > Was looking for something more like this... > https://github.com/joewalnes/websocketd > > I'll give it a try. Thank you all! > You may want to make use of a logging module. The standard logging in web2py will go to a

[web2py] Re: Issues with Scheduler (suddenly multiple tickers appear)

2017-10-10 Thread Boris Aramis Aguilar Rodríguez
So I narrowed down the issue, it happends when a worker detects he should be the ticker and does an update on all other workers to set them false, an oracle error happens (about deadlock) and it fails, the error "Error coordinating ticker" appears and then it continues, but lines later it

[web2py] Re: any ideas for printing stdout to the web interface?

2017-10-10 Thread LoveWeb2py
Was looking for something more like this... https://github.com/joewalnes/websocketd I'll give it a try. Thank you all! On Tuesday, October 10, 2017 at 3:13:08 PM UTC-4, Dave S wrote: > > > > On Tuesday, October 10, 2017 at 9:46:33 AM UTC-7, LoveWeb2py wrote: >> >> I run a script that prints to

[web2py] Re: Understanding the download function

2017-10-10 Thread Anthony
On Monday, October 9, 2017 at 1:42:59 AM UTC-4, Andy W wrote: > > Hi Rudy > > Have you tried re-defining the download function to include the path to the > location you have used for storing the uploaded files? For example, in my > case I ended up with the following in my controller: > > def

[web2py] Re: any ideas for printing stdout to the web interface?

2017-10-10 Thread Dave S
On Tuesday, October 10, 2017 at 9:46:33 AM UTC-7, LoveWeb2py wrote: > > I run a script that prints to stdout, but I'd like to have a modal popup > and have all the information displayed to the user while the script is > running. > > Anyone have any ideas on how to achieve this within web2py? >

[web2py] Re: Rocket logs and server crash

2017-10-10 Thread Dave S
On Wednesday, September 13, 2017 at 9:56:09 PM UTC-7, Dave S wrote: > > > > On Friday, September 1, 2017 at 4:07:33 PM UTC-7, Dave S wrote: >> >> >> >> On Thursday, August 31, 2017 at 3:05:56 PM UTC-7, Massimo Di Pierro wrote: >>> >>> Can you tell us more about your setup? >>> >>> >> >> AWS

[web2py] Re: Why web2py server hangs/freeze?

2017-10-10 Thread Dave S
On Monday, September 11, 2017 at 12:33:38 PM UTC-7, Dave S wrote: > My experience with Rocket locking up happens on AWS linux, somewhere in > the cloud. There are both short lockups (about 10 minutes) which are > related to a socket error that times out, and indefinite lockups (hours) >

[web2py] Re: any ideas for printing stdout to the web interface?

2017-10-10 Thread LoveWeb2py
well, imagine i'm doing for i in range(0,10): print(i) There are hundreds of logging functions inside of the script, so it'd be a bit much for here. I know I can do that exact command as {{for i in range(0,10):}} {{=i}}

Re: [web2py] any ideas for printing stdout to the web interface?

2017-10-10 Thread António Ramos
can u show your script first? 2017-10-10 17:46 GMT+01:00 LoveWeb2py : > I run a script that prints to stdout, but I'd like to have a modal popup > and have all the information displayed to the user while the script is > running. > > Anyone have any ideas on how to achieve

[web2py] any ideas for printing stdout to the web interface?

2017-10-10 Thread LoveWeb2py
I run a script that prints to stdout, but I'd like to have a modal popup and have all the information displayed to the user while the script is running. Anyone have any ideas on how to achieve this within web2py? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: OFF Topic - Tech for the frontend - Elm ???

2017-10-10 Thread António Ramos
Yep also noticed choo some time ago. It was designed to mimic elm arquitecture but in javascript found this to compare some frameworks in code length http://jscomp.netlify.com/pages/home_demos.html 2017-10-10 2:52 GMT+01:00 Eric Waldman : > I've recently been quite