Re: [web2py] no stack trace in error ticket (Python 3)

2018-10-17 Thread Alex
Is anyone looking into this? currently this a real blocker for using web2py with Python 3. End of support for Python 2 is just a little bit over a year... besides getting worried I'd also like to use new features of Python 3. I'd appreciate web2py dev help and hope this issue can be fixed. Let

[web2py] Re: Set password to user programmatically

2018-10-17 Thread isi_jca
I was able to solve my problem in this way ls_psswrd=db.auth_user.password.validate(ls_password)[0] db(db.auth_user.username == ls_user).update(password = ls_psswrd) I was reading this link: https://groups.google.com/forum/#!msg/web2py/8W0zV523HHw/jGRiv9KOISMJ Regards. El miércoles, 17 de

[web2py] quickbooks into web2py

2018-10-17 Thread Ben Lawrence
Hi I am working on copying quickbooks accounting software data into postgresql server. There are two files here 1. extract_quickbooks_models.py 2. qb_postgres_sync.py git clone https://benlawr...@bitbucket.org/benlawraus/quickbooks_into_web2py.git that copy th

[web2py] Infringement issues over creating licenced sofware with web2py

2018-10-17 Thread mostwanted
Hi guys, i wanna know if there would be any infringement issues if i created licensed standalone software using the web2py framework. Will i be overstepping some copyright laws which will make me liable to be penalized?? Regards: Mostwanted -- Resources: - http://web2py.com - http://web2py.co

[web2py] Re: Set password to user programmatically

2018-10-17 Thread isi_jca
I was reading documentation in this link https://web2py.readthedocs.io/en/latest/_modules/gluon/tools.html#Auth.get_or_create_user What is wrong?. El miércoles, 17 de octubre de 2018, 9:02:36 (UTC-4), isi_jca escribió: > > Dave: > > Thanks for your time, I was trying with this other script >

Re: [web2py] Re: Auth question

2018-10-17 Thread Jim Steil
Rahul First, what I was referring to was common_filters, not common fields. Here is the scenario as I see it. In you auth_user table you have a workspace field. Then in other tables that are workspace-specific you also have a workspace field to show which workspace they relate to Here is how I

[web2py] Re: Set password to user programmatically

2018-10-17 Thread isi_jca
Dave: Thanks for your time, I was trying with this other script keys = {'username':ls_user,'password':ls_password} ls_result = auth.get_or_create_user(keys) But then when the user try to login It failed. Regards. El martes, 16 de octubre de 2018, 17:09:30 (UTC-4), Dave S escribió: > > > > On

[web2py] Re: Yet Another Migration Problem

2018-10-17 Thread Dave S
Never mind, it's the old problem of using Field("distance", 'decimal(5, 1)', default=None, writable=False), instead of Field("distance", 'decimal(5,1)', default=None, writable=False), The application is now working (as is appadmin) ... but I don't see any table files. /dps -- R

[web2py] Re: Yet Another Migration Problem

2018-10-17 Thread Dave S
It's happening to me again: On Wednesday, February 7, 2018 at 1:00:19 AM UTC-8, Dave S wrote: > > Copying an app from 2.14.6 to 2.16.1, including copying the database file > (storage.sqlite because, well, I'm using sqlite on this machine). > > appconfig.ini has migrations off, and db.py has > >

[web2py] Re: Auth question

2018-10-17 Thread Rahul
Hi Jim, I am afraid no I didn't check that section but I just finished reading it. Thanks! for directing me to it. Looks like a new addition to DAL (might be a couple of versions back) & looks promising. So now, we can specify something like request_tenant using db._common_fields fiel