> from Products.CMFPlone.utils import base_hasattr > ImportError: cannot import name base_hasattr > > CMFPlone/utils.py has a class named base_hasattr, so what's the problem? You might try this (I'm not sure if this works with Zope 2.7):
run /usr/local/zope/instance1/bin/zopectl on zopectl prompt enter: zopectl> debug and when you'll see python prompt write: >>> import Products.CMFPlone >>> print Products.CMFPlone <module 'Products.CMFPlone' from '/opt/Zope/instancje/Zope296/Products/CMFPlone/__init__.pyc'> and check what path you have there. -- Maciej Wisniowski _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
