[Zope-CMF] Zope 2.4.0 / Python 2.1: CMFCore Broken Product
Tres Seaver
tseaver@palladion.com
Fri, 01 Jun 2001 22:18:31 -0400
Leonard Sitongia wrote:
> Thanks for your rapid response. Here are the tracebacks:
>
>
>
> Product at /Control_Panel/Products/CMFCore Import TracebackTraceback (most
> recent call last):
> File "/usr/local/www/data/Zope/lib/python/OFS/Application.py", line 547, in
> import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File "/usr/local/www/data/Zope/lib/python/Products/CMFCore/__init__.py",
> line 93, in ?
> import DirectoryView, FSDTMLMethod, FSImage, FSPropertiesObject,
> FSPythonScript
> File
> "/usr/local/www/data/Zope/lib/python/Products/CMFCore/FSPythonScript.py",
> line 105, in ?
> class FSPythonScript (Script, Acquisition.Implicit, Item):
> File
> "/usr/local/www/data/Zope/lib/python/Products/CMFCore/FSPythonScript.py",
> line 223, in FSPythonScript
> _checkCBlock = PythonScript._checkCBlock
> AttributeError: class Cacheable has no attribute '_checkCBlock'
Shane checked in a fix for several of these issues recently; I would
suggest trying again with the 1.1beta release (but see below).
> Product at /Control_Panel/Products/CMFDefault Import TracebackTraceback
> (most recent call last):
> File "/usr/local/www/data/Zope/lib/python/OFS/Application.py", line 547, in
> import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File "/usr/local/www/data/Zope/lib/python/Products/CMFDefault/__init__.py",
> line 93, in ?
> import PropertiesTool, MembershipTool
> File
> "/usr/local/www/data/Zope/lib/python/Products/CMFDefault/MembershipTool.py",
> line 111, in ?
> class MembershipTool ( Products.CMFCore.MembershipTool.MembershipTool ):
> AttributeError: 'Products' module has no attribute 'CMFCore'
This is just a secondary effect (CMFDefault won't import if it can't import
CMFCore).
Shane notes that the 2.4.0a1 release is "not recommended" for
use with the CMF; a couple of catalog issues are pretty painful.
Here is is rundown of "workable" combinations:
- Zope 2.3.2 + CMF 1.0 = Most stable
- Zope 2.3.2 + CMF 1.1beta = CMF testing
- Zope 2.3.2 + CMF trunk = CMF development for Zope 2.3
So, I would recommend either that you update to use the latest CVS
for Zope 2.4, or else fall back to Zope 2.3.2.
Tres.
--
========================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org