[Zope] ZopeProfiler uninstall

Gaute Amundsen gaute at div.org
Tue Dec 1 15:24:20 EST 2009


On Tue, 2009-12-01 at 18:15 +0100, Dieter Maurer wrote:
> Gaute Amundsen wrote at 2009-12-1 14:33 +0100:
> >We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that
> >don't need it anymore.
> >I've removed the folder and deleted the product, but I cant' find a way
> >to remove it form the controlpanel.
> >I notice it's been asked once before, but I cant find any replies.
> >
> >Any hints?
> 
> You can delete it in a "bin/zopectl debug" interactive session:
> 
>     app.Control_Panel._delObject('ZopeProfiler')
>     from transaction import commit; commit()
> 
> You are only prevented to do it from the ZMI because "Control_Panel"
> does not expose the typical "ObjectManager" API there.

Most excellent :)
I suspected it had to be something like that, but I had no idea where to
begin looking.

Tanks

Gaute





More information about the Zope mailing list