[Zope] Installing Products with Errors in Zope 2.7.4

Dieter Maurer dieter at handshake.de
Tue Mar 8 13:57:47 EST 2005


Bert Vanderbauwhede wrote at 2005-3-8 14:08 +0100:
> ...
>Whenever I install
>a product with errors Zope crashes (ie. zoperun throws an exception, shows a 
>traceback and stops, zopectl tries to restart Zope every few seconds).
>Zope 2.6.4
>would start as usual, and show an error message in the Products screen.
>
>Is this the normal behaviour in 2.7.4? If so, why?

I, too, would like to know that...
In my view it is completely stupid!
Especially, combined with the stupid logging behaviour
during startup that causes error reports during this phase
to be lost!

It comes from "OFS.Application.install_products".
In our version of Zope, I disabled this "feature":

        install_product(app, product_dir, product_name, meta_types,
                        folder_permissions,
                        # DM: don't!
                        # we may want to be stricter in production mode
                        # raise_exc=debug_mode,
                        )

The comments above get rid of it.

-- 
Dieter


More information about the Zope mailing list