[web2py] Re: problem with start_time of the scheduler

2016-10-18 Thread Martin Weissenboeck
It works perfect - thank you! 2016-10-17 21:08 GMT+02:00 Niphlod : > the bug has already been fixed in trunk. > You can copy/paste the scheduler.py file from master if you want it > solved, or either pass next_run_time equal to start_time to make things > work the way they

[web2py] What is Web2Py Doing in Background? — How To See Web2py WorkFlow When The Server is Active?

2016-10-18 Thread PRACHI VAKHARIA
*What is Web2Py Doing in Background? —or— How To See Web2py WorkFlow When The Server is Active?* - *How can a developer see what the Web2Py application and server are doing when it is doing something?* - *How to get a Verbose listing of what the w2p/server is doing in realtime?*

[web2py] Offtopic - Another alternative for frontend - Choo Framework

2016-10-18 Thread António Ramos
Any comments ? https://github.com/yoshuawuyts/choo Based mainly on ELM architecture Seems very simple to me, manages state in a component based app and includes a router without too much boilerplate. Regards António -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: Display uploaded file

2016-10-18 Thread Jaimee S
I didn't figure exactly what I wanted, but I just added a require in the model that limits the width and height -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

[web2py] Re: Display uploaded file

2016-10-18 Thread Anthony
On Tuesday, October 18, 2016 at 3:56:34 AM UTC-4, Jaimee S wrote: > > I didn't figure exactly what I wanted, but I just added a require in the > model that limits the width and height Only do that if you want to reject uploads of larger images. If you just want to set a maximum size for an

[web2py] Re: What is Web2Py Doing in Background? — How To See Web2py WorkFlow When The Server is Active?

2016-10-18 Thread Anthony
On Tuesday, October 18, 2016 at 3:49:06 AM UTC-4, PRACHI VAKHARIA wrote: > > > > *What is Web2Py Doing in Background? —or— How To See Web2py WorkFlow When > The Server is Active?* > >- *How can a developer see what the Web2Py application and server are >doing when it is doing something?*

Re: [web2py] Hide flash message after some elapsed time instead of on click

2016-10-18 Thread Marc Smith
Hi, I'm relatively new to JS but the strange quote character at the beginning (I thought it was a back-tick, but doesn't appear it is) and single quote at the end in that line don't look right to me -- is that correct? I tried the code with Jim's change of using ".w2p_flash" but it still doesn't

[web2py] Re: Display uploaded file

2016-10-18 Thread Jaimee S
Sweet, noted. I'm on my laptop now trying the jsfiddle code. Nothing is happening. I suspect it may be the link I created. What do you think? Link in html: I created a static named style.css an it appears at the bottom of the static file. Css: .container{ display:flex;

[web2py] Re: Display uploaded file

2016-10-18 Thread Anthony
> I'm on my laptop now trying the jsfiddle code. Nothing is happening. I > suspect it may be the link I created. What do you think? > > Link in html: > type="text/css"/> > > I created a static named style.css an it appears at the bottom of the > static file. > > Css: > > .container{ >

[web2py] Cannot import module 'applications.welcome.modules.pytz'

2016-10-18 Thread icodk
Get the following error when running web2py with nginx S" Cannot import module 'applications.welcome.modules.pytz'" The error is related to the following line in db.py import pytz Exactly the same installation works fine with Rocket. Also starting interactive console works fine: $ sudo python

[web2py] Re: Cannot import module 'applications.welcome.modules.pytz'

2016-10-18 Thread icodk
YES It is something I added. I first got the error in my application and it didn't work. To make sure it is nothing to do with my application I added it to the standard welcome application and got exactly the same error. So it is probably something to do with nginx configuration( which I know

[web2py] Re: Cannot import module 'applications.welcome.modules.pytz'

2016-10-18 Thread Dave S
On Tuesday, October 18, 2016 at 11:20:23 AM UTC-7, icodk wrote: > > Get the following error when running web2py with nginx > S" Cannot import module > 'applications.welcome.modules.pytz'" > The error is related to the following line in db.py > import pytz > > Exactly the same installation works

[web2py] Re: Cannot import module 'applications.welcome.modules.pytz'

2016-10-18 Thread Dave S
On Tuesday, October 18, 2016 at 12:08:57 PM UTC-7, Dave S wrote: > > > > On Tuesday, October 18, 2016 at 11:20:23 AM UTC-7, icodk wrote: >> >> Get the following error when running web2py with nginx >> S" Cannot import module >> 'applications.welcome.modules.pytz'" >> The error is related to the

[web2py] Best way to start new project?

2016-10-18 Thread pbreit
What's the best way to start a new project? I'd specifically like something as plain as possible. There are at least 3 "official" options: copy/past welcome, new simple app in admin, new app wizard in admin. Are there any "starters" on github or anything that people recommend? -- Resources:

[web2py] Re: Display uploaded file

2016-10-18 Thread Jaimee S
Your code worked! Thanks a lot. How do I make the image smaller? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you

Re: [web2py] Best way to start new project?

2016-10-18 Thread Marco Mansilla
I'm used to: $python web2py.py -S newapp There are very few things I do outside the console, so this method feels comfortable. El 18 oct. 2016 6:34 PM, "pbreit" escribió: > What's the best way to start a new project? I'd specifically like > something as plain as

[web2py] Re: Cannot import module 'applications.welcome.modules.pytz'

2016-10-18 Thread icodk
It works fine with Rocket. Do you (or anybody) have any idea why not with nginx ? On Tuesday, October 18, 2016 at 8:20:23 PM UTC+2, icodk wrote: > > Get the following error when running web2py with nginx > S" Cannot import module > 'applications.welcome.modules.pytz'" > The error is related to

[web2py] Re: What is Web2Py Doing in Background? — How To See Web2py WorkFlow When The Server is Active?

2016-10-18 Thread Leonel Câmara
What exactly do you mean? It is possible to see the complete workflow of what web2py is doing, for instance, using a python profiler, but this would be madness on an active server as it would make it extremely slow. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Cannot import module 'applications.welcome.modules.pytz'

2016-10-18 Thread Leonel Câmara
Probably uwsgi is using another python version trough nginx and you don't have that module there. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Re: Display uploaded file

2016-10-18 Thread Jaimee S
roger that i'll try all that and let you know what the problem was when i find it On Saturday, October 15, 2016 at 2:20:41 AM UTC-5, Jaimee S wrote: > > Hello all, > > I've been trying relentlessly to display a photo that is connected to a > user. I've tried the download function a thousand

[web2py] Re: Display uploaded file

2016-10-18 Thread Jaimee S
The css file was not in 'css/style.css' It was in 'style.css'. That fixed the problem and now my flexbox works too. Again, many thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -