[Zope] How to find a lost database adapter connection method
J Cameron Cooper
jccooper at jcameroncooper.com
Tue Oct 14 11:57:33 EDT 2003
> 2003-10-14T10:11:36 PROBLEM(100) ZODB Could not import class
> 'Connection' from module 'Products.ZODBCDA.DA'
>
> This shows up in our eventlog.log off and on throughout the day on
> both our Zope clients connected to a ZEO server. We used to use
> ZODBCDA but stopped a LONG time ago. We think there may be an errant
> method hanging around with a bogus database connection in it. Is there
> a way to magically search for the text in the connection string of a
> ZSQL method??
Either write a treewalker (read: recursive) script that checks that
attribute or try the ZCatalog. Can probably catalog ZSQL methods and
check the attributes through that.
--jcc
More information about the Zope
mailing list