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

Error db.DBInvalidArgError unexpected file type or format #28

Open
iamvinny opened this issue Aug 16, 2024 · 0 comments
Open

Error db.DBInvalidArgError unexpected file type or format #28

iamvinny opened this issue Aug 16, 2024 · 0 comments

Comments

@iamvinny
Copy link

I'm trying to run the script but I keep getting the following error

➜  walletool git:(master) ✗ python3 wt_extract_keys.py -d "wallet_files/wallet.dat" -v 0
Traceback (most recent call last):
  File "/Users/vinny/Downloads/walletool/wt_extract_keys.py", line 31, in <module>
    main()
  File "/Users/vinny/Downloads/walletool/wt_extract_keys.py", line 19, in main
    w_data = read_wallet_dat(args.filename)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/vinny/Downloads/walletool/walletool/wallet_files.py", line 16, in read_wallet_dat
    d.open(filename, 'main', db.DB_BTREE, db.DB_THREAD | db.DB_RDONLY)
bsddb3.db.DBInvalidArgError: (22, 'Invalid argument -- __db_meta_setup: /Users/vinny/Downloads/walletool/wallet_files/wallet.dat: unexpected file type or format')
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

1 participant