[ZODB-Dev] fstail.py error

Martijn Faassen faassen at infrae.com
Wed Feb 25 10:34:37 EST 2004


Hi there,

I've just did a checkout of the ZODB module to try the ZODB 3.3 CVS 
HEAD. I'm trying to use the 'fstail.py' tool, but run into the following 
error:

Traceback (most recent call last):
  File "/usr/bin/fstail.py", line 48, in ?
    main(path, ntxn)
  File "/usr/bin/fstail.py", line 27, in main
    th = prev_txn(f)
  File "/usr/lib/python2.3/site-packages/ZODB/fstools.py", line 152, in 
prev_txn    return TxnHeader(f, f.tell() - tlen)
  File "/usr/lib/python2.3/site-packages/ZODB/fstools.py", line 45, in 
__init__
    self._read_header()
  File "/usr/lib/python2.3/site-packages/ZODB/fstools.py", line 52, in 
_read_header
    self.length = u64(length)
  File "/usr/lib/python2.3/site-packages/ZODB/utils.py", line 36, in u64
    return unpack(">Q", v)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not long

Anyone know what could be going on?

Regards,

Martijn




More information about the ZODB-Dev mailing list