[Zope] How to find a lost database adapter connection method

Dieter Maurer dieter at handshake.de
Sun Oct 19 12:07:00 EDT 2003


Allen wrote at 2003-10-14 10:45 -0400:
 > Subject says it all! (well, sort of)
 > 
 > 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??

You can search your "Data.fs" file with a text editor.
Be warned: it is a binary file but contains many strings, you may be
interested in.

If your storage file is not too large, dumping the file with "fsdump"
may make your work easier.


Dieter



More information about the Zope mailing list