[Zope-CMF] Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Nathan Van Gheem
Hello, It seems that there is an issue with registering local utilities on a Product install. It seems that on a product reinstall, the local utility is re-registered. In doing so, you lose all data that the local utility was managing. Martin Aspeli pointed out, > I think the problem is in

[Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Balazs Ree
Hi Nathan, On Mon, 16 Jun 2008 10:51:34 -0500, Nathan Van Gheem wrote: > Although, from what I've found, this is not the problem. By stepping > through the code, I found in this context, the local utility no longer > exists. So at some point in the install reinstall process it is > unregistered

Re: [Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Nathan Van Gheem
With the old style products you could create afterInstall and beforeUnistall scripts that were called on the product when proper. Is there a way to do this with the new style zope eggs. Maybe somewhere in zcml? Thanks, Nathan On Mon, Jun 16, 2008 at 12:31 PM, Balazs Ree <[EMAIL PROTECTED]> wrot

Re: [Zope-CMF] Packaging for Products.GenericSetup and others

2008-06-16 Thread Jens Vagelpohl
I have now implemented this policy for the trunk and current release branches of Products.GenericSetup, Products.PluginRegistry and Products.PluggableAuthService: - releases and information have their canonical location on PyPI Done: changed the "url" metadata in setup.py - the zope.org

[Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Hanno Schlichting
Hi. There's two issues here. One is with quick installer and one is with GenericSetup. This mailing list is not the right place to discuss issues with the first, please do that on the Plone developers mailing list. Nathan Van Gheem wrote: Martin Aspeli pointed out, I think the problem is in