<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">&gt; I&#39;m afraid this doesn&#39;t seem to help me figure out what&#39;s wrong...<br>

<br>
</div></div>I suspect your database is corrupted.  You&#39;d probably want to look at<br>
the record in question to be sure.<br></blockquote><div><br></div><div>Sure, I&#39;ve re-run the pack and will dump the pickled object to a file to inspect it - is that what you meant? (How else would I figure out what the record is?)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You could disable garbage collection, but if you have a damaged<br>
record, you might want to use the previous version of the record<br>
(if it exists) to recover it.<br></blockquote><div><br></div><div>What do you mean by disable garbage collection - you mean disable removing old versions of records that are no longer used? I can&#39;t do that unfortunately, the database gets too large. </div>
<div><br></div><div>How would I go about attempting to find the previous version of the record? If I know what the record is I can just decide whether to let it be lost - would catching the TypeError and &#39;pass&#39;ing accomplish that?</div>
<div><br></div><div>Thanks,</div><div>- Claudiu</div></div>