Bitcoin Forum
April 30, 2024, 10:55:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Pywallet Error  (Read 144 times)
TimurNikolaevRus (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 14, 2018, 03:42:49 PM
 #1

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?
1714474544
Hero Member
*
Offline Offline

Posts: 1714474544

View Profile Personal Message (Offline)

Ignore
1714474544
Reply with quote  #2

1714474544
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714474544
Hero Member
*
Offline Offline

Posts: 1714474544

View Profile Personal Message (Offline)

Ignore
1714474544
Reply with quote  #2

1714474544
Report to moderator
1714474544
Hero Member
*
Offline Offline

Posts: 1714474544

View Profile Personal Message (Offline)

Ignore
1714474544
Reply with quote  #2

1714474544
Report to moderator
1714474544
Hero Member
*
Offline Offline

Posts: 1714474544

View Profile Personal Message (Offline)

Ignore
1714474544
Reply with quote  #2

1714474544
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 15, 2018, 03:52:05 AM
 #2

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. Undecided

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!