Posts tagged 'products'

Plone: Issues with products

Oh dear. Products in Plone that don’t care to uninstall themselves at all when removed. One such product that comes to mind is ZipFileTransport.

I could go into depth all day about its failure to uninstall, but in specific, it’s this line of code in its setupHandlers.py file that kills me:

sm.registerUtility(ZipFileTransportUtility('zipfiletransport'), IZipFileTransportUtility)

Now, where’s the unregisterUtility called? Nowhere, unfortunately. So when one tries to go and install/uninstall/reinstall/do certain things on the site, you get a nasty failure message about trying to unpickle a python object:

2009-04-23 10:19:19 …

Plone: Buildout Won’t Install Products.OpenXml

UPDATE: Installation of Products.OpenXml appears to work happily with buildout when I’m using z3c.recipe.staticlxml to build lxml separately from having to easy_install or install system-wide packages.

So it’s almost Christmas time and I’m still slaving away working. It’s all about commitment.

Today in my life I’ve been trying to install the OpenXml product for Plone (using buildout, of course):

david@computer:~/buildout/instance$ ./bin/buildout
Uninstalling zopepy.
Uninstalling instance.
Updating plone.
Updating zope2.
Updating productdistros.
Installing instance.
Getting distribution for 'Products.OpenXml'.
Got Products.OpenXml 1.0.1.
Getting distribution for 'openxmllib' …