[Zope-DB] page not found error while connecting
Fri, 13 Dec 2002 12:14:19 -0500
Well I managed to tweek the connection string so that I can connect from my
zope installation of python. I have successfully displayed records from my
data base. But I still get a page not found when I use the exact same
connection string inside of ZOPE. This is driving me nuts.
>From: Yves Bastide <Yves.Bastide@irisa.fr>
>Subject: Re: [Zope-DB] page not found error while connecting
>Date: Fri, 06 Dec 2002 14:51:02 +0100
>Chason Hayes wrote:
>>pg_hba.conf is ok. No messages at all from postgres. I will try to use
>>idle and the zope installation of python to manually connect to postgres.
>>Does anyone know how to do this?
>Untested, to do on the command line:
>c:\> cd %your_zope_home%
> >>> import psycopg
> >>> conn=psycopg.connect("dbname=mydatabase hostname=myhost")
>(if psycopg.pyd is not in the PYTHONPATH, you'll have to add it ot
>Hope this helps,
>Zope-DB mailing list
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.