1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. | Traceback (most recent call last): File "C:\web2py_2_16_1\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "C:/web2py_2_16_1/applications/Booster_I/models/db.py", line 20, in <module> db = DAL('postgres://username:password@localhost/booster_i',pool_size=1,check_reserved=['all'],migrate_enabled=False) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\base.py", line 169, in __call__ obj = super(MetaDAL, cls).__call__(*args, **kwargs) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\base.py", line 474, in __init__ "Failure to connect, tried %d times:\n%s" % (attempts, tb) RuntimeError: Failure to connect, tried 5 times: Traceback (most recent call last): File "C:\web2py_2_16_1\gluon\packages\dal\pydal\base.py", line 454, in __init__ self._adapter = adapter(**kwargs) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\adapters\postgres.py", line 25, in __call__ return AdapterMeta.__call__(cls, *args, **kwargs) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\adapters\__init__.py", line 40, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\adapters\postgres.py", line 48, in __init__ driver_args, adapter_args, do_connect, after_connection) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\adapters\base.py", line 368, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File "C:\web2py_2_16_1\gluon\packages\dal\pydal\adapters\base.py", line 52, in __init__ self.reconnect() File "C:\web2py_2_16_1\gluon\packages\dal\pydal\helpers\classes.py", line 181, in _reconnect_and_configure self._connection_reconnect() File "C:\web2py_2_16_1\gluon\packages\dal\pydal\connection.py", line 172, in reconnect self.connection = self.connector() File "C:\web2py_2_16_1\gluon\packages\dal\pydal\adapters\postgres.py", line 105, in connector return self.driver.connect(**self.driver_args) File "psycopg2/__init__.py", line 164, in connect OperationalError: FATAL: database "booster_i" does not exist
|