Re: [Zope-dev] Hunting down objects without classes...

2006-04-05 Thread Dieter Maurer
Chris Withers wrote at 2006-4-4 17:28 +0100:
I'm currently plagued by the following annoying:

ZODB Could not import class 'BTree' from module 'BTree'

What's the recommended way of tracking these down?

At this place, nothing is known (beside the information you see).

You can however log the traceback as well.
With some luck (and, if necessary, __traceback_info__ additions),
this will allow you to locate the problem.

-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] Hunting down objects without classes...

2006-04-04 Thread Chris Withers

Hi All,

I'm currently plagued by the following annoying:

ZODB Could not import class 'BTree' from module 'BTree'

What's the recommended way of tracking these down?
Is there anything we can do to make the logged message give more info 
about where the object is?


I eventually stab-in-the-dark'ed it on this one and found the offending 
object in the root dictionary of a storage I was mounting some stuff from...


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )