btcposbal2csv icon indicating copy to clipboard operation
btcposbal2csv copied to clipboard

plyvel._plyvel.IOError: IO error: Invalid argument

Open jordynlaubscher opened this issue 4 years ago • 2 comments

I am receiving the below error, please could you assist.

(envname) jordyn@DESKTOP-R6AIPP6:~/btcposbal2csv$ python btcposbal2csv.py /mnt/b/.Bitcoin/chainstate /home/jordyn/addresses_with_balance.csv 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 "/home/jordyn/btcposbal2csv/utils.py", line 314, 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/b/.Bitcoin/chainstate: Invalid argument

jordynlaubscher avatar Feb 17 '21 07:02 jordynlaubscher

Please provide more context, namely the version of the python and the libraries used (plyvel, hashlib..)

graymauser avatar Feb 20 '21 06:02 graymauser

Looks like he seems to be using Windows Subsystem for Linux, that file system might not be compatible

I tried it myself using WSL and ran into the same problem. But a normal linux machine worked fine.

a4r7gc4ttfwsqcey avatar Nov 07 '21 19:11 a4r7gc4ttfwsqcey