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

Getting Invalid argument error. #32

Open
mrbrownstone07 opened this issue May 9, 2022 · 1 comment
Open

Getting Invalid argument error. #32

mrbrownstone07 opened this issue May 9, 2022 · 1 comment

Comments

@mrbrownstone07
Copy link

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
Copy link
Owner

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

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

2 participants