[Zope-CMF] DCWorkflow

Tres Seaver tseaver@zope.com
Mon, 01 Oct 2001 06:51:10 -0400


Dirk Datzert wrote:

> Hi all,
> 
> I have a problem to install DCWorkflow into Zope. I got the following
> startup messages:
> 
> 2001-09-30T18:22:04 ERROR(200) Zope Could not import Products.DCWorkflow
> 
> Traceback (innermost last):
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/OFS/Application.py,
> line 558, in import_product
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/DCWorkflow/__init__.py,
> line 92, in ?
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/DCWorkflow/DCWorkflow.py,
> line 117, in ?
>     (Object: aq_inner)
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/DCWorkflow/Transitions.py,
> line 102, in ?
>     (Object: aq_inner)
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/DCWorkflow/Guard.py,
> line 100, in ?
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/DCWorkflow/Expression.py,
> line 98, in ?
>     (Object: aq_inner)
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/PageTemplates/Expressions.py,
> line 95, in ?
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/PageTemplates/TALES.py,
> line 92, in ?
> ImportError: No module named ZTUtils
> 
> 2001-09-30T18:22:11 ERROR(200) Zope Couldn't install PageTemplates
> Traceback (innermost last):
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/OFS/Application.py,
> line 663, in install_product
>     (Object: ApplicationDefaultPermissions)
>     (Info: PageTemplates)
>   File
> /usr/src/packages/BUILD/Zope-2.4.1-src/lib/python/Products/PageTemplates/__init__.py,
> line 96, in initialize
> AttributeError: 'Products.PageTemplates.ZopePageTemplate' module has no
> attribute 'initialize'
> 
> Versions:
> 
> Zope-2.4.1
> python-2.1.1
> DCWorkflow-0.4.1 or DCWorkflow 0.4.0
> PageTemplates-1.4.0
> TAL-1.4.0
> ZTUtils-1.1.1
> CMF-1.1
> 
> Can anybody help me to find a solution ?

That list looks fine -- perhaps you were misled into installing

TAL and ZTUtils under the 'Products' directory?  They need to be
in the 'lib/python' directory of either your SOFTWARE_HOME or
your INSTANCE_HOME, because they are "packages" but not "products"
(technically, they need to be findable on the Python module search
path).

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com