From owner-freebsd-questions@FreeBSD.ORG Sat Mar 3 21:37:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81D5516A405 for ; Sat, 3 Mar 2007 21:37:53 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.freebsd.org (Postfix) with ESMTP id 43D5F13C494 for ; Sat, 3 Mar 2007 21:37:53 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 66189206257 for ; Sat, 3 Mar 2007 15:37:52 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I+cIbileG0ro for ; Sat, 3 Mar 2007 15:37:47 -0600 (CST) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:1f01:224:1::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id B5D482058A3 for ; Sat, 3 Mar 2007 15:37:47 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Sat, 3 Mar 2007 15:37:40 -0600 User-Agent: KMail/1.9.5 References: <45E6E91A.10900@lipn.univ-paris13.fr> In-Reply-To: <45E6E91A.10900@lipn.univ-paris13.fr> X-Face: &'; cS03F?rr_w2Qce.d2f7xmwXfcJWDs>}CkpDw.c]ZJJ_)i0Nx Subject: Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 21:37:53 -0000 --nextPart39176992.qEF2bXtrTy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 01 March 2007 08:54, Le Cocq Michel wrote: > File "/usr/local/www/Zope29/lib/python/zope/app/component/adapter.py", > line 28, in ? > class LocalSurrogate(zope.interface.adapter.Surrogate): > AttributeError: 'module' object has no attribute 'Surrogate' > rapace# See if you have the "py24-zopeInterface" package installed. It puts files= =20 with the same name as Zope modules in /usr/local/lib/python, and the real=20 Zope imports those instead of its own modules. I removed that package and = my=20 Zope instances immediately started working again. BTW, if anyone can tell me a good reason why the Zope port does "chmod 444"= to=20 all installed files, including the ones that *have* to be writable in "log"= =20 and "var", I'd appreciate it. I've been too lazy to file a bug so far, but= =20 every time I upgrade Zope I have to remember to reset those permissions. =2D-=20 Kirk Strauser --nextPart39176992.qEF2bXtrTy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBF6eqp5sRg+Y0CpvERAorAAJwKnKe91AOf3GtdYjMmdGAEPwCT7wCbBX2G 8SUvg1HWt7qtBdwTEWJxqtA= =FMwN -----END PGP SIGNATURE----- --nextPart39176992.qEF2bXtrTy--