Author

Topic: pywallet isn't dumping my wallet -- help! (Read 2061 times)

copper member
Activity: 115
Merit: 4
November 14, 2018, 10:21:03 PM
#9
Hello,

Installed pywallet on Mac OS 10.13.2 with all dependencies trying to dumpwallet through web interface getting same "error parsing wallet.dat" on my terminal window.

wallet has a password on it, is there anywhere on the web app I have to first enter the password to unlock the .dat before dumping?

Thank you

Hi, if you are still here and need to try and recover your wallet.dat, I would like to offer some help.

I've just had to do it for Bitcoin Core on my server Smiley

Message me if you would like a quick chat, and what your expectations are in terms of recovery time, and the information you have to help recover (guesses of passwords/phrases, list of passwords you have used in the past which you may have put on your wallet.dat).

I believe first you may need to run a fixup script before attempting to crack the wallet and recover the password.  If you're interested please get in touch.
legendary
Activity: 2730
Merit: 7065
February 16, 2019, 11:35:39 AM
#9
@bitcoindeposit
This is a thread from 2017, I would suggest you PM the user who posted that reply you are interested in as he might not see your question here. Copy the content of the post in your PM so he knows what you are talking about.
newbie
Activity: 11
Merit: 0
December 28, 2017, 01:24:21 AM
#8
Hello,

Installed pywallet on Mac OS 10.13.2 with all dependencies trying to dumpwallet through web interface getting same "error parsing wallet.dat" on my terminal window.

wallet has a password on it, is there anywhere on the web app I have to first enter the password to unlock the .dat before dumping?

Thank you
newbie
Activity: 38
Merit: 0
February 16, 2019, 07:39:29 AM
#8
Just started getting same error. all dependencies installed using pip (new install of windows 10 this time)

Python-2.7.11

Code:
line 2111, in parse_wallet
    d.update(parse_BlockLocator(vds))
TypeError: 'NoneType' object is not iterable
ERROR parsing wallet.dat, type bestblock

parse_BlockLocator function is

Code:
def parse_BlockLocator(vds):
d = { 'hashes' : [] }
nHashes = vds.read_compact_size()
for i in xrange(nHashes):
d['hashes'].append(vds.read_bytes(32))
return d

not great with python so any help with be appreciated.


I found the problem. Tongue

Please tell me how you solved this problem.
sr. member
Activity: 443
Merit: 251
August 06, 2017, 09:23:01 AM
#7
I think this might be something to do with new blocks in 0.12.x, Maybe pywallet needs updating or such.
This

I don't know the format of the new blocks, I'll try to find specs and potential fix but I can't promise it will happen soon

Any news on this topic?
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
I think this might be something to do with new blocks in 0.12.x, Maybe pywallet needs updating or such.
This

I don't know the format of the new blocks, I'll try to find specs and potential fix but I can't promise it will happen soon
full member
Activity: 267
Merit: 109
Just started getting same error. all dependencies installed using pip (new install of windows 10 this time)

Python-2.7.11

Code:
line 2111, in parse_wallet
    d.update(parse_BlockLocator(vds))
TypeError: 'NoneType' object is not iterable
ERROR parsing wallet.dat, type bestblock

parse_BlockLocator function is

Code:
def parse_BlockLocator(vds):
d = { 'hashes' : [] }
nHashes = vds.read_compact_size()
for i in xrange(nHashes):
d['hashes'].append(vds.read_bytes(32))
return d

not great with python so any help with be appreciated.


I found the problem. Tongue
hero member
Activity: 686
Merit: 502
I think this might be something to do with new blocks in 0.12.x, Maybe pywallet needs updating or such.

my old static folder BitcoinCore0.10 has not been updated since and that works fine.


hero member
Activity: 686
Merit: 502
Just started getting same error. all dependencies installed using pip (new install of windows 10 this time)

Python-2.7.11

Code:
line 2111, in parse_wallet
    d.update(parse_BlockLocator(vds))
TypeError: 'NoneType' object is not iterable
ERROR parsing wallet.dat, type bestblock

parse_BlockLocator function is

Code:
def parse_BlockLocator(vds):
d = { 'hashes' : [] }
nHashes = vds.read_compact_size()
for i in xrange(nHashes):
d['hashes'].append(vds.read_bytes(32))
return d

not great with python so any help with be appreciated.
legendary
Activity: 1204
Merit: 1001
Probem solved. Not sure what happened but I did the same thing on another mac machine and it worked fine!
legendary
Activity: 1204
Merit: 1001
I'm using pywallet (https://github.com/jackjack-jj/pywallet) to dump my wallet information but it doesn't seem to be working. Instead it returns the following error:

Code:
...
Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"176zFTbh9iFggxRxaJk92QcKRThaKPjPZi'}
Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"189CPLGCGfbKJV7EwYiRYrg5mzkgX5hqS2'}
Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"1MjPDB4BLfYUZL2dLKweKZ9FDfYAFoWHQ2'}
Wallet data not recognized: {'__type__': 'purpose', '__value__': '\x07receive', '__key__': '\x07purpose"1PyYNFoS68oPk5HX3D9RyDf5mBJfgX9ep6'}
Wallet data not recognized: {'__type__': 'destdata', '__value__': 'P\x01\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\xff{\x18U\x01\x00\x00\x00"176zFTbh9iFggxRxaJk92QcKRThaKPjPZi\rBitcoin Forum\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', '__key__': '\x08destdata"176zFTbh9iFggxRxaJk92QcKRThaKPjPZi\x03rr2'}
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: c0d4010000

I'm running OSX 10.11.4 (El Capitan) and followed the instructions to get pywallet running on my machine, but the script doesn't seem to be working.  Any advice?
Jump to: