[Zope-CMF] Version problems..

Magnus Heino magnus.heino@pleon.sigma.se
Sun, 30 Jun 2002 18:56:51 +0200


Hi.

Latest CMF HEAD with Zope-2_5-branch gives this error when creating a CMF=
=20
Site:

 Error Type: Index Exists
Error Value: The index specified already exists

Traceback (innermost last):
  File /home/magnus/bugday/Zope-2_5-branch/lib/python/ZPublisher/Publish.=
py,=20
line 150, in publish_module
  File /home/magnus/bugday/Zope-2_5-branch/lib/python/ZPublisher/Publish.=
py,=20
line 114, in publish
  File /home/magnus/bugday/Zope-2_5-branch/lib/python/Zope/__init__.py, l=
ine=20
159, in zpublisher_exception_hook
  File /home/magnus/bugday/Zope-2_5-branch/lib/python/ZPublisher/Publish.=
py,=20
line 98, in publish
  File /home/magnus/bugday/Zope-2_5-branch/lib/python/ZPublisher/mapply.p=
y,=20
line 88, in mapply
    (Object: manage_addCMFSite)
  File /home/magnus/bugday/Zope-2_5-branch/lib/python/ZPublisher/Publish.=
py,=20
line 39, in call_object
    (Object: manage_addCMFSite)
  File /home/magnus/bugday/Zope/lib/python/Products/CMFDefault/Portal.py,=
 line=20
337, in manage_addCMFSite
  File /home/magnus/bugday/Zope/lib/python/Products/CMFDefault/Portal.py,=
 line=20
309, in create
  File /home/magnus/bugday/Zope/lib/python/Products/CMFDefault/Portal.py,=
 line=20
282, in setup
  File /home/magnus/bugday/Zope/lib/python/Products/CMFDefault/Portal.py,=
 line=20
166, in setupTools
  File /home/magnus/bugday/Zope/lib/python/Products/CMFCore/utils.py, lin=
e=20
286, in manage_addTool
  File /home/magnus/bugday/Zope/lib/python/Products/CMFCore/CatalogTool.p=
y,=20
line 93, in __init__
    (Object: portal_catalog)
  File /home/magnus/bugday/Zope/lib/python/Products/CMFCore/CatalogTool.p=
y,=20
line 165, in _initIndexes
    (Object: portal_catalog)
  File=20
/home/magnus/bugday/Zope-2_5-branch/lib/python/Products/ZCatalog/ZCatalog=
=2Epy,=20
line 826, in addIndex
    (Object: portal_catalog)
  File=20
/home/magnus/bugday/Zope-2_5-branch/lib/python/Products/ZCatalog/Catalog.=
py,=20
line 262, in addIndex
Index Exists: (see above)

Is the target for 1.3 Zope 2.6 only? It works there.



What doesnt work on the other hand, with 2.6, is Plone.

Things like this;

<title tal:content=3D"string:${here/portal_properties/title} />

throws;

Unauthorized: You are not allowed to access portal_properties in this con=
text=20
(Also, an error occurred while attempting to render the standard error=20
message.)

Warp it up in a "return context.portal_properties.title() script and call=
 that=20
instead, and it works...

I'm not sure what has changed in Zope2.6, so I really don't know where to=
=20
start looking....?=20

It did work with CMF and Zope HEAD a few days ago.

/Magnus



--=20

  /Magnus Heino