Hi Yuppie,

This appears to cause an import loop, i.e. PageTemplateFile -> ZTUtils -> ZCatalog -> Five -> PageTemplateFile ...


Cheers,
Stefan


File "/Users/stefan/autotest/temp/python23-zope28-cmf15-plone21- at13/Products/PortalTransforms/TransformEngine.py", line 16, in ? from Products.PageTemplates.PageTemplateFile import PageTemplateFile File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PageTemplates/PageTemplateFile.py", line 27, in ?
    from PageTemplate import PageTemplate
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PageTemplates/PageTemplate.py", line 27, in ?
    from Expressions import getEngine
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PageTemplates/Expressions.py", line 23, in ?
    from TALES import Engine
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PageTemplates/TALES.py", line 20, in ?
    import re, sys, ZTUtils
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ ZTUtils/__init__.py", line 25, in ? from ZTUtils.Zope import Batch, TreeMaker, SimpleTreeMaker, LazyFilter File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ ZTUtils/Zope.py", line 21, in ?
    from Products.ZCatalog.Lazy import Lazy
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/ZCatalog/__init__.py", line 16, in ?
    import ZCatalog, CatalogAwareness, CatalogPathAwareness
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/ZCatalog/ZCatalog.py", line 36, in ?
    from Products.PluginIndexes.common.PluggableIndex \
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PluginIndexes/__init__.py", line 16, in ?
    import common.UnIndex        as UnIndex
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PluginIndexes/common/UnIndex.py", line 32, in ?
    from Products.PluginIndexes.interfaces import IPluggableIndex
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/PluginIndexes/interfaces.py", line 23, in ?
    from Products.Five.fiveconfigure import createZope2Bridge
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/Five/__init__.py", line 25, in ?
    from browser import BrowserView
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/Five/browser.py", line 50, in ?
    from Products.Five.pagetemplatefile import FivePageTemplateFile
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/ Products/Five/pagetemplatefile.py", line 22, in ? from Products.PageTemplates.PageTemplateFile import PageTemplateFile
ImportError: cannot import name PageTemplateFile


On 4. Jul 2005, at 18:59, Yvo Schubbe wrote:

Log message for revision 30994:
  added some z3 interfaces for catalog related classes

Changed:
  UU  Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/DateIndex/DateIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/DateIndex/tests/test_DateIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/DateRangeIndex/DateRangeIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/FieldIndex/FieldIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/FieldIndex/tests/testFieldIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/KeywordIndex/KeywordIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/KeywordIndex/tests/testKeywordIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/PathIndex/PathIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/PathIndex/tests/testPathIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/TextIndex/TextIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/TextIndex/Vocabulary.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/TextIndex/tests/testTextIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/TopicIndex/FilteredSet.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/TopicIndex/TopicIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/TopicIndex/tests/testTopicIndex.py U Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/common/UnIndex.py A Zope/branches/Zope-2_8-branch/lib/python/Products/ PluginIndexes/interfaces.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ZCTextIndex/ ZCTextIndex.py A Zope/branches/Zope-2_8-branch/lib/python/Products/ZCTextIndex/ interfaces.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ZCTextIndex/ tests/testZCTextIndex.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ ZCatalog.py A Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ interfaces.py UU Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ tests/testCatalog.py


--
Software Engineering is Programming when you can't. --E. W. Dijkstra

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders

Reply via email to