Package: zope2.7-psycopgda
Version: 1.1.19-1
Severity: important

After upgrading python2.3-psycopg to 1.1.21-1 existing z-psycopg database 
connections are unusable with the following error:

--
Error Type: ImportError
Error Value: psycopg version mismatch: 1.1.21

Zope-Log
Time    2005/11/01 12:22:35.497 GMT+1
User Name (User Id)     dahlenv (dahlenv)
Request URL
http://localhost:8080/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection
Exception Type  ImportError
Exception Value         psycopg version mismatch: 1.1.21

Traceback (innermost last):

    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Products.ZPsycopgDA.DA, line 120, in
    * manage_addZPsycopgConnection
    * Module Products.ZPsycopgDA.DA, line 182, in
    * __init__
    * Module Products.ZPsycopgDA.DA, line 193, in
    * edit
    * Module Products.ZPsycopgDA.DA, line 250,
    * in connect
    ImportError: psycopg version mismatch: 1.1.21
--

Adding the new version number to __psycopg_versions__ in the file DA.py
resolves the problem. (Sorry no patch applied)
Seems to work this way, but I don't know why there is a limitation on
specified psycopg-versions, so consider it untested and experimental.

Kind regards,
Stephan





-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages zope2.7-psycopgda depends on:
ii  python2.3-psycopg             1.1.21-1   Python 2.3 module for PostgreSQL
ii  zope-psycopgda-common         1.1.19-1   Zope Database Adapter based onpyt
ii  zope2.7                       2.7.8-1    Open Source Web Application 
Server

zope2.7-psycopgda recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to