On 1/14/11 10:02 AM, Gil Forcada wrote:
Hi,

I'm maintaining a website which once used
Products.{Ploneboard,PloneGlossary,PloneFormGen} but currently we are no
longer using them and thus I would like to remove them from the buildout.

I tried all kind of ways without a solution so I'm hoping someone on
this list can help me.

So my steps were:
1 - on portal_quickinstaller from ZMI uninstall the mentioned packages
2 - remove them from the buildout and run it again
3 - after starting zope again it complains about stale products, no
worries ZMI -> Control Panel -> Products and remove the offending entry
4 - as a bouns you can also remove the translations on ZMI -> Control
Panel -> TranslationService

So yes, It's removed and everything seems bright under the sun, but then
if you try to (re)install a product which has a toolset GS step it
fails. If you have done all the steps mentioned above it somehow still
tries to reinstall the tools which were installed as part of the
products you just removed.

I even looked all products' toolset.xml file to manually remove (from
ZMI before step 2) the tools on the site but without luck.

Any tip on how to remove those products?


Plone also keeps a registry of local utilities registered with
product installation. To see whether there are offending left
overs go to your Plone site's ZMI and select the 'Components'
tab. Read through this (yes it is tedious) and look for registrations
related to those uninstalled products. If you find some, remove them.

Does that make a difference?

As to the general question about uninstalling: Uninstall is a
*MUCH* harder task than install and the Zope/CMF/GS stack Plone
is build upon never addressed the issue. The CMF community even
explicitly decided against tackling this as it's considered
hardly possible and therefore a waste of time. The problem results
from mutual dependencies and customizations which are hard to
detect reliably.

That's not saying that GS/quickinstaller has to die if there are
registrations from products around that are no longer used.
A warning should suffice. Feel free to file an issue with GS
in case there isn't one for this already.

Just my 2 cents,

        Raphael


Is there any place where one can manually remove the toolsets and thus
preventing that a product (re)install will not search for already
removed ones?

Cheers,

--

*Gil Forcada**
*C/Llacuna, 166 2n.2a (Edifici Llacuna)
telf: 93.188.88.12 - 619.65.34.92
fax: 93.320.93.97
(08018) BARCELONA
[email protected] <mailto:[email protected]>
www.usecm.com <http://www.usecm.com/>



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to