Your message dated Wed, 09 Apr 2008 18:02:34 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#475123: fixed in psycopg2 2.0.6-4
has caused the Debian Bug report #475123,
regarding zope-psycopgda2: Can't get the zope sql object connected through the 
ZMI
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
475123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475123
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: zope-psycopgda2
Version: 2.0.6-3
Severity: grave
Justification: renders package unusable


If you use the ZMI to create a SQL Psycopg Connection object and try
to use it (by opening a connection) you'll get an error and a message
saying:

> An error was encountered while publishing this resource.
> 
> Error Type: OperationalError
> Error Value: can't set encoding to 

Clearly the add interface generated for the ZMI is not presenting the
'encoding' property to be set, and since the Connection object in the
source needs that property and the default is an empty string (as we
can see in the excerpt below) the object raise an error.

<excerpt type="code/python" from="psycopg2-2.0.6/ZPsycopgDA/DA.py">

class Connection(Shared.DC.ZRDB.Connection.Connection):
    """ZPsycopg Connection."""
    _isAnSQLConnection = 1
    
    id                = 'Psycopg2_database_connection' 
    database_type     = 'Psycopg2'
    meta_type = title = 'Z Psycopg 2 Database Connection'
    icon              = 'misc_/conn'

    def __init__(self, id, title, connection_string,
                 zdatetime, check=None, tilevel=2, encoding=''):
        self.zdatetime = zdatetime
        self.id = str(id)
        self.edit(title, connection_string, zdatetime,
                  check=check, tilevel=tilevel, encoding=encoding)
       
</excerpt>


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zope-psycopgda2 depends on:
ii  python-psycopg2               2.0.6-3    Python module for PostgreSQL
ii  zope-common                   0.5.41     common settings and scripts for Zo
ii  zope2.10                      2.10.5-3   Open Source Web Application Server

zope-psycopgda2 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: psycopg2
Source-Version: 2.0.6-4

We believe that the bug you reported is fixed in the latest version of
psycopg2, which is due to be installed in the Debian FTP archive:

psycopg2_2.0.6-4.diff.gz
  to pool/main/p/psycopg2/psycopg2_2.0.6-4.diff.gz
psycopg2_2.0.6-4.dsc
  to pool/main/p/psycopg2/psycopg2_2.0.6-4.dsc
python-psycopg2-dbg_2.0.6-4_amd64.deb
  to pool/main/p/psycopg2/python-psycopg2-dbg_2.0.6-4_amd64.deb
python-psycopg2_2.0.6-4_amd64.deb
  to pool/main/p/psycopg2/python-psycopg2_2.0.6-4_amd64.deb
python-psycopg2da_2.0.6-4_all.deb
  to pool/main/p/psycopg2/python-psycopg2da_2.0.6-4_all.deb
zope-psycopgda2_2.0.6-4_all.deb
  to pool/main/p/psycopg2/zope-psycopgda2_2.0.6-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabio Tranchitella <[EMAIL PROTECTED]> (supplier of updated psycopg2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 09 Apr 2008 19:51:10 +0200
Source: psycopg2
Binary: python-psycopg2 python-psycopg2-dbg zope-psycopgda2 python-psycopg2da
Architecture: source all amd64
Version: 2.0.6-4
Distribution: unstable
Urgency: low
Maintainer: Fabio Tranchitella <[EMAIL PROTECTED]>
Changed-By: Fabio Tranchitella <[EMAIL PROTECTED]>
Description: 
 python-psycopg2 - Python module for PostgreSQL
 python-psycopg2-dbg - Python module for PostgreSQL (debug extension)
 python-psycopg2da - Zope database adapter based on python-psycopg2 -- zope3 
version
 zope-psycopgda2 - Zope database adapter based on python-psycopg2
Closes: 475123
Changes: 
 psycopg2 (2.0.6-4) unstable; urgency=low
 .
   [ Sandro Tosi ]
   * debian/control
     - uniforming Vcs-Browser field
 .
   [ Fabio Tranchitella ]
   * Provides a encoding parameter when adding a ZPsycopgDA instance using the
     ZMI. (Closes: #475123)
Files: 
 af9b4f244899f30a0b11bf36554b6d21 991 python optional psycopg2_2.0.6-4.dsc
 b3aafa05f7739fd91c1b8c1063e10225 4295 python optional psycopg2_2.0.6-4.diff.gz
 d02e59d63e7f5ac778913a1cb16a2892 19672 python optional 
zope-psycopgda2_2.0.6-4_all.deb
 8e4759cba4d644b2fb364483e39a0eef 19552 python optional 
python-psycopg2da_2.0.6-4_all.deb
 3e9ff8b4ce85bea9f2dd3727a267fca9 167484 python optional 
python-psycopg2_2.0.6-4_amd64.deb
 9440714ecc17616ca2cd0875d38cfbf7 376788 python extra 
python-psycopg2-dbg_2.0.6-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH/QMIK/juK3+WFWQRAuBIAJ4jIchNRtQfjQcz389dvdMWdu7ZzACcDlTO
VJSX2+5RqG8ObSFO0fSDCQs=
=adan
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to