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

2017-08-02 Thread Sarbjit
Hello All, I am trying to update the database for my web2py app using the command line script :- Sample Code :- # Assumption : script is placed inside scripts folder in application scriptPath = os.path.dirname(os.path.realpath(__file__)) dbPath =

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

2017-07-15 Thread Jitun John
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 * from memory_profiler import memory_usage manager_rows = '' dummy_path = os.path.abspath('.') + '/applications/enLIGHTen/static/dummy/' def