[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-31 Thread Jitun John
You are totally correct my friend. I updated gluon\packages\dal\pydal with latest pyDal to resolve the issue. On Friday, September 1, 2017 at 3:37:53 AM UTC+5:30, Massimo Di Pierro wrote: > > you have the latest web2py but you have an older pydal. > > On Tuesday, 29 August 2017 03:47:39 UTC-5, J

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-31 Thread Massimo Di Pierro
you have the latest web2py but you have an older pydal. On Tuesday, 29 August 2017 03:47:39 UTC-5, Jitun John wrote: > > Hi Massimo, > > I have the 2.15.3 version installed, but the issue remains. > I confirm the same code works on 2.14.6 > > > >

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-29 Thread Lisandro
John, could you try with the web2py version for testers? The commit fixed the problem, but I think it will be included in the next stable version. At least that's what I did: I downloaded the "for testers" source code version, and it worked ok: This is the link to the download: https://mdipierro

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-29 Thread Jitun John
Hi Massimo, I have the 2.15.3 version installed, but the issue remains. I confirm the same code works on 2.14.6 On Sunday, August 13, 2017 at

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-12 Thread Massimo Di Pierro
Committed c995fd7 that should fix this On Tuesday, 8 August 2017 14:40:34 UTC-5, Lisandro wrote: > > Same problem here, but using PostgreSQL. > This is the function that I was using to connect to a database: > > def connect_db(db_host, db_name, db_user, db_user_password): > # gets the table_ha

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-08 Thread Lisandro
Same problem here, but using PostgreSQL. This is the function that I was using to connect to a database: def connect_db(db_host, db_name, db_user, db_user_password): # gets the table_hash from one of the .table files in the databases folder table_hash = None for file in os.listdir(dat

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-04 Thread Sarbjit
Any workaround? I am kind of stuck in populating the test database -- 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 a

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-07-20 Thread Massimo Di Pierro
Can you please open a PyDAL ticket so we can track. This should work. On Saturday, 15 July 2017 05:13:45 UTC-5, Jitun John wrote: > > Here is a Code that worked fine on 2.14.6 but doesn't on 2.15.1 > > > import datetime > import gc > import os > from gluon import * > from current_config import * >