Menu

#274 Reinstall of products fails if not using $INSTANCE/Products

open
5
2004-06-24
2004-06-24
Nate Aune
No

Zope 2.7.1, Plone 2.0.3, CMFQuickInstaller 1.5.0

I have defined two additional product dirs in the
etc/zope.conf file:

products $INSTANCE/p4a-Products
products $INSTANCE/demo-Products

When I try to reinstall CMFNewsletter, CMFBoard,
PlonePayPal, or any other product which is in one of
these directories, I get the following error message.

When I move the product into the $INSTANCE/Products
directory, and restart Zope, then I can use the
QuickInstaller to reinstall the product.

The QuickInstaller should be able to detect additional
Product directories and run the Extensions/Install.py
from those dirs.

Traceback (innermost last):

* Module ZPublisher.Publish, line 180, in
publish_module_standard
* Module
Products.PlacelessTranslationService.PatchStringIO,
line 51, in new_publish
* Module ZPublisher.Publish, line 131, in publish
* Module Zope.App.startup, line 204, in
zpublisher_exception_hook
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module
Products.CMFQuickInstallerTool.QuickInstallerTool, line
407, in reinstallProducts
* Module
Products.CMFQuickInstallerTool.QuickInstallerTool, line
392, in uninstallProducts
* Module
Products.CMFQuickInstallerTool.InstalledProduct, line
252, in uninstall
* Module Products.CMFQuickInstallerTool.installer,
line 128, in uninstall_from_xml
* Module Products.CMFQuickInstallerTool.installer,
line 38, in uninstall_actions
* Module Products.CMFQuickInstallerTool.parser,
line 39, in parse

OSError: [Errno 2] No such file or directory:
'/var/zope/p4a/Products/CMFNewsletter/Extensions'
(Also, an error occurred while attempting to render the
standard error message.)

Discussion

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.