graymauser / btcposbal2csv

List all bitcoin addresses with positive balance.
BSD 3-Clause "New" or "Revised" License
269 stars 201 forks source link

Getting Invalid argument error. #32

Open mrbrownstone07 opened 2 years ago

mrbrownstone07 commented 2 years ago

Capture

I have chainstate data on my windows machine, I am trying to run the script from WSL. But I am getting the following error.

reading chainstate database inmem Traceback (most recent call last): File "btcposbal2csv.py", line 201, in for address, sat_val, block_height in add_iter: File "btcposbal2csv.py", line 101, in in_mem types=get_types(in_args)): File "/mnt/e/Finrocks/btc/btcposbal2csv/utils.py", line 323, in parse_ldb db = plyvel.DB(fin_name, compression=None) # Change with path to chainstate File "plyvel/_plyvel.pyx", line 247, in plyvel._plyvel.DB.init File "plyvel/_plyvel.pyx", line 88, in plyvel._plyvel.raise_for_status plyvel._plyvel.IOError: IO error: /mnt/f/Bitcoin/chainstate/: Invalid argument

graymauser commented 2 years ago

Thank you for the issue, I'll look into it (I usually run the script in WSL so that should not be the problem).

Please check the following: