Re: Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ added some z3 interfaces for catalog related classes
"Stefan H. Holek" <[email protected]> Tue, 5 Jul 2005 14:26:18 +0200
| Newsgroups | gmane.comp.web.zope.coders |
|---|---|
| Message-ID | <[email protected]> |
Yep, still problems, sorry ;-)
Seems like PluginIndexes/interfaces.py should not import Five. How
about getting interfaces from zope.interface?
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/
Products/PluginIndexes/__init__.py", line 18, in ?
import PathIndex.PathIndex
File "/Users/stefan/autotest/temp/python23-zope28/lib/python/
Products/PluginIndexes/PathIndex/PathIndex.py", line 32, in ?
from Products.PluginIndexes.interfaces import IPathIndex
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 5. Jul 2005, at 12:56, yuppie wrote:
> Stefan H. Holek wrote:
>
>> This appears to cause an import loop, i.e. PageTemplateFile ->
>> ZTUtils -> ZCatalog -> Five -> PageTemplateFile ...
>>
>
> Oops! Sorry.
>
> I partially reverted r30994. Please let me know if there are still
> problems.
>
> Cheers, Yuppie
>
> _______________________________________________
> Zope-Coders mailing list
> [email protected]
> http://mail.zope.org/mailman/listinfo/zope-coders
>
--
Software Engineering is Programming when you can't. --E. W. Dijkstra