[Zope] Problem with zopectl debug

Dieter Maurer dieter at handshake.de
Sun Apr 6 13:44:02 EDT 2008


Manuel Vazquez Acosta wrote at 2008-4-5 22:23 -0400:
> ...
>I'm trying to debug a Plone site with zopectl debug. I'm getting this error:
>
>Traceback (most recent call last):
> ...
>    from Products.CMFCore.DirectoryView import registerDirectory
>  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 20, in ?
>
>  File "/var/zope/zope-prensa/Products/CMFCore/PortalObject.py", line
>18, in ?
>ImportError: cannot import name InitializeClass

That is very strange:

  "zopectl debug" uses almost exactly the same startup sequence
  as "zopectl fg" (at least until after the configuration).
  Thus, if your Zope starts at all, "zopectl debug" should start.

Are you sure that the CMF version fits to your Zope version?



-- 
Dieter


More information about the Zope mailing list