<div>Oh my god!</div>
<div> </div>
<div>Finally managed to install it.</div>
<div> </div>
<div>For those interested. </div>
<div>1) Copy folder "psycopgda" to YOUR ZOPE "INSTANCE_HOME/lib/python"</div>
<div>2) Copy psycopg-configure.zcml` to YOUR ZOPE "INSTANCE_HOME/etc/package-includes"</div>
<div>3) Download and install "egenix-mx-base-2.0.6.win32-py2.4.exe"</div>
<div>4) Download "win-psycopg24-pg8.0.zip" AND extract files "libpq.dll" and "psycopg.pyd" TO $(PYTHONDIR)\DLLs directory<br>5) Restart Zope</div>
<div> </div>
<div>This is how it is going to be for now if you want to enjoy Zope3+PostgreSQL in WIn32.</div>
<div> </div>
<div>Until a new versions of psycopgda and psycopg2 are available.</div>
<div> </div>
<div>Enjoy!!!</div>
<div> </div>
<div>Zopehead.</div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 10/28/05, <b class="gmail_sendername">Duncan McGreggor</b> <<a href="mailto:duncan.mcgreggor@gmail.com">duncan.mcgreggor@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On Oct 27, 2005, at 9:45 PM, Bobby Brewster wrote:<br><br>> Thanks for your help. However I am still not able to install the
<br>> database adapter.<br>><br>> I copied the file psycopg-configure.zcml into "package-includes"<br>> and folder psycopgda into .\lib\python<br>><br>> C:\PyZope\ZopeHome<br>> bin<br>> etc
<br>> package-includes<br>> lib<br>> python<br>> psycopgda<br>> log<br>> var<br>><br>> I get the following errors. ==> ConfigurationError: ('Invalid value
<br>> for', 'class', "Couldn't import psycopgd<br>> a.adapter, No module named psycopg")<br>><br>> ============== LAST FEW LINES =========================<br>> File<br>> "C:\PyZope\Python24\Lib\site-packages\zope\configuration\config.py",
<br>> line<br>> 1393, in toargs<br>> args[str(name)] = field.fromUnicode(s)<br>> File<br>> "C:\PyZope\Python24\Lib\site-packages\zope\configuration\fields.py",<br>> line<br>> 141, in fromUnicode
<br>> raise schema.ValidationError(v)<br>> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File<br>> "C:\PyZope\ZopeHome<br>> \etc\site.zcml", line 7.2-7.55<br>> ZopeXMLConfigurationError: File
<br>> "C:\PyZope\ZopeHome\etc\package-includes\psy<br>> copgda-configure.zcml", line 1.0-1.31<br>> ZopeXMLConfigurationError: File<br>> "C:\PyZope\ZopeHome\lib\python\psycopgda\con<br>> figure.zcml
", line 6.2<br>> ConfigurationError: ('Invalid value for', 'class', "Couldn't<br>> import psycopgd<br>> a.adapter, No module named psycopg")<br>> ============== LAST FEW LINES =========================
<br>> So do I have to install "psycopg" as well?<br>><br>> PHP+Postgres+Apache was a piece of cake. Why am I having so much<br>> trouble with this.<br>> I guess I need to spend more time on this.<br>
<br>First question: did you install psycopg?<br><br>Second question: which python did you install it for? Because it<br>doesn't look like it's been installed for the python that is running<br>your z3 instance.<br><br>My bet is that you have more than one python binary (and thus different
<br>python site-packages directories), and the one that you used to install<br>psycopg is not the one that runs z3.<br><br>d<br><br>_______________________________________________<br>Zope3-users mailing list<br><a href="mailto:Zope3-users@zope.org">
Zope3-users@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope3-users">http://mail.zope.org/mailman/listinfo/zope3-users</a><br></blockquote></div><br>