I had found  <b>psycopg2-2.0.6.egg-info</b> in <br><br><b> psycopg2-2.0.6.egg-info -&gt; /usr/share/pycentral/python-psycopg2/site-packages/psycopg2-2.0.6.egg-info</b><br><br>this path,but I am not able to make out how could I replace this to 2.0.9 ,<br>
<br><br>Thanks<br>Amol<br><br><br><div class="gmail_quote">On Fri, Mar 6, 2009 at 3:08 PM, Andrew Milton <span dir="ltr">&lt;<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</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;">
+-------[ amol kumbhar ]----------------------<br>
| nt-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding:<br>
| quoted-printable Thanks for replying<br>
<div class="im">| but I am still there .....<br>
|<br>
| My DA.py contain this list of allowed_psycopg_version :<br>
|<br>
|<br>
| ALLOWED_PSYCOPG_VERSIONS = (&#39;2.0.7&#39;,&#39;2.0.8&#39;,&#39;2.0.9&#39;)<br>
|<br>
|<br>
| and the condition which is generating the ImportError from this file is :<br>
|<br>
|  # check psycopg version and raise exception if does not match<br>
|         if psycopg2.__version__[:9] not in ALLOWED_PSYCOPG_VERSIONS:<br>
|             raise ImportError(&quot;psycopg version mismatch (imported %s)&quot; %<br>
|                               psycopg2.__version__)<br>
|<br>
| could  you please guide me which version should I add in<br>
| ALLOWED_PSYCOPG_VERSION list<br>
<br>
</div>Don&#39;t do that unless you&#39;re not particularly fond of your data. 2.0.6 is<br>
not in this list because it contains bugs or incompatibilities with the<br>
2.0.9 version of ZPsycopg.<br>
<br>
You have a psycopg 2.0.6 *somewhere* (the python package, not the Zope<br>
adapter).<br>
<br>
Either in your Zope&#39;s lib/python or in your site-packages for your python.<br>
<br>
You need to make sure that that is *also* 2.0.9<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Andrew Milton<br>
<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Amol Kumbhar<br>Software Developer<br>SVBP informatics<br>Cell : 9881720442<br>e-mail : <a href="mailto:amol.kumbhar39@gmail.com">amol.kumbhar39@gmail.com</a><br>