<DIV>trying to build Quotient-0.7.0 with Twisted-4.1.6 on OpenBSD with Berkeley DB (bsddb3-).</DIV>
<DIV>made change to atop/store.py to use bsddb3:</DIV>
<DIV>from bsddb3.db import *</DIV>
<DIV>&nbsp;</DIV>
<DIV>i get this error:</DIV>
<DIV>...</DIV>
<DIV>&nbsp;&nbsp;&nbsp; obj = self._loadItemByPath(ctxstore, *path)<BR>&nbsp; File "/usr/local/lib/python2.3/site-packages/atop/store.py", line 386, in _loadItemByPath<BR>&nbsp;&nbsp;&nbsp; raise KeyError(path)<BR>KeyError: (0, 0)<BR></DIV>
<DIV>this is the code at that point:</DIV>
<DIV>def _loadItemByPath(self, ctxstore, *path):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; """<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Retrieve an item given a sequence of integers.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; """<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stringKey = self._formatIDPath(path)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "str=%s"%stringKey;&nbsp;&nbsp; #debugging...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stringValue = self.db.get(stringKey, txn=context.get('txn'))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if stringValue is None:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise KeyError(path)</DIV>
<DIV>&nbsp;&nbsp; ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>so stringValue is 'None'.</DIV>
<DIV>stringKey is shown by the print to be: id00000000000000000000</DIV>
<DIV>&nbsp;</DIV>
<DIV>any hints &lt;where to look&gt;/&lt;what to try&gt;?</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/">Free Pop-Up Blocker - Get it now</a>