[web2py] How to debug "lost password"

2020-08-19 Thread Jon Subscripted
Hi everyone, I'm having some trouble sending "lost password" emails to my users. Whenever I test it I get an "Unable to send email" message. But I do not really know the reason. I tried with a standalone python script with the same configuration and it works. I'd like to know how to debug this

[web2py] Re: Error with FDB in new version of Web2py

2020-08-19 Thread Константин Комков
*Massimo, Villas* I checked last update in firebird.py at 15 May, but it's not work. That file is not work with any firebird database. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: modules: NameError("name 'reload' is not defined",)

2020-08-19 Thread xgp.l...@gmail.com
Hi, Looking for the solution to this matter also. File "web2py/gluon/custom_import.py", line 109, in __call__ result = NATIVE_IMPORTER(name, globals, locals, fromlist, level) Files are placed in the modules folder. Regards, El Tuesday, August 18, 2020 a la(s) 8:52:43 AM UTC-5,

[web2py] Re: DAL Could not create constraint or index

2020-08-19 Thread villas
*An easier solution for you could be this!* Simply specify your created_by/modified_by as extra fields (which should side-step self-referencing probem). I didn't test it, but it seems like a good idea to me. You can then use normal migrations etc. auth.settings.extra_fields['auth_user']= [

[web2py] Re: DAL Could not create constraint or index

2020-08-19 Thread Andrea Fae'
Hello Villas, unfortunately other problems to this game... I used archiving, and so this type of table definitions db.define_table('asset_archive', Field('current_record', db.asset), db.asset,migrate='asset_archive.table') but I have the same problem regarding

Re: [web2py] Re: Reloading modules

2020-08-19 Thread Andrew Rogers
This is an old post. But I had this problem too. 'track_changes' works fine in a brand new project. But i can't get it to work in my now quite large project. Eventually I found something that works. My module is called 'public.py' and it lives where it should - in the