Your message dated Thu, 17 Aug 2006 02:17:21 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#378030: fixed in zope3 3.2.1-5 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: zope3 Version: 3.2.1-4 Severity: normal Tags: patch After some updates this week, zope3 stopped working for me. Starting a zope3 instance would go well, but any http access failed. The stack trace always ended with: File "/usr/lib/python2.4/site-packages/zope/app/twisted/http.py", line 59, in <lambda> return x.addCallback(lambda data: (self.res, segments)) exceptions.AttributeError: 'Prebuffer' object has no attribute 'res' It seems that in zope/app/twisted/http.py, the Prebuffer class overrides the locateChild method of WrapperResource from twisted/web2/resource.py, and over there self.res is now called self.resource. Because the implementation of the function is now identical in both classes, I tried commenting out the function in Prebuffer. That got everything back to work. The patch is trivial: --- /tmp/http.py.orig 2006-07-12 19:59:31.883671500 +0200 +++ /usr/lib/python2.4/site-packages/zope/app/twisted/http.py 2006-07-12 19:59:42.000000000 +0200 @@ -52,13 +52,6 @@ return stream.readStream(req.stream, temp.write).addCallback(done) - # Oops, fix missing () in lambda in WrapperResource - def locateChild(self, ctx, segments): - x = self.hook(ctx) - if x is not None: - return x.addCallback(lambda data: (self.res, segments)) - return self.res, segments - def createHTTPFactory(db): resource = wsgi.WSGIResource(WSGIPublisherApplication(db)) resource = log.LogWrapperResource(resource) (The End) -- 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.16 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages zope3 depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii lsb-base 3.1-10 Linux Standard Base 3.1 init scrip ii python-clientcookie 1.3.0-1 Python module for automating HTTP ii python-clientform 0.2.2-2 module for handling HTML forms on ii python-docutils [python2.4-do 0.4-3 Utilities for the documentation of ii python-mechanize 0.0.11a-3 stateful programmatic web browsing ii python-pullparser 0.1.0-1 simple "pull API" for HTML parsing ii python-twisted-conch 1:0.7.0-1 The Twisted SSH Implementation ii python-twisted-web2 0.2.0-1 An HTTP/1.1 Server Framework ii python-tz 2006g-1 Python version of the Olson timezo ii python-xml 0.8.4-5 XML tools for Python ii python-zopeinterface 3.2.1-4 The implementation of interface de ii python2.4 2.4.3-7 An interactive high-level object-o ii zope-common 0.5.24 common settings and scripts for zo zope3 recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: zope3 Source-Version: 3.2.1-5 We believe that the bug you reported is fixed in the latest version of zope3, which is due to be installed in the Debian FTP archive: python-zopeinterface_3.2.1-5_i386.deb to pool/main/z/zope3/python-zopeinterface_3.2.1-5_i386.deb zope3-doc_3.2.1-5_all.deb to pool/main/z/zope3/zope3-doc_3.2.1-5_all.deb zope3-sandbox_3.2.1-5_all.deb to pool/main/z/zope3/zope3-sandbox_3.2.1-5_all.deb zope3_3.2.1-5.diff.gz to pool/main/z/zope3/zope3_3.2.1-5.diff.gz zope3_3.2.1-5.dsc to pool/main/z/zope3/zope3_3.2.1-5.dsc zope3_3.2.1-5_i386.deb to pool/main/z/zope3/zope3_3.2.1-5_i386.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 zope3 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: Thu, 17 Aug 2006 10:55:03 +0200 Source: zope3 Binary: python-zopeinterface zope3 zope3-sandbox zope3-doc Architecture: source i386 all Version: 3.2.1-5 Distribution: unstable Urgency: medium Maintainer: Debian/Ubuntu Zope Team <[EMAIL PROTECTED]> Changed-By: Fabio Tranchitella <[EMAIL PROTECTED]> Description: python-zopeinterface - The implementation of interface definitions for Zope 3 zope3 - Open Source Web Application Server (Libraries) zope3-doc - Documentation for Zope3 zope3-sandbox - sandbox instance for the zope3 web application server Closes: 357461 378030 Changes: zope3 (3.2.1-5) unstable; urgency=medium . * debian/patches/twisted-bug.dpatch: fixes a buggy override for a twisted method. Without this patch, zope3 doesn't work at all: set urgency to medium. (Closes: #378030) * debian/patches/malformed-realm.dpatch: fixes malformed realms. (Closes: #357461) Files: 0d0a7390cd70cf812563c58eea8499c4 893 web optional zope3_3.2.1-5.dsc 78c6299c9e5a662d1c974391197ace6f 14531 web optional zope3_3.2.1-5.diff.gz a445ca2d6d60388371f77016d5800177 4139296 python optional zope3_3.2.1-5_i386.deb 4131e85d86df1f8e55fc4cab4b1240f6 119938 python optional python-zopeinterface_3.2.1-5_i386.deb c2aa3850c549d11c0cd720dcfc63086c 219984 doc optional zope3-doc_3.2.1-5_all.deb 22e36ccf57928f073e8f24eaf9bf8c7a 39396 web optional zope3-sandbox_3.2.1-5_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFE5DAVK/juK3+WFWQRAqhWAJ9HsPKMOm47NCPp+vevSN87rcxrjwCdFf9J 0Q2Ew8d+6VArznjQzOQuhsQ= =Ye9+ -----END PGP SIGNATURE-----
--- End Message ---

