28 Feb
2007
28 Feb
'07
8:29 p.m.
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