[Zope] more __len__ errors

Chris McDonough chrism@digicool.com
Sat, 28 Oct 2000 14:34:53 -0400


Hmmm... Zope 2.1.6 has known catalog issues.  So does 2.2.X for that
matter, but at least some of them have been fixed (not to mention that
later versions of Zope log errors in cataloging and uncataloging
objects).  The Zope 2.1.X branch is not really being maintained.  You
should probably try to move to the latest release.

That said, it would be most helpful to have a full copy of the Zope
installation which exhibits the problem.  Even better (but probably less
possible) is to have a full copy of the Zope installation *right before*
the problem starts occurring and one *right after* the problem starts
occurring so we can look at the catalog data structures to see what
might be happening.  Platform is not thought to be an issue.  This would
be helpful even if it was a Zope 2.1.6 install.

Scott Burton wrote:
> 
> Sorry about that, I forgot to send the trace back along with the message. As
> my luck would have it, I go to the section that was giving me an error, now
> it has disappeared? It s now working again with no errors. I know it isn't
> just me, one of my clients is reporting the same error on their side from my
> server.
> Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that
> helps.
> 
> > From: Chris McDonough <chrism@digicool.com>
> > Date: Sat, 28 Oct 2000 08:34:46 -0400
> > To: Scott Burton <scott@launchpoint.net>
> > Cc: Zope List <zope@zope.org>
> > Subject: Re: [Zope] more __len__ errors
> >
> > Scott, we're struggling with some catalog issues right now... I didn't
> > see the traceback attached, but I assume it's a "len of unsized object"
> > error.  We'd be very interested in obtaining a setup where this problem
> > was repeatable.
> >
> > Scott Burton wrote:
> >>
> >> I am having a intermittent problem with ZCatalog(I think). I have a couple
> >> of products that are catalog-aware and have been working. Then, out of
> >> nowhere if I call <dtml-in "Catalog(meta_type='object')"> I get a __len__
> >> error, when a few minutes before it worked. I looked at the undo list to see
> >> if I have done anything to cause it but could not find anything. I delete
> >> the cataloged objects as well as the objects themselves and re-create them.
> >> Same problem. Here is the TB:
> >>
> >> _______________________________________________
> >> 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 )
> >
> > --
> > Chris McDonough
> > Digital Creations, Publishers of Zope
> > http://www.zope.org
> >
> > _______________________________________________
> > 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 )
> >
> >
> 
> _______________________________________________
> 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 )

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org