[web2py] Scheduler not creating its tables

2018-07-03 Thread Simona Chovancová
Hello, I am trying to use scheduler for the first time in my app and I cannot get it to work. Tables for scheduler are never really created. This is my model scheduler.py: from gluon.scheduler import Scheduler from gluon import current scheduler = Scheduler( storage.mailer_db, tasks={'send_em

[web2py] A form that searches some fields on another table

2018-07-03 Thread Alexis Adam
Hi everyone, this is my first post here. I'm new to python and want to build an app that consists on a form where the user can search people by its ID number, not the id attribute of the table but the national identification number that is unique to every person. I have defined a table where th

Re: [web2py] Re: How to handle routing

2018-07-03 Thread marco mansilla
I'm responding to myself since noticed a related issue on this thread. After setting myapp as default app in routes.py whenever I try to redirect doing; redirect(URL('newcontroller','index')) server responds with invalid function (default/newcontroller) Any hints on this?. also (maybe a

[web2py] Re: A form that searches some fields on another table

2018-07-03 Thread Leonel Câmara
That is the kind of things that is basically pre-made in web2py you can simply use the grid with searchable = True and it's done. I recommend you follow the book: http://web2py.com/books/default/chapter/29/ -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http:/

Re: [web2py] Re: LDAP Authentication never work

2018-07-03 Thread Suhas Jadhav
Hi Where can I get the logs? Is there any location where I can check? Thanks, suhas On Fri, Jun 29, 2018 at 3:05 PM 黄祥 wrote: > i've test it without change auth = Auth(db) in db.py > the logs is depend on your ldap server configuration (389-ds, openldap, > etc), that's why i in another thread,

Re: [web2py] Re: LDAP Authentication never work

2018-07-03 Thread 黄祥
it depends what kind of software did you use as ldap server (openldap, 389ds, etc) and where it configure to store the log, usually it place under /var/log for fastest root cause analysis for ldap server side and connection between web2py app, pls run the ldap server no daemonize, so every singl