Debugging PosKey Errors in ZODB

Posted on December 16, 2011
Tags: , ,
I ran into a KeyError while packing a ZODB database in production. It lead me to a PosKey error while loading objects which did not exist anymore. For those of you in a similar situation here is what I found very helpful: Packages I’ve found useful:
  • ZODB3 and it’s provided scripts (fsrefs, fsoids)
  • zc.zodbdgc
  • eye - a ZODB browser

Happy debugging!