From: Mario R. <ma...@ru...> - 2003-01-21 22:51:57
|
Hello, am installing pyPgSQL 2.3, and seems to be all OK. When I try to run the tests (as a user for whom there is a postgres user with the same name), i get the following error: ====================================================================== ERROR: CheckCloseConnection (__main__.PgSQLTestCases) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/PgSQLTestCases.py", line 401, in setUp self.cnx = PgSQL.connect(database='template1') File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 2118, in connect return Connection(connInfo, client_encoding, unicode_results) File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 2215, in __init__ raise DatabaseError, m DatabaseError: fe_sendauth: no password supplied and similar error foll all subsequent tests. How do i supply him the password? Many thanks, mario |