Re: [Zope] more __len__ errors

2000-10-28 Thread Bak @ kedai


-Original Message-
From: Scott Burton <[EMAIL PROTECTED]>
To: Zope List <[EMAIL PROTECTED]>
Date: Sunday, October 29, 2000 3:28 AM
Subject: Re: [Zope] more __len__ errors


>I will see what I can do about the before and after snapshots. Then again,
I
>should probably just make the move to 2.2. Is there a way to use the same
>objects created by ZDiscussions in my ZClass version of ZD as long as the
>meta_types are the same? That way the change-over could be
>transparent.(hopefully)

i had a ZClass that subclass ZDiscussion, and got it working with zope2.2.2
by adding a comma (,) at the end of permission in ZDBase/ZDiscussion.py
maybe you could give it a shot.  this was mentioned a while back in the
list.

hth


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] more __len__ errors

2000-10-28 Thread Chris McDonough

It's likely that moving to 2.2 may be a less-than-transparent prospect,
mostly due to the security changes.   But unfortunately, if this catalog
thing is a showstopper for you, you'll probably need to bite the bullet
and upgrade at some point.  

In any case, even without an upgrade, if you are willing and able to
send us your file storage, your installed Products directory, and any
external methods you've got lying around, with a proven way of
recreating a catalog-related error symptom, we'd be probably able to
make use of it on our quest to fix boundary conditions on the catalog.

Scott Burton wrote:
> 
> I will see what I can do about the before and after snapshots. Then again, I
> should probably just make the move to 2.2. Is there a way to use the same
> objects created by ZDiscussions in my ZClass version of ZD as long as the
> meta_types are the same? That way the change-over could be
> transparent.(hopefully)
> 
> > From: Chris McDonough <[EMAIL PROTECTED]>
> > Date: Sat, 28 Oct 2000 14:34:53 -0400
> > To: Scott Burton <[EMAIL PROTECTED]>
> > Cc: Zope List <[EMAIL PROTECTED]>
> > Subject: Re: [Zope] more __len__ errors
> >
> > 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 <[EMAIL PROTECTED]>
> >>> Date: Sat, 28 Oct 2000 08:34:46 -0400
> >>> To: Scott Burton <[EMAIL PROTECTED]>
> >>> Cc: Zope List <[EMAIL PROTECTED]>
> >>> 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  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  -  [EMAIL PROTECTED]
> >>>> 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  -  [EMAIL PROTECTED]
> >>> http://lists.zope.org/mailman/listinfo/zope
> >>> **   No cross posts or HTML encoding!  **
> >>> (Rela

Re: [Zope] more __len__ errors

2000-10-28 Thread Scott Burton

I will see what I can do about the before and after snapshots. Then again, I
should probably just make the move to 2.2. Is there a way to use the same
objects created by ZDiscussions in my ZClass version of ZD as long as the
meta_types are the same? That way the change-over could be
transparent.(hopefully)

> From: Chris McDonough <[EMAIL PROTECTED]>
> Date: Sat, 28 Oct 2000 14:34:53 -0400
> To: Scott Burton <[EMAIL PROTECTED]>
> Cc: Zope List <[EMAIL PROTECTED]>
> Subject: Re: [Zope] more __len__ errors
> 
> 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 <[EMAIL PROTECTED]>
>>> Date: Sat, 28 Oct 2000 08:34:46 -0400
>>> To: Scott Burton <[EMAIL PROTECTED]>
>>> Cc: Zope List <[EMAIL PROTECTED]>
>>> 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  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  -  [EMAIL PROTECTED]
>>>> 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  -  [EMAIL PROTECTED]
>>> 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  -  [EMAIL PROTECTED]
>> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] more __len__ errors

2000-10-28 Thread Scott Burton

One of the reasons I haven't moved to 2.2 yet is because of the extensive
use of ZDiscussions on my server. I have successfully moved all other
products over into a separate install, waiting to be turned on. All but
ZDiscussions. I have been trying to create a ZClass-based replica of it
similar methods etc. .
I also run another Zope server with 2.2 on it and have had over 1,500
Catalog-aware objects in the catalog with no problems. So I figured it was
2.1.6

Scott



> From: Chris McDonough <[EMAIL PROTECTED]>
> Date: Sat, 28 Oct 2000 14:34:53 -0400
> To: Scott Burton <[EMAIL PROTECTED]>
> Cc: Zope List <[EMAIL PROTECTED]>
> Subject: Re: [Zope] more __len__ errors
> 
> 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 <[EMAIL PROTECTED]>
>>> Date: Sat, 28 Oct 2000 08:34:46 -0400
>>> To: Scott Burton <[EMAIL PROTECTED]>
>>> Cc: Zope List <[EMAIL PROTECTED]>
>>> 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  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  -  [EMAIL PROTECTED]
>>>> 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  -  [EMAIL PROTECTED]
>>> 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  -  [EMAIL PROTECTED]
>> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] more __len__ errors

2000-10-28 Thread Chris McDonough

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 <[EMAIL PROTECTED]>
> > Date: Sat, 28 Oct 2000 08:34:46 -0400
> > To: Scott Burton <[EMAIL PROTECTED]>
> > Cc: Zope List <[EMAIL PROTECTED]>
> > 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  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  -  [EMAIL PROTECTED]
> >> 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  -  [EMAIL PROTECTED]
> > 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  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] more __len__ errors

2000-10-28 Thread Scott Burton

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 <[EMAIL PROTECTED]>
> Date: Sat, 28 Oct 2000 08:34:46 -0400
> To: Scott Burton <[EMAIL PROTECTED]>
> Cc: Zope List <[EMAIL PROTECTED]>
> 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  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  -  [EMAIL PROTECTED]
>> 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  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] more __len__ errors

2000-10-28 Thread Chris McDonough

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  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  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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] more __len__ errors

2000-10-28 Thread Scott Burton

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  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  -  [EMAIL PROTECTED]
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 )