[Zope] ZPyGreSQLDA broken problem

Richard Moon richard@dcs.co.uk
Mon, 12 Jun 2000 19:47:18 +0100


I've just installed Zope 2.1.6 and PostgreSQL 7.02 and now I get a broken 
ZPyGreSQLDA with the following

Traceback (innermost last):
   File "/opt/Zope-2.1.6-linux2-x86/lib/python/OFS/Application.py", line 
387, in import_products
     product=__import__(pname, global_dict, global_dict, silly)
   File 
"/opt/Zope-2.1.6-linux2-x86/lib/python/Products/ZPyGreSQLDA/__init__.py", 
line 89, in ?
     import sys, os, Globals, DA
   File "/opt/Zope-2.1.6-linux2-x86/lib/python/Products/ZPyGreSQLDA/DA.py", 
line 91, in ?
     from db import DB
   File "/opt/Zope-2.1.6-linux2-x86/lib/python/Products/ZPyGreSQLDA/db.py", 
line 89, in ?
     import _pg, regex, sys, types
ImportError: No module named _pg

I can import _pg from the python command line.

I still have a Zope 2.1.4 installed and that works fine with PostgreSQL 
7.02, though I haven't tried re-installing it.

(Running on Linux 2.1 with PostgreSQL binary RPMs if thats any help).

Any clues as to the problem ?

Thanks


Richard


Richard Moon
richard@dcs.co.uk