[ZODB-Dev] More Info, Still Stuck :-(

Chris Withers chrisw@nipltd.com
Fri, 19 Oct 2001 15:33:17 +0100


Chris Withers wrote:
> 
> copyTransactionsFrom
>     s=self.store(oid, pre, r.data, r.version, transaction)
>   File "/var/local/zope/storage/lib/python/bsddb3Storage/Full.py", line 573, in
> store
>   File "/usr/local/zope/2.4.0_base/lib/python/ZODB/utils.py", line 109, in U64
>     h, v = unpack(">II", v)
> TypeError: unpack() argument 2 must be string or read-only buffer, not None

Well, a bit of unmasking (wrapping the raise in a try...except that replaced
utils.U64(serial) with just serial means the following exception is now yielded:

Traceback (most recent call last):
  File "fs2bdbs.py", line 25, in ?
    dst.copyTransactionsFrom(src)
  File "/usr/local/zope/2.4.0_base/lib/python/ZODB/BaseStorage.py", line 293, in
copyTransactionsFrom
    s=self.store(oid, pre, r.data, r.version, transaction)
  File "/var/local/zope/production/lib/python/bsddb3Storage/Full.py", line 578,
in store
    raise POSException.ConflictError(
ZODB.POSException.ConflictError: serial number mismatch (was: @ڝn  has: None)

Now, None as a transaction serial number to me seems very wrong. Does anyone
have any idea what could have caused this and how I can correct it?

cheers,

Chris