I am trying to get ZPyGreSQLDA-0.3 working with Zope 2.3.0b2 The Product installs fine, but when I try to add a connection, I get this error: Error Type: IOError Error Value: [Errno 2] No such file or directory: '/usr/lib/zope/lib/python/Shared/DC/ZRDB/connectionAdd.dtml' I checked and this connectionAdd.dtml file is actually located here: /usr/lib/zope/lib/python/Shared/DC/ZRDB/dtml/connectionAdd.dtml Unfortunately, I do not no how to fix this. Thanks -- \ Craig "Cowboy" McDaniel /_\ Software Engineer /_/_\ Internet Tool & Die /_/_/_\ craig@tool.net /_/_/_/_\ (502) 584-8665 ext 108
On Mon, 22 Jan 2001, Craig wrote:
Error Type: IOError Error Value: [Errno 2] No such file or directory: '/usr/lib/zope/lib/python/Shared/DC/ZRDB/connectionAdd.dtml'
Also check all permissions starting from the root. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Hi all, Although I am not an experienced Zope programmer, I would like to suggest this is an error in the Postgres adapter. From version 2.2.x - 2.3.0 I think the dtml files have been moved to ZRDB/dtml. Therefore as from this version you need to make a slight adjustment in the ZPyGreSQL python files in .../Products/ZPyGreSQLDA/. Execute the following command in this directory: $ grep ZRDB *py You will see all the references to ...../ZRDB/ConnectionAdd.dtml (only 1 in my case). Use vi or another editor to update these references to ...../ZRDB/dtml/ConnectionAdd.dtml...... It worked for me. Regards, Rob On Tuesday 23 January 2001 10:35, you wrote:
On Mon, 22 Jan 2001, Craig wrote:
Error Type: IOError Error Value: [Errno 2] No such file or directory: '/usr/lib/zope/lib/python/Shared/DC/ZRDB/connectionAdd.dtml'
Also check all permissions starting from the root.
Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Craig -
Oleg Broytmann -
Rob van der Krogt