[z3-five] weird ZEO cache error during five:registerPackage processing

Chris McDonough chrism at plope.com
Sat Mar 24 00:34:42 CET 2007


On Mar 23, 2007, at 7:26 PM, Rob Miller wrote:

> Chris McDonough wrote:
>> This seems to be isolated to packages which are not in the  
>> Products namespace.  Another person sent a similar bugreport to  
>> the Zope (or ZODB?) list.  The problem seems to be that the  
>> registerPackage handler (in fiveconfigure.py) attempts to commit a  
>> transaction in the midst of a finally clause, which smells a  
>> little weird.  If you comment the transaction.commit out in that  
>> directive, what happens?
>
> if i do that, then i get the same traceback as before, but every  
> time instead of just during the initial start.

I think it's broke, mon.  I think the utility of this directive might  
a little suspect to begin with (if you have a package that needs  
startup initialization, you could just put it in the Products  
namespace), but the only other thing I can think to try is to take  
all the exception handling out of this the  
fiveconfigure._registerPackage function and track down why it's  
barfing to start with.

Sorry Rob. :-(


More information about the z3-five mailing list