ZODB Cruft, how to clear? Catalog problems too.
Over time I've tried products, removed them, upgraded Zope many times, etc. I always use the same Data.fs. Now it seems I have some cruft in the database and no easy way to clean it up. On minor problem I see on startup is: PROBLEM(100) ZODB Could not import class 'PSQLInputWizard' from module 'Products.PSQLInput.Wizard' I can't find any of these objects because I must have (stupidly) deleted the product before deleting all instances of it. However I've looked in every folder and I can't find any broken instances, so I have no idea where this item is hiding. How do I remove it from ZODB? -- More serious, after upgrading to Zope 2.5 Beta 2 (I'm not at Beta 3), I started getting this: 2002-01-04T17:01:35 ERROR(200) Catalog catalogObject was passed bad index object <UnTextIndex instance at 8a6d6f0>. ------ 2002-01-04T17:01:35 ERROR(200) Catalog catalogObject was passed bad index object <UnKeywordIndex instance at 8a561d8>. ------ 2002-01-04T17:01:35 ERROR(200) Catalog catalogObject was passed bad index object <UnKeywordIndex instance at 8a16cd8>. ------ 2002-01-04T17:01:35 ERROR(200) Catalog catalogObject was passed bad index object <UnTextIndex instance at 8a6d6f0>. (lots snipped) But find doesn't locate any Catalog objects in my tree and I'm not currently using the catalog. How do I solve this problem? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
However I've looked in every folder and I can't find any broken instances, so I have no idea where this item is hiding. How do I remove it from ZODB?
This is a problem that has no easy solution. I usually end up writing a script that manually traverses the ZODB and pins it down. It's always a real pain in the ass. One of the problems here is that the piece of code that shows the error gives you no clue as to what object is failing to be imported. If you could get the objectid, it would be easier; but still a pain in the ass. Sorry I don't have better news.
More serious, after upgrading to Zope 2.5 Beta 2 (I'm not at Beta 3), I started getting this:
2002-01-04T17:01:35 ERROR(200) Catalog catalogObject was passed bad index object <UnTextIndex instance at 8a6d6f0>.
This is probably due to the help system (which I affectionately call the "hurt system" at times like this). You should try to upgrade to 2.3 beta 3 and see if the problem disappears. - C
On 4 Jan 2002 at 12:47, Chris McDonough wrote:
More serious, after upgrading to Zope 2.5 Beta 2 (I'm not at Beta 3), I
Sorry, typo, I meant to say: "I'm NOW at beta 3."
"hurt system" at times like this). You should try to upgrade to 2.3 beta 3 and see if the problem disappears.
It didn't Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
Hmm.. I'm not sure what is causing this error. On its face it looks nonsensical. I can only assume it's because the Catalog has gone through so many changes that there is some upgrade path that doesn't quite work. If you're comfortable sending me the Data.fs, I can look at it next week... this would be a good bug to get fixed. - C ----- Original Message ----- From: "Brad Clements" <bkc@murkworks.com> To: "Chris McDonough" <chrism@zope.com> Cc: <zope@zope.org> Sent: Friday, January 04, 2002 12:50 PM Subject: Re: [Zope] ZODB Cruft, how to clear? Catalog problems too.
On 4 Jan 2002 at 12:47, Chris McDonough wrote:
More serious, after upgrading to Zope 2.5 Beta 2 (I'm not at Beta 3), I
Sorry, typo, I meant to say:
"I'm NOW at beta 3."
"hurt system" at times like this). You should try to upgrade to 2.3 beta 3 and see if the problem disappears.
It didn't
Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Brad Clements -
Chris McDonough