btcposbal2csv icon indicating copy to clipboard operation
btcposbal2csv copied to clipboard

Getting Invalid argument error.

Open mrbrownstone07 opened this issue 3 years ago • 1 comments

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

mrbrownstone07 avatar May 09 '22 13:05 mrbrownstone07

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:

  • you have stopped the bitcoin core before running this script
  • you are using python 2.7

graymauser avatar Jun 12 '22 06:06 graymauser