Sorry should have mentioned that was in the welcome app fetching the index page as the default browser load occured fomr the TK server interface. In my own application I get
Traceback (most recent call last): File "/home/camcentral/Dev/web2py_hg/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/camcentral/Dev/web2py_hg/applications/ccims/models/ A_db.py", line 19, in <module> db = DAL('postgres://ccims:oss3...@localhost/cc_ims') # CamCentral IMS configuration database File "/home/camcentral/Dev/web2py_hg/gluon/sql.py", line 2408, in __init__ raise RuntimeError, "Failure to connect, tried 5 times" RuntimeError: Failure to connect, tried 5 times Maybe I did something wrong getting dal.py activated? On Dec 4, 10:31 am, ron_m <ron.mco...@gmail.com> wrote: > Describe what I did > > Copied the trunk hg area to a work area > Renamed sql.py to sql-save.py > Copied dal.py to sql.py in order to replace sql.py with dal.py > Copied application I am working on to applications directory > Backed up the database > Ran the server as python web2py.py > > Got this stack trace > Traceback (most recent call last): > File "/home/camcentral/Dev/web2py_hg/gluon/main.py", line 446, in > wsgibase > BaseAdapter.close_all_instances(BaseAdapter.commit) > File "/home/camcentral/Dev/web2py_hg/gluon/sql.py", line 161, in > close_all_instances > if instance._pool_size: > AttributeError: 'SQLiteAdapter' object has no attribute '_pool_size' > I don't use SQLite as a database but the driver exists through default > install, the db line invoking SQLite is commented out.