Re: [Zope] Zope 2.7.2 with Ape 1.0 installed in root, fails to restart, without any usefull logging, after adding a local role
I also get this error a lot when trying to add an object through the ZMI in an Apeified folder: * Module ZPublisher.Publish, line 92, in publish * Module ZPublisher.BaseRequest, line 302, in traverse * Module App.FactoryDispatcher, line 29, in __bobo_traverse__ * Module App.Product, line 67, in _product AttributeError: OFSP Sometimes I can clear it out by trying to add a different type of object. Is that likely just a 2.7 Ape issue, as well? Thanks, Tim Shane Hathaway wrote:
Tim Connor wrote:
Thanks, Shane. That fixes the problem of Zope not starting, and better than the other syntax I tried, but it still doesn't fix the core problem. My root Ape installs have issues with adding a local role, as then the default roles get axed. If you add this fix then Zope re-adds Owner (and Authenticated, as you need to duplicate the fix a couple lines lower) during the start-up, but not Manager - and they are not really added, but sort of hacked in by the start-up code. Shouldn't Ape be somehow dealing with this exact situation anyways, or is there just something wrong with my installs?
I'll look at it. Ape hasn't been tested with the most recent versions of Zope 2.7.
Shane
Tim Connor wrote at 2005-6-5 18:56 -0600:
I also get this error a lot when trying to add an object through the ZMI in an Apeified folder:
* Module ZPublisher.Publish, line 92, in publish * Module ZPublisher.BaseRequest, line 302, in traverse * Module App.FactoryDispatcher, line 29, in __bobo_traverse__ * Module App.Product, line 67, in _product
AttributeError: OFSP
A colleague recently got this error because he had "enable-product-installation off" active in his configuration file. -- Dieter
Thanks, for the hint, Dieter. Unfortunately, I believe this doesn't apply in our case, as we have that set to the default (on). Tim Dieter Maurer wrote:
Tim Connor wrote at 2005-6-5 18:56 -0600:
I also get this error a lot when trying to add an object through the ZMI in an Apeified folder:
* Module ZPublisher.Publish, line 92, in publish * Module ZPublisher.BaseRequest, line 302, in traverse * Module App.FactoryDispatcher, line 29, in __bobo_traverse__ * Module App.Product, line 67, in _product
AttributeError: OFSP
A colleague recently got this error because he had "enable-product-installation off" active in his configuration file.
participants (2)
-
Dieter Maurer -
Tim Connor