[Zope] Help with ZPoPyDA
Nitesh Dhanjani
nitesh@expert.cc.purdue.edu
Mon, 10 Jul 2000 10:49:27 -0500 (EST)
Hello,
Im trying to access a postres database from within zope. I have
ZPoPyDA-0.5.tar.gz installed along with PoPy-1.2.
The connection string Im using is something like:
user=thierry host=myhost dbname=test port=5432 password=mypassword
When I try to add a Z PoPy Database Connection with the above string, I
get:
Invalid connection string: user=thierry host=myhost dbname=test port=5432
password=mypassword
Traceback (innermost last):
File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 179,
in publish
File /usr/local/zope/2.1.7/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 165,
in publish
File /usr/local/zope/2.1.7/lib/python/ZPublisher/mapply.py, line 160, in
mapply
(Object: addConnection)
File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 102,
in call_object
(Object: addConnection)
File /usr/local/zope/2.1.7/lib/python/Products/ZPoPyDA/DA.py, line 55,
in addConnection
(Object: ElementWithAttributes)
File /usr/local/zope/2.1.7/lib/python/Products/ZPoPyDA/DA.py, line 70,
in __init__
(Object: RoleManager)
File /usr/local/zope/2.1.7/lib/python/Products/ZPoPyDA/DA.py, line 140,
in edit
(Object: RoleManager)
File /usr/local/zope/2.1.7/lib/python/Shared/DC/ZRDB/Connection.py, line
227, in connect
(Object: RoleManager)
File /usr/local/zope/2.1.7/lib/python/Products/ZPoPyDA/PoPy_db.py, line
54, in __init__
BadRequest: (see above)
Any help would be appreciated.
Thanks
nitesh.