Re: trouble connect to Postgres
John Fabiani <[email protected]>
| Newsgroups | gmane.comp.gnu.enterprise.general |
|---|---|
| Message-ID | <[email protected]> |
Sorry wrong IP should be 192.168.1.202 also the port is 5432. John On Friday 26 March 2004 13:42, John Fabiani wrote: > Hi, > I hope you folks understand the error message below. First I'm using SUSE > 9.0 and I followed the install directions from the "SUSEQuickStart" but can > not get past the "Testing A Database Connection". My postgres install is > at "129.168.1.202" and it works from a windows box using PGAdminII. > > My connection.conf > [gnue] > comment = GNUe Test Database > #aliases = dcl test > provider = postgresql > host = 192.168.1.202 > dbname = testdb > > DB000: connection = self.getConnection(connection_name) > DB000: File "/usr/local/gnue/lib/python2.3/site-packages/gnue/common/ > datasources/GConnections.py", line 255, in getConnection > DB000: conn = dbdriver.Connection(self, connection_name, parameters) > DB000: File "/usr/local/gnue/lib/python2.3/site-packages/gnue/common/ > datasources/drivers/postgresql/psycopg/__init__.py", line 42, in Connection > DB000: from Driver import Connection as C > DB000: ImportError: cannot import name Connection > > TIA > John > > > > _______________________________________________ > Gnue mailing list > [email protected] > http://mail.gnu.org/mailman/listinfo/gnue