[web2py] Re: Why is scheduler creating so many files at /var/spool/postfix/maildrop?

2018-08-13 Thread Lisandro
To be honest, that's the way I do it since long time ago, never thought about changing it. But now that you've pointed that out, I've taken another look to the book. The book explains how to run the scheduler via upstart [1], but I'm using CentOS 7, which uses *systemd* instead of *upstart.* In

[web2py] Re: web2py 2.17.1

2018-08-13 Thread Jim Karsten
I am conditionally displaying the form input in a view. Something like this: {{if 'name' in form.fields:}} Name: {{=form.custom.widget.name}} {{pass}} I can change that to: {{if 'name' in form.custom.widget:}} ... {{pass}} On Sunday, August 12, 2018 at 9:36:06 PM UTC-4, Massimo Di Pierro wrot

[web2py] Re: Why is scheduler creating so many files at /var/spool/postfix/maildrop?

2018-08-13 Thread Dave S
On Monday, August 13, 2018 at 5:43:13 AM UTC-7, Lisandro wrote: > > Thanks for that clarification. > The files were being created every minute, in concordance with the > frequence I run the scheduler. > I was able to solve it adding ">/dev/null 2>&1" to the end of the line in > crontab, so it e

[web2py] name 'unicode' is not defined in 2.17.1

2018-08-13 Thread sandeep patel
Hello, This was working with 2.16 and python3 but in 2.17.1 I get an error. name 'unicode' is not definedVersion web2py™ Version 2.17.1-stable+timestamp.2018.08.06.01.02.56 Python Python 3.6.2: C:\Program Files\Python36\python.exe (prefix: C:\Program Files\Python36)Traceback 1. 2. 3. 4. 5. 6.

Re: [web2py] Re: web2py 2.17.1

2018-08-13 Thread sandeep patel
Thanks, @Leonel Câmara Now works fine! /sp On Mon, Aug 13, 2018 at 5:30 PM Leonel Câmara wrote: > Sandeep I think that's this issue: > > https://github.com/web2py/web2py/issues/1972 > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2

[web2py] Re: Why is scheduler creating so many files at /var/spool/postfix/maildrop?

2018-08-13 Thread Lisandro
Thanks for that clarification. The files were being created every minute, in concordance with the frequence I run the scheduler. I was able to solve it adding ">/dev/null 2>&1" to the end of the line in crontab, so it ended up like this: * * * * * python /var/www/medios/web2py.py -K webmedios >/

[web2py] Re: Why not to mention support to Python3 on the official sites main page?

2018-08-13 Thread Ari Lion BR Sp
Thank you Massimo, As our tests, Apps created in Py-3 work in Py-2 and vice-versa - only we need to delete "Sessions", and "databases" folder files for migrations (proceed fake_migrations_all) and app works. Thanks for this wondefull Tool called Web2py. Regards Em domingo, 5 de agosto de 2

[web2py] Re: web2py 2.17.1

2018-08-13 Thread Leonel Câmara
Sandeep I think that's this issue: https://github.com/web2py/web2py/issues/1972 -- 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