Post
Topic
Board Altcoin Discussion
Re: [Bounty: 100 YAC] Corrupted YAC Wallet
by
Mushoz
on 08/12/2013, 12:56:45 UTC
Pywallet works fine on a new wallet, but fails on the corrupted wallet. I'm getting the following error:

Traceback (most recent call last):
  File "C:\Users\Jaap\Desktop\pywallet.py", line 2059, in parse_wallet
    d['txIn'].append(parse_TxIn(vds))
  File "C:\Users\Jaap\Desktop\pywallet.py", line 2028, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "C:\Users\Jaap\Desktop\pywallet.py", line 1942, in read_uint32
    def read_uint32(self): return self._read_num('  File "C:\Users\Jaap\Desktop\pywallet.py", line 1981, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

I get the same error on mine as well but client runs fine.

I probably have an ancient version of the client... havent update or launched it in months, just opened today and has a huge blockchain backlog so closed it.

This is on linux btw

Yeah, this wallet is quite old, so it was made with an old version
try running it on an old build... and then make a tx to a fresh address on the new wallet... If you know how to build on windows try checking out upto a very early commit. probably mid may, or earlier... or use linux.

I can give it a go on my old client if u send me the wallet and passphrase... but then i wouldnt trust me if i were you.

Still had an old version on my of my mining PCs, but it's crashing with the same error as the one in my first post Sad