[Zope-CMF] Error Value: can only concatenate tuple (not "list") to tuple

Tres Seaver tseaver@palladion.com
Mon, 11 Jun 2001 07:55:26 -0400


Norman Khine wrote:

> Hello I just checked out a new CMF-head and tried to set up a cmf-portal but
> got the following error
> 
> Error Type: TypeError
> Error Value: can only concatenate tuple (not "list") to tuple
> 
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> Traceback (innermost last):
>   File /usr/home/dsuk5/zope/Zope2/lib/python/ZPublisher/Publish.py, line
> 223, in publish_module
>   File /usr/home/dsuk5/zope/Zope2/lib/python/ZPublisher/Publish.py, line
> 187, in publish
>   File /usr/home/dsuk5/zope/Zope2/lib/python/Zope/__init__.py, line 226, in
> zpublisher_exception_hook
>     (Object: LockableItem)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/ZPublisher/Publish.py, line
> 171, in publish
>   File /usr/home/dsuk5/zope/Zope2/lib/python/ZPublisher/mapply.py, line 160,
> in mapply
>     (Object: manage_main)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/ZPublisher/Publish.py, line
> 112, in call_object
>     (Object: manage_main)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/Shared/DC/Scripts/Bindings.py,
> line 324, in __call__
>     (Object: manage_main)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/Shared/DC/Scripts/Bindings.py,
> line 354, in _bindAndExec
>     (Object: manage_main)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/App/special_dtml.py, line 240,
> in _exec
>     (Object: manage_main)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/Products/CMFCore/TypesTool.py,
> line 586, in filtered_meta_types
>     (Object: LockableItem)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/OFS/ObjectManager.py, line 266,
> in filtered_meta_types
>     (Object: LockableItem)
>   File /usr/home/dsuk5/zope/Zope2/lib/python/Products/CMFCore/TypesTool.py,
> line 575, in all_meta_types
>     (Object: LockableItem)
> TypeError: (see above)
> 
> My set up is
> 
> Zope Version  	(unreleased version)
> Python Version  	2.1 (#1, Jun 6 2001, 14:18:24) [GCC 2.95.2 19991024
> (release)]
> System Platform  	freebsdRELENG_4_2001_03_07


We have a tracker issue for this problem, which I cannot reproduce.  The
submitter included a patch, as well:

   http://www.zope.org/Products/PTK/Tracker

Please try his patch and let us know if that helps.

Tres.
--===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org