[Zope-dev] ZSQL/ZODB corruption after upgrade

Dan L. Pierson dan@control.com
Sun, 09 Feb 2003 16:20:16 -0500


Thanks for giving me a push in the right direction.  I already knew from 
the message that it
was the CComMember zclass.  The problem was that I had deleted all 
instances of that zclass
when I deleted the LoginManager based acl_users.  I then deleted the zclass 
from the Products
folder of the Control Panel.

Turns out that it was *still* in the product registry!  I had to use a 
debug session, manually
build a new registry tuple and use app._setProductRegistryData() to get rid 
of it.  Everything
seems fine now.

--On Saturday, February 08, 2003 01:18:50 PM +0100 Dieter Maurer 
<dieter@handshake.de> wrote:

> Dan L. Pierson wrote at 2003-2-7 13:03 -0500:
>  > ...
>  > If I open a ZSQL method (any ZSQL method, new or old, inside the
>  > area that used to be controlled by LoginManager or not) it seems
>  > OK.  Using the method works.  But if I click on the Advanced tab
>  > in the ZMI, I get the following:
>  > ...
>  >     (Object: manage_advancedForm)
>  >   File
> /var/local/control/V4/site/zope/lib/python/Shared/DC/ZRDB/DA.py, line
> 548, in manage_product_zclass_info
>
> One of your ZClasses is broken...
>
> Catch the exception in line 548 of "Shared/DC/ZRDB/DA.py"
> and find out which one. Do something about it...
>
>
> Dieter