Title: Pywallet Error Post by: TimurNikolaevRus on April 14, 2018, 03:42:49 PM Hi everyone.
I have an problem with pywallet.py I found my lost wallet from old harddrive. I download it with FarManager. Then i replace wallet.dat from BtcQR folder to my wallet and BtcQR write 0.00 BTC. Then i run btcqr with --rescan and --salvagewallet (salvage*, i don't remember right). and have no success. And now i run pywallet.py on openSUSE via VirtualBox. and when i run 'python pywallet.py --dumpwallet --datadir/mydatafolder' he write this: Traceback (most recent call last): File "pywallet.py", line 2111, in parse_wallet d.update(parse_BlockLocator(vds)) TypeError: 'NoneType' object is not iterable ERROR parsing wallet.dat, type bestblock key data: bestblock key data in hex: 0962657374626c6f636b value data in hex: 0071020000 So. I have a question: what i'm doing wrong? What i have to do now? Title: Re: Pywallet Error Post by: HCP on April 15, 2018, 03:52:05 AM How "old" is that wallet file? As in, what version of Bitcoin Core was it created with?
PyWallet has not been updated for several years... and the wallet.dat file format has had extra data records added to it over time as the Bitcoin Core software has been upgraded. As such, PyWallet will throw a lot of errors when you attempt to dump newer wallet files as it finds objects/fields that it does not know how to handle. :-\ |