[Zope] Postgres with Zope.

Mitch Pirtle mitchy at spacemonkeylabs.com
Wed Oct 22 08:53:52 EDT 2003


On Wed, 2003-10-22 at 13:42, Rajeev Sharma wrote:
> Hi,
> 
> > I wish you luck.  Contact me if you still need more help.
> 
> Hi,
>  
> My Need: Connectivity between  zope and postgres.
> 
> Software Using : Postgres 7.3.4
>                  Zope 2.6.2
>                  Python 2.3
>                  
> Now i tried to use Popy-2.0.8 and psycopg-1.1.9

First off, did you install Zope with a bundled python, or did you
compile from source using the system's python?  This is a common source
of confusion.  Make sure of which version you have installed.

Second, test your install (psycopg) with python on the command line:

[mitchy at rafi psycopg-1.1.8]$ python
	(you get a bunch of version information)
>>> import psycopg
>>> dir(psycopg)
['BINARY', 'BOOLEAN', 'Binary', 'DATE', 'DATETIME', 'DataError'..... 

If you do not see this information, then you did not get psycopg
installed with python.

If you get past these two, then the problem lies specifically with your
psycopg installation for zope.

-- mitchy




More information about the Zope mailing list