I had found  psycopg2-2.0.6.egg-info in

 psycopg2-2.0.6.egg-info -> /usr/share/pycentral/python-psycopg2/site-packages/psycopg2-2.0.6.egg-info

this path,but I am not able to make out how could I replace this to 2.0.9 ,


Thanks
Amol


On Fri, Mar 6, 2009 at 3:08 PM, Andrew Milton <akm@theinternet.com.au> wrote:
+-------[ amol kumbhar ]----------------------
| nt-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding:
| quoted-printable Thanks for replying
| but I am still there .....
|
| My DA.py contain this list of allowed_psycopg_version :
|
|
| ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9')
|
|
| and the condition which is generating the ImportError from this file is :
|
|  # check psycopg version and raise exception if does not match
|         if psycopg2.__version__[:9] not in ALLOWED_PSYCOPG_VERSIONS:
|             raise ImportError("psycopg version mismatch (imported %s)" %
|                               psycopg2.__version__)
|
| could  you please guide me which version should I add in
| ALLOWED_PSYCOPG_VERSION list

Don't do that unless you're not particularly fond of your data. 2.0.6 is
not in this list because it contains bugs or incompatibilities with the
2.0.9 version of ZPsycopg.

You have a psycopg 2.0.6 *somewhere* (the python package, not the Zope
adapter).

Either in your Zope's lib/python or in your site-packages for your python.

You need to make sure that that is *also* 2.0.9

--
Andrew Milton
akm@theinternet.com.au



--
Amol Kumbhar
Software Developer
SVBP informatics
Cell : 9881720442
e-mail : amol.kumbhar39@gmail.com