[Zope-DB] Zope and ZPsycopgDA almost working...

Charlie Clark charlie@begeistert.org
Tue, 25 Mar 2003 18:22:45 +0100


On 2003-03-25 at 18:11:39 [+0100], you wrote:
> Sorry, Charlie (couldn't resist),
> 
> I'm not that proficient in Python to simply "...check that you can 
> connect to the DB with psycopg in Python." A little step by step 
> intruction will go a long way here at this point.
> 
> I've taken care of Zope part. The product appears unbroken in the 
> Products list.
Sounds like you're missing psycopg

> Furthermore, the fact that psycopg.OperationalError is properly raising 
> an error message that indicates the "target machine actively refused it" 
> strongly suggests, I think, that psycopg is behaving normally from within 
> Zope.
> 
> All your help is valuable so please feel free to spoil me with it.


What you need to is to start a python session in a DOS window

ie. your_path_to_zope\bin\python
then try 
import psycopg

Do you know how many Python installations you have on your machine?