[Zope] ZPyGreSQLDA under Windows 2K

Sherwood Robinson srobinson@fredericksburg.com
Mon, 11 Jun 2001 10:06:23 -0400


Has anyone been able to get ZPyGreSQLDA to work under W2K?

I have finally been able to compile the product and it has been a hit and 
miss process to get it to work.  Well it still isn't working and I am 
getting this traceback for the product:

Import Traceback
Traceback (innermost last):
   File "C:\Zopes\swlw001\lib\python\OFS\Application.py", line 528, in 
import_products
     product=__import__(pname, global_dict, global_dict, silly)
   File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\__init__.py", 
line 89, in ?
     import sys, os, Globals, DA
   File "/var2/local/zope/lib/python/Products/ZPyGreSQLDA/DA.py", line 91, in ?
   File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 102, 
in ?
     class DB(Shared.DC.ZRDB.THUNK.THUNKED_TM):
   File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 108, 
in DB
     Database_Error=pg.error
AttributeError: error

I have PostGreSQL running under CygWin on the W2K box and it is accessible.

If anyone has had experience with this under Windows I would appreciate any 
insite.

TIA

SR

----------------------------------------------------
Sherwood Robinson
Hostmaster

The Free Lance-Star/Internet Department
srobinson@fredericksburg.com
http://www.fredericksburg.com

616 Amelia St.
Fredericksburg, VA 22401
540-374-5000 ext. 5657