Hey,<br>      yes i have it installed at instance/Python-2.4.3/lib/python2.4/site-packages/psycopg2  and i had also moved the adapter to the<br>instance/client1/Products folder, but still it is giving me the version mismatch error. Also i checked the psycopg* in my system but <br>
over there also i can see that it is correct version that has been installed /usr/lib/python2.4/site-packages/psycopg2 . <br><br>Regards,<br>Amir<br><br>tlc2<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 3:41 PM, Thomas Bennett <span dir="ltr">&lt;<a href="mailto:bennetttm@appstate.edu">bennetttm@appstate.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Have you installed psycopg2 2.0.11, not the adapter but the library for<br>
python?  and is it in the python path for your Zope python?<br>
<br>
I&#39;m thinking you have psycopg not psycopg2 installed as your python library<br>
and the psycopg2 adapter.  There is no psycopg 2.0.11.<br>
<br>
I am assuming this is still how psycopg is installed, the library and the DA<br>
product.<br>
<br>
<a href="http://initd.org/pub/software/psycopg/" target="_blank">http://initd.org/pub/software/psycopg/</a><br>
<br>
<br>
Thomas<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Tuesday 23 June 2009 16:06:03 Amir wrote:<br>
&gt; Hi,<br>
&gt;    I have (Zope 2.9.4-final, python 2.4.3, linux2) and I have used<br>
&gt; psycopg2.0.11 adapter to connect Zope to Postgresql but I am getting this<br>
&gt; error when I try to add the connection object the error is :-<br>
&gt;<br>
&gt; Error Type: ImportError<br>
&gt;<br>
&gt; Error Value: psycopg version mismatch (imported 2.0.11 (dt dec ext pq3))<br>
&gt;<br>
&gt; while the event log traceback shows that :-<br>
&gt;<br>
&gt; 2009-06-23T10:55:49 ERROR Shared.DC.ZRDB.Connection Error connecting to<br>
&gt; relational database.<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;/opt/Plone-2.5/lib/python/Shared/DC/ZRDB/Connection.py&quot;, line 71,<br>
&gt; in __setstate__<br>
&gt;     try: self.connect(self.connection_string)<br>
&gt;   File &quot;/opt/Plone-2.5/zeocluster/client1/Products/ZPsycopgDA/DA.py&quot;, line<br>
&gt; 120, in connect<br>
&gt;     raise ImportError(&quot;psycopg version mismatch (imported %s)&quot; %<br>
&gt; ImportError: psycopg version mismatch (imported 2.0.11 (dt dec ext pq3))<br>
&gt;<br>
&gt; I would appreciate for an answer asap.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Amir<br>
&gt;<br>
&gt; tlc2<br>
&gt;<br>
</div></div>&gt; ***<br>
&gt; *<br>
<br>
--<br>
 Normally I&#39;m against big things,<br>
 I think the world is going to be saved by millions of small things.<br>
Too many things can go wrong when they get big.<br>
- Pete Seeger  at his 90th birthday party Sunday May 3, 2009<br>
<br>
==========================================<br>
Thomas McMillan Grant Bennett           Appalachian State University<br>
Operations &amp; Systems Analyst            P O Box 32026<br>
University Library                                Boone, North Carolina 28608<br>
(828) 262 6587<br>
<br>
Library Systems Help Desk: <a href="https://www.library.appstate.edu/help/" target="_blank">https://www.library.appstate.edu/help/</a><br>
==========================================<br>
_______________________________________________<br>
Zope maillist  -  <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
**   No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</blockquote></div><br>