hello one and all, i have web2py 1.99.7 under centos 6.2 with postgres 9.1. i am trying to connect to postgres using the standard:
db = DAL('postgres://postgres:password@localhost/testbank') but it does not connect properly. i added the "self." under the dal.py file to ensure that line looks like: self.driver = self.drivers.get('pg8000') and deleted the dal.pyc and made sure it was recreated with a new date/time stamp. the error i still get is: Traceback (most recent call last): File "/opt/web-apps/web2py/gluon/dal.py", line 5955, in __init__ self._adapter = ADAPTERS[self._dbname](*args) File "/opt/web-apps/web2py/gluon/dal.py", line 1999, in __init__ self.driver = self.drivers.get('pg8000') AttributeError: 'list' object has no attribute 'get' postgres is running but it will not connect. any ideas? lucas