On Wed, Aug 04, 2004 at 11:42:33PM +0200, Dieter Maurer wrote:
> Gerhard Schmidt wrote at 2004-8-3 09:34 +0200:
> > ...
> >  Module Products.Sessions.SessionDataManager, line 94, in getSessionData
> >  Module Products.Sessions.SessionDataManager, line 183, in _getSessionDataObject
> >SystemError: error return without exception set
> 
> I had an issue in the same line:
> 
>   it called an incredibly expensive "__len__" function.
> 
> Maybe, in your case, it calls some broken "__len__" function...
> 
> I replaced the line by:
> 
>         # hasattr hides conflicts
>         # DM 2004-07-09: and boolean tests may be very expensive!
>         if getattr(ob, '__of__', None) is not None and getattr(ob, 'aq_parent', 
> None) is not None:
> 
> See whether this helps you...

It seems that it does the Trick. :-)) No systemerror since i`ve done
the change. 

Thanx a Lot 

Bye
    Estartu 

-------------------------------------------------
Gerhard Schmidt       | E-Mail: [EMAIL PROTECTED]
TU-München            |
WWW & Online Services |
Tel: 089/289-25270    |
Fax: 089/289-22253    | PGP-Publickey auf Anfrage 

Attachment: pgpXsyRE70MDX.pgp
Description: PGP signature

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to