Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plyvel._plyvel.IOError: IO error: Invalid argument #14

Open
jordynlaubscher opened this issue Feb 17, 2021 · 2 comments
Open

plyvel._plyvel.IOError: IO error: Invalid argument #14

jordynlaubscher opened this issue Feb 17, 2021 · 2 comments

Comments

@jordynlaubscher
Copy link

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

@graymauser
Copy link
Owner

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

@a4r7gc4ttfwsqcey
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants